mirror of
https://github.com/pollen-robotics/microduck.git
synced 2026-12-03 02:47:45 +08:00
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>