Files
microduck/sounds
apirroneandClaude Opus 5.5 34b6e7dcd1 Read a beta's SoC serial from the kernel, not U-Boot
Every beta board came up as duck-d041, with one voice and one chorale id.
The beta image's U-Boot reads the OTP's cpu id three bytes early (0x07,
not 0x0a), so its sixteen bytes stop just short of the per-chip ones and
every chip in a lot gets the same device-tree serial (8b33c6e86a6a0c15 on
both boards measured). The kernel reads from 0x0a: /proc/cpuinfo's Serial
differs per board.

robotd_params::serial is now the one reader: the declared board picks the
source — device tree on zero3 (unchanged, so no Zero 3W is renamed or
re-voiced), /proc/cpuinfo on beta. configd's name and sounds' voice seed
both use it; mediad's hardware_id follows configd. A beta re-renders its
voice bank on the next update, since ensure-bank sees a new seed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 17:42:16 +02:00
..