I take boards apart
from the boot ROM up.
I'm Thanh Le, an embedded/firmware engineer at Amazon. Most evenings I'm at home getting one of my own dev boards to boot: bare metal, FreeRTOS, an NPU without Linux, old SoCs pushed further than their vendors went.
This site is where I write down what broke and what I measured, so the next time I hit the same wall I don't start from zero.
| Boards on the bench | 12 |
| Board stories (STAR) | 40 |
| Linux notes | 12 |
| Power-on to RTOS (ROCK 3A) | 154 ms |
| Oldest SoC revived | BCM2835 (2012) |
| Writing here since | 2017 |
Boards
§1 · one hub per board, each milestone written as Situation / Task / Action / ResultRadxa ROCK 3A
Bare metal, FreeRTOS on four A55s, a 154 ms boot, NPU without Linux, Android 14, a hidden RISC-V MCU
NanoPi 2 Fire
An old quad Cortex-A9 board from FriendlyELEC, taken from the boot ROM up to a FreeRTOS webcam that finds faces
Raspberry Pi Zero W
Bare metal with no SD card, a FreeRTOS shell on the boot cable, and the 12 QPUs driven from my own code
Raspberry Pi 1 Model B
A 2012 Pi with no Linux: FreeRTOS, MJPEG decoded by the VideoCore, a face detector on the 12 QPUs, a WS2812 ring
Raspberry Pi 5
A read-only survey of my Pi 5, and FreeRTOS borrowing one of its cores from a running Linux (QEMU so far)
Allwinner D1-H Nezha
A single-core RISC-V board: my own boot0 on SPI-NAND, FreeRTOS, a webcam on HDMI with no Linux, XR829 Wi-Fi on mainline
Banana Pi M3
An octa-core Allwinner board I drove from the FEL boot ROM: my own code in SRAM, then DRAM, then a CLI for every peripheral
Banana Pi R2
Five Ethernet jacks on two MACs, a quad Cortex-A7, and nothing measured on the board yet
DragonBoard 8074
Intrinsyc's APQ8074 board, from its stock Android 4.3 to Android 15 on kernel 6.6, then HDMI, sound, USB and local AI
Intel Edison
Two Atom cores at 500 MHz on a Mini Breakout: its boot measured from the USB side, then Zephyr run from RAM
NanoPC-T3
The 64-bit big sister of my NanoPi 2 Fire. Everything so far comes from the schematic, U-Boot and the boot files, not the board
NanoPi K2
A quad A53 TV-box chip on a Pi-sized board. I've read it, fixed my demos against mainline, and not run them on hardware yet
Embedded notes
§2 · single posts, older projects and reading notesHumanoid Robot: my thesis project
A small humanoid on SG90 servos: SolidWorks model, DH table, inverse kinematics, then the real thing
Bluetooth Keyboard, Mouse & Media Emulator on Raspberry Pi
My Raspberry Pi pretends to be a Bluetooth keyboard, mouse and media remote; started 2017, still patched in 2026
Pytest
Ghi chép học pytest của mình: test file, fixtures, marks, config, plugin
Linux Overlay File System
Ghi chép của mình về overlayfs: lower/upper, whiteout, và factory reset bằng cách xoá upper
Pytest-Embedded
Mình thử plugin pytest-embedded của Espressif: cài đặt, các service, chạy test hello world trên ESP32-C3
Boot sequence on Wireless MCU ESP8266
What runs between power-on and my app on the ESP8266: ROM (BL0), the first-stage bootloader, the partition table
ESP8266 Flash Map & Partition Table
Where the ESP8266 keeps what on its external SPI flash: bootloader, partition table, NVS, OTA slots
Tiny210 Information for development
My reading notes from the S5PV210 manual: address map, iROM/BL1/BL2 boot, boot block layout
Tiva ™ TM4C123GH6ZRB Microcontroller [part 1]
My reading notes from TI's datasheet: memory map, SRAM, flash, ROM, the ROM bootloader, EEPROM
Tiva ™ TM4C123GH6ZRB Microcontroller [part 2]
My reading notes on the Cortex-M4F core: modes, stacks, registers, memory model, exceptions
Yocto Tips
Tips for working with Yocto
Linux networking
§3 · where a packet actually goesLinux Packet Filtering
Where a packet goes inside the kernel: the five chains, the tables in each, conntrack, iptables and nftables
Linux Network Management
ifupdown, NetworkManager, systemd-networkd, Netplan and OpenWrt's netifd: who configures the interface after the driver
Virtual Interfaces in Linux
Bridge, VLAN, macvlan, ipvlan, veth, TUN/TAP, tunnels, VXLAN, WireGuard, dummy, bond: what each is and the ip commands
Lịch sử của Linux Wi-Fi Driver
Từ Wireless Extensions đến nl80211/cfg80211/mac80211: Wi-Fi driver trên Linux được thiết kế ra sao
Linux MacVLAN
Sub-interfaces with their own MAC: the four modes, and why the host can't reach them
Docker Networking
What each Docker network driver builds out of bridges, veth, macvlan and iptables
Linux general
§4 · tools and snippets I keep coming back toDisk Partition Tables: MBR & GPT
MBR byte by byte on a test image, then GPT, the tools, and the layouts I use on boards
Linux Tips & Tricks
My scratchpad of shell one-liners: fstab, cleanup, time, git, sed, awk, find
Tmux Quick Reference
The tmux commands I actually use: sessions, panes, send-keys scripting, my tmux.conf
Udev Quick Reference
Ghi chép udev của mình: rule nằm đâu, thứ tự, ví dụ tắt touchpad khi cắm chuột, udevadm test
Docker Snippet
Các lệnh Docker thường dùng
Programming Language snippets
Các snippet code hay dùng