Thanh Le / bench notes
DOC TL-2026 · BENCH NOTES · EMBEDDED / LINUX

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 bench12
Board stories (STAR)40
Linux notes12
Power-on to RTOS (ROCK 3A)154 ms
Oldest SoC revivedBCM2835 (2012)
Writing here since2017

Boards

§1 · one hub per board, each milestone written as Situation / Task / Action / Result
RK3568

Radxa ROCK 3A

Bare metal, FreeRTOS on four A55s, a 154 ms boot, NPU without Linux, Android 14, a hidden RISC-V MCU

8 stories · Console and desktop images booting from my meta-radxa port, sent upstream as PR #29
S5P4418

NanoPi 2 Fire

An old quad Cortex-A9 board from FriendlyELEC, taken from the boot ROM up to a FreeRTOS webcam that finds faces

6 stories · 1 GiB DDR3 at 800 MHz, 0 errors over two full passes
BCM2835

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

3 stories · Power-on to my code in ~10 s over USB; stable firmware fails, 1.20241126 works
BCM2835

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

4 stories · Unchanged image boots; next build over UART: 921 KB in 6.7 s instead of a card swap
BCM2712 + RP1

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)

2 stories · RP1 on PCIe x4 at 5 GT/s; idle 1.5 GHz, 47.7 C, fan off, ~1.93 W on the PMIC rails
RISC-V C906

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

5 stories · vl=4 at e32 -> VLEN 128, vsetivli SIGILL (RVV 0.7.1); FEL via reboot efex, no button
A83T

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

4 stories · 8 cores online, 11 OPPs 480 to 2016 MHz, FEL at 12 Mbit/s
MT7623N

Banana Pi R2

Five Ethernet jacks on two MACs, a quad Cortex-A7, and nothing measured on the board yet

1 story · Not started: no OpenWrt build yet
Snapdragon 800

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

5 stories · Launcher3 home screen on the panel; boot from eMMC in 66 s

Intel Edison

Two Atom cores at 500 MHz on a Mini Breakout: its boot measured from the USB side, then Zephyr run from RAM

2 stories · Reset to login 59.52 s; the ROM waits 8.92 s on USB for a flasher at every boot
S5P6818

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

hub only · nothing measured on the board yet
Amlogic S905

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

hub only · nothing measured on the board yet

Embedded notes

§2 · single posts, older projects and reading notes
DONE

Humanoid Robot: my thesis project

A small humanoid on SG90 servos: SolidWorks model, DH table, inverse kinematics, then the real thing

last change · 2026-11-22: rewritten from my own videos, invented specs removed
DONE

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

last change · 2026-06: new HID descriptor, media keys, Windows audio-sink fix
DONE

Pytest

Ghi chép học pytest của mình: test file, fixtures, marks, config, plugin

last change · Add plugin
IN PROGRESS

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

last change · Init document
DONE

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

last change · Add description and example
DONE

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

last change · 2026-11-22: intro and ending rewritten, links fixed
DONE

ESP8266 Flash Map & Partition Table

Where the ESP8266 keeps what on its external SPI flash: bootloader, partition table, NVS, OTA slots

last change · 2026-11-22: English, checked against the ESP8266 RTOS SDK sources
DONE

Tiny210 Information for development

My reading notes from the S5PV210 manual: address map, iROM/BL1/BL2 boot, boot block layout

last change · Copied from my old notes (2023-01)
DONE

Tiva ™ TM4C123GH6ZRB Microcontroller [part 1]

My reading notes from TI's datasheet: memory map, SRAM, flash, ROM, the ROM bootloader, EEPROM

last change · Copied from my old notes repo (2023-01)
DONE

Tiva ™ TM4C123GH6ZRB Microcontroller [part 2]

My reading notes on the Cortex-M4F core: modes, stacks, registers, memory model, exceptions

last change · Copied from my old notes repo (2023-01)
IN PROGRESS

Yocto Tips

Tips for working with Yocto

last change · Placeholder since 2023-01-16, nothing written yet

Linux networking

§3 · where a packet actually goes
IN PROGRESS

Linux Packet Filtering

Where a packet goes inside the kernel: the five chains, the tables in each, conntrack, iptables and nftables

last change · 2026-11-22: rewritten in my own words, tables and conntrack added
DONE

Linux Network Management

ifupdown, NetworkManager, systemd-networkd, Netplan and OpenWrt's netifd: who configures the interface after the driver

last change · 2026-11-22: rewritten in my own words, the empty sections filled in
DONE

Virtual Interfaces in Linux

Bridge, VLAN, macvlan, ipvlan, veth, TUN/TAP, tunnels, VXLAN, WireGuard, dummy, bond: what each is and the ip commands

last change · 2026-11-22: rewritten in my own words
DONE

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

last change · 2026-11-22: viết lại, sửa lệnh sai, thêm luồng kết nối và công cụ
DONE

Linux MacVLAN

Sub-interfaces with their own MAC: the four modes, and why the host can't reach them

last change · 2026-11-22: rewritten in my own words
DONE

Docker Networking

What each Docker network driver builds out of bridges, veth, macvlan and iptables

last change · 2026-11-22: rewritten in my own words

Linux general

§4 · tools and snippets I keep coming back to
DONE

Disk Partition Tables: MBR & GPT

MBR byte by byte on a test image, then GPT, the tools, and the layouts I use on boards

last change · 2026-11-22: GPT and tools added, MBR example re-run
DONE

Linux Tips & Tricks

My scratchpad of shell one-liners: fstab, cleanup, time, git, sed, awk, find

last change · 2026-11-22: English, grouped by topic, more sed/awk/find
DONE

Tmux Quick Reference

The tmux commands I actually use: sessions, panes, send-keys scripting, my tmux.conf

last change · 2026-11-22: English, scripting and config added
DONE

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

last change · Init document
IN PROGRESS

Docker Snippet

Các lệnh Docker thường dùng

last change · Init document
IN PROGRESS

Programming Language snippets

Các snippet code hay dùng

last change · Init document