feat(m1): storage info command and tf card identity record (#16)
## What - M1 firmware: new `storage info` console command printing the mounted TF card identity from `sdmmc_card_t` (CID: manufacturer/OEM/product name/revision/serial/date; CSD: capacity in MiB, sectors, sector size). `storage: no card` when not mounted. CID/CSD are copied out under a new mutex that also guards mount/unmount, so the console never dereferences a half-initialized or freed card. No other behavior changed. - Lab config `_doc/lab/board-c1810c76790e.json`: `tf.tf_card` upgraded from `pending-visual-read` to the values read on the real board (`SD16G`, 14910 MiB, serial `0x00000024`, mfg 2026-05), citing the in-repo transcript. - ADR-0003: TF record acceptance checkbox ticked with citation; blockers list updated. ## Evidence - `poc/evidence/tf-info-20260907/tf-cid-transcript-20260907.log`: RTS-reset boot, two identical `storage info` reads (L188-189, L192-193), `status --json` sanity (L197, `tf":"READY`), serial non-zero. - Board restored to PoC-A firmware after the read (`poca status` verified). Co-authored-by: ania-lain <[email protected]>
This commit is contained in:
@@ -85,8 +85,15 @@
|
||||
"card_detect": "none",
|
||||
"filesystem": "FAT32/FatFs",
|
||||
"tf_card": {
|
||||
"status": "pending-visual-read",
|
||||
"howto": "read label or `sdmmc` CID via M1 firmware reflash"
|
||||
"status": "read",
|
||||
"manufacturer_hex": "0x00",
|
||||
"oem": "42",
|
||||
"product_name": "SD16G",
|
||||
"revision": "2.0",
|
||||
"serial_hex": "0x00000024",
|
||||
"mfg_date": "2026-05",
|
||||
"capacity_mib": 14910,
|
||||
"evidence": "poc/evidence/tf-info-20260907/tf-cid-transcript-20260907.log L188-L189 and L192-L193 (M1 `storage info` x2, identical output; 30535680 sectors x 512 B)"
|
||||
}
|
||||
},
|
||||
"software_locks": {
|
||||
|
||||
Reference in New Issue
Block a user