Skip to content

Instantly share code, notes, and snippets.

View dubistweltmeister05's full-sized avatar
💭
looking to work with embedded projects

Kshitij Neeraj Vaze dubistweltmeister05

💭
looking to work with embedded projects
View GitHub Profile

What is ARM and why is it split into A / R / M instead of “one CPU for everything”

ARM is a British company that designs and licenses Architecture for a wide range of CPUs. But before we take a closer look at them, let's understand the NEED for what it is based on - the RISC arch.

RISC architecture of computing is inherently designed to simplify the individual instructions given to the computer to accomplish tasks. The goal is to offset the need to process more instructions by increasing the speed of each instruction, in particular by implementing an instruction pipeline, which may be simpler to achieve given simpler instructions.

Compared to the Complex Instruction Set Computer (CISC), a RISC computer might require more machine code in order to accomplish a task because the individual instructions perform simpler operations.

The key operational concept of the RISC computer is that each instruction performs only one function (e.g., copy a value from memory to a register). The RI

The meaning behind the fundamental art and science of engineering is completely lost upon the average Indian student, and as one among them, I have a few gripes with the state of Indian engineering as an institution. The following is an attempt to lay them down after weeks of thought and countless missed deadlines to put this out. THe only reason that it took this long is that I wanted to get this bang on, since we get only one shot at speaking about this.

The boom truly started in the 1990s, with the opening of the Indian economy to the global markets. A massive and young workforce, teeming with the hope of a better life and the opportunity of the largest social and economic forward mobility program that has ever happened in the nation in front of them was there to meet the demands of the global shortage of a skilled yet cheap labor.

THe IT revolution of India, led by the giants that we now see as Infosys(1981), TCS(an ancient company - 1968), Tech Mahindra (1986), and HCL(1976) to name a few, kicked off

// Motor driver pins
const int PWMA = 9; // Left motor PWM
const int AIN1 = 5; // Left motor direction 1
const int AIN2 = 6; // Left motor direction 2
const int STBY = 8; // Standby pin
const int BIN1 = 3; // Right motor direction 1
const int BIN2 = 11; // Right motor direction 2
const int PWMB = 10; // Right motor PWM
const int D2 = 2; // Finish LED
@dubistweltmeister05
dubistweltmeister05 / kernel_log.txt
Created July 18, 2025 11:16
Axon boot fails on the smaller display as well when HDMI is connected on Tx1.
Starting kernel ...
[ 15.365176] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 15.365197] Linux version 6.1.75-axon (peter@felicia) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~5
[ 15.372135] Machine model: Vicharak RK3588 AXON VO.2 LINUX
[ 15.384134] earlycon: uart8250 at MMIO32 0x00000000feb50000 (options '')
[ 15.387359] printk: bootconsole [uart8250] enabled
[ 15.392310] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@0': base 0x000B
[ 15.923874] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 15.924491] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
@dubistweltmeister05
dubistweltmeister05 / kernel_log.txt
Created July 18, 2025 11:06
Axon boot fails and is stuck at the point shown here, when HDMI is connected over HDMI1 on the lab's testing screen.
[ 15.545780] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 15.545802] Linux version 6.1.75-axon (peter@felicia) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #axon SMP Wed Jan 15 15:28:21 IST 2025
[ 15.552723] Machine model: Vicharak RK3588 AXON VO.2 LINUX
[ 15.564737] earlycon: uart8250 at MMIO32 0x00000000feb50000 (options '')
[ 15.567949] printk: bootconsole [uart8250] enabled
[ 15.572899] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@0': base 0x0000000000000000, size 0 MiB
[ 16.104226] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 16.104843] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
[ 16.105477] fiq_debugger_probe: could not install nmi irq handler
[ 16.544084] rk806 spi2.0: no sleep-setting state
@dubistweltmeister05
dubistweltmeister05 / YOCTO-vaaman.md
Last active July 29, 2025 11:49
Details about working with the YOCTO build for Vaaman

YOCTO Local Source -

Can be accessed via - ssh pratiksha@galactos.local

/home/pratiksha/hdd/pratiksha/kshitij/vicharak-linux-sdk/yocto

YOCTO Git repos -

meta rockchip - https://github.com/vicharak-in/meta-rockchip

rockchip-kernel - https://github.com/vicharak-in/rockchip-linux-kernel-priv

@dubistweltmeister05
dubistweltmeister05 / log.txt
Created July 5, 2025 03:43
Audio Utility error in Yocto
root@rk3399-vaaman:/mnt# mpg123 -o alsa Hanuman.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.31.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
@dubistweltmeister05
dubistweltmeister05 / log.txt
Created July 1, 2025 11:17
RUBIK PI eSDK Ubuntu Installation error Log
ERROR: PermissionError: [Errno 1] Operation not permitted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ronin/qcom-wayland_sdk/layers/poky/bitbake/bin/bitbake-worker", line 268, in child
bb.utils.disable_network(uid, gid)
File "/home/ronin/qcom-wayland_sdk/layers/poky/bitbake/lib/bb/utils.py", line 1653, in disable_network
with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 1] Operation not permitted