Skip to content

Instantly share code, notes, and snippets.

View parthitce's full-sized avatar

Parthiban parthitce

View GitHub Profile
==========
VULKANINFO
==========
Vulkan Instance Version: 1.3.275
Instance Extensions: count = 15
===============================
VK_EXT_debug_report : extension revision 10
U-Boot SPL 2024.10-ga3ba42f3d38e-dirty (Nov 13 2024 - 12:02:14 +0530)
DRAM:Testing ranks = 1, 32-bit bus
[*] offset = 3
[*] offset = 3
[*] offset = 9
[*] offset = 11
[*] offset = 25
[*] FINAL voffset = 26
ADDRMAP[0] = 0x00000013
ADDRMAP[1] = 0x001f0707
@parthitce
parthitce / 4GB.txt
Created November 13, 2024 05:16
uboot_4gb_testing
U-Boot SPL 2024.10-gc5581d2a836f (Nov 13 2024 - 10:44:25 +0530)
DRAM:Testing ranks = 1, 32-bit bus
[*] offset = 3
[*] offset = 3
[*] offset = 9
[*] offset = 11
[*] offset = 25
[*] FINAL voffset = 26
ADDRMAP[0] = 0x00000013
ADDRMAP[1] = 0x001f0707
@parthitce
parthitce / uboot_full_config.txt
Created November 5, 2024 06:35
A133 uboot_full_config
#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2024.10 Configuration
#
#
# Compiler: aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009
#
CONFIG_CREATE_ARCH_SYMLINK=y
CONFIG_SUPPORT_LITTLE_ENDIAN=y
#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2024.10 Configuration
#
#
# Compiler: aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009
#
CONFIG_CREATE_ARCH_SYMLINK=y
CONFIG_SUPPORT_LITTLE_ENDIAN=y
@parthitce
parthitce / dbus_bluez_star.tex
Created July 6, 2024 18:17
Bluez + DBUS in a star topology
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{tikzpicture}[
node distance=3cm and 3cm,
mynode/.style={circle, draw, text width=2.5cm, align=center, minimum height=2cm, fill=blue!20},
myarrow/.style={->, >=Stealth},
@parthitce
parthitce / dbus_bluez_simplified.uml
Created July 6, 2024 17:24
DBUS + BlueZ: Simple communication representation
@startuml
group Application and D-Bus Interaction
participant Application #LightBlue
participant "D-Bus" as DbusDaemon #LightYellow
participant "Bluez D-BUS Service" as BluezAdapter #LightGreen
end
Application -> DbusDaemon: D-Bus method call\n(org.freedesktop.DBus.Properties.Get)
activate Application
@parthitce
parthitce / dbus_bluez.uml
Last active June 24, 2024 17:18
DBUS + Bluez: Referesh
@startuml
actor User
group Application and D-Bus Interaction
participant Application #LightBlue
participant "D-Bus" as DbusDaemon #LightYellow
participant "Bluez D-BUS Service" as BluezAdapter #LightGreen
end
User -> Application: Initiate read/write\n"Powered" property
@parthitce
parthitce / CMakeLists.txt
Created October 14, 2020 14:15
nrf9160 modem blocking issue
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(nrf91-block)
target_sources(app PRIVATE src/main.c)
@parthitce
parthitce / mqtt_loop.c
Last active February 28, 2021 16:11
MQTT loopback sample
/*
* Linumiz <[email protected]>
* mqtt_loop: subscribe to topic and loopbacks the message to publish topic
*
* gcc -I./lib -L./lib -DMQTT_TLS -o ./mqtt_loop ./mqtt_loop.c -lmosquitto
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>