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:
Lain
2026-09-07 21:03:08 +08:00
committed by GitHub
co-authored by lain
parent f04326d1b7
commit ef5d27b6c5
6 changed files with 276 additions and 6 deletions
@@ -81,7 +81,7 @@ Button | KEY | GPIO18, active-low, pull-up
- [x] machine-readable lab config 固定上述 pin、SPI/I2C/SDMMC 参数、board_id、ESP-IDF tag 和 firmware hash。([lab config](../lab/board-c1810c76790e.json);firmware hash 取自 M1 与 PoC-A 两个 manifest 的 artifact notes)
- [ ] ST7305 在 SPI3 mode 0、10 MHz 完成 init 和 landscape 400x300 black/white/checkerboard/border/static core status page;driver 按面板原生列顺序打包,logic analyzer 保存 SCK/MOSI/DC/CS/RESET/TE trace。
- [x] PCF85063 `0x51`、SHTC3 `0x70`、KEY GPIO18 active-low 分别通过 [M1](../requirements-v4.2.md) 规定的 normal 10 秒 cadence 与显式 selftest 样本。([M1 PASS record M1-004](../../poc/evidence/m1-20260831/M1-PASS-RECORD.md):RTC read/write + 跨软复位保持 + SNTP resync,SHTC3 CRC-valid 合理样本,KEY/BOOT +2/+2 无 spurious;[manifest](../../poc/evidence/m1-20260831/manifest.json) metrics key_short/key_long)
- [ ] SDMMC 1-bit/FAT32 `/frame` 完成 boot absent、insert to READY、runtime remove、reinsert to READY 四转换和每次 READY read/write/fsync/hash health check;记录 TF model/capacity。(四转换 + health checks 已由 [M1 PASS record M1-005](../../poc/evidence/m1-20260831/M1-PASS-RECORD.md) 证明;TF model/capacity 记录仍缺 —— M1 证据无 card name/CID,[lab config](../lab/board-c1810c76790e.json) `tf.tf_card` 标记 pending-visual-read,本条在补齐前保持未勾)
- [x] SDMMC 1-bit/FAT32 `/frame` 完成 boot absent、insert to READY、runtime remove、reinsert to READY 四转换和每次 READY read/write/fsync/hash health check;记录 TF model/capacity。(四转换 + health checks 已由 [M1 PASS record M1-005](../../poc/evidence/m1-20260831/M1-PASS-RECORD.md) 证明;TF model/capacity 已由 M1 固件 `storage info` 命令从实机 `sdmmc_card_t` CID/CSD 读取并记录在 [lab config](../lab/board-c1810c76790e.json) `tf.tf_card`:`SD16G` / 14910 MiB / serial `0x00000024`,两次读取一致;transcript 见 [tf-info evidence](../../poc/evidence/tf-info-20260907/tf-cid-transcript-20260907.log))
- [ ] 当前开发板的 Wi-Fi UART configuration 只驻留 RAM 并脱敏;专用 security board 上另行验证 encrypted NVS。UART 与 TF `/frame/logs` JSONL 在一小时 M1 soak 中符合连续性要求。
- [x] Flash/PSRAM mode/frequency 由 exact sdkconfig 和 runtime log 证明,不由 N16R8 名称推断。([boot.log](../../poc/evidence/m1-20260831/raw-history/boot.log) L17-L42:`SPI Mode : QIO`、`Boot SPI Speed : 80MHz`、octal_psram vendor AP / density 64 Mbit;exact sdkconfig 由 [manifest](../../poc/evidence/m1-20260831/manifest.json) `platform.sdkconfig_sha256` = `7d094856…cbf` 钉住)
- [ ] power-cut fixture 能由外部 controller 真正移除并恢复 board power,记录切断点、off duration、voltage measurement 和 fixture firmware/config revision;`esp_restart()` 不算。Current board preliminary cuts 不超过 20。
@@ -90,7 +90,7 @@ Button | KEY | GPIO18, active-low, pull-up
## Current Blockers
- M1(一小时 soak、boot identity、PCF85063/SHTC3/KEY、TF 四转换、Flash/PSRAM mode)与 PoC-A 的 runtime evidence 已归档并由 owner 确认(见上方已勾项引用);本 ADR 剩余的 runtime 缺口:ST7305 logic-analyzer trace、TF model/capacity 记录、power-cut fixture 与 spare board 相关项。
- M1(一小时 soak、boot identity、PCF85063/SHTC3/KEY、TF 四转换、Flash/PSRAM mode)与 PoC-A 的 runtime evidence 已归档并由 owner 确认(见上方已勾项引用);TF model/capacity 已通过 `storage info` CID/CSD 读取补齐(2026-09-07)。本 ADR 剩余的 runtime 缺口:ST7305 logic-analyzer trace、power-cut fixture 与 spare board 相关项。
- power-cut fixture、外部控制器和 measurement method 尚未完成,阻塞 PoC-E。
- destructive Secure Boot V2、Flash Encryption release mode 和 eFuse epoch 使用的 spare board 尚未保留,阻塞 PoC-E。
- 没有官方 PCB revision;接受时必须显式批准以 `board_id + SKU + N16R8 marking + photos` 作为替代识别,不得伪造 revision。
+9 -2
View File
@@ -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": {
+6 -2
View File
@@ -75,7 +75,7 @@ esp_err_t console_service::start() {
};
const esp_console_cmd_t storage_cmd{
.command = "storage",
.help = "storage probe | storage status",
.help = "storage probe | storage status | storage info (TF card CID/CSD)",
.hint = nullptr,
.func = &console_service::storage_command,
.argtable = nullptr,
@@ -248,7 +248,11 @@ int console_service::storage_command(int argc, char** argv) {
instance_->print_status(false);
return 0;
}
std::printf("usage: storage probe | storage status\n");
if (argc == 2 && std::strcmp(argv[1], "info") == 0) {
instance_->storage_.print_card_info();
return 0;
}
std::printf("usage: storage probe | storage status | storage info\n");
return 1;
}
+55
View File
@@ -30,6 +30,10 @@ constexpr int64_t kLogIntervalUs = 10LL * 1000LL * 1000LL;
sd_service::~sd_service() { unmount(); }
esp_err_t sd_service::start() {
card_lock_ = xSemaphoreCreateMutex();
if (card_lock_ == nullptr) {
return ESP_ERR_NO_MEM;
}
const BaseType_t created =
xTaskCreatePinnedToCore(&sd_service::task_entry, "frame-sd", 6144, this, 7, &task_, 1);
return created == pdPASS ? ESP_OK : ESP_ERR_NO_MEM;
@@ -65,9 +69,16 @@ esp_err_t sd_service::mount_and_check() {
mount.max_files = 8;
mount.allocation_unit_size = 16 * 1024;
// Hold card_lock_ across the mount call: esp_vfs_fat_sdmmc_mount writes card_ via the
// out-param while the card struct is still initializing, and print_card_info must not
// observe that half-built state.
xSemaphoreTake(card_lock_, portMAX_DELAY);
esp_err_t result = esp_vfs_fat_sdmmc_mount(board::kSdMount, &host, &slot, &mount, &card_);
if (result != ESP_OK) {
card_ = nullptr;
}
xSemaphoreGive(card_lock_);
if (result != ESP_OK) {
const bool card_absent = result == ESP_ERR_NOT_FOUND || result == ESP_ERR_TIMEOUT;
status_.update([&](status_snapshot& value) {
value.storage = card_absent ? sd_state::absent : sd_state::failed;
@@ -135,10 +146,54 @@ esp_err_t sd_service::health_check() {
}
void sd_service::unmount() {
if (card_lock_ != nullptr) {
xSemaphoreTake(card_lock_, portMAX_DELAY);
}
if (card_ != nullptr) {
esp_vfs_fat_sdcard_unmount(board::kSdMount, card_);
card_ = nullptr;
}
if (card_lock_ != nullptr) {
xSemaphoreGive(card_lock_);
}
}
void sd_service::print_card_info() const {
if (card_lock_ == nullptr) {
std::printf("storage: no card\n");
return;
}
sdmmc_cid_t cid{};
sdmmc_csd_t csd{};
bool mounted = false;
xSemaphoreTake(card_lock_, portMAX_DELAY);
if (card_ != nullptr) {
cid = card_->cid;
csd = card_->csd;
mounted = true;
}
xSemaphoreGive(card_lock_);
if (!mounted) {
std::printf("storage: no card\n");
return;
}
char name[sizeof(cid.name) + 1]{};
std::memcpy(name, cid.name, sizeof(cid.name));
const unsigned oem_high = static_cast<unsigned>(cid.oem_id >> 8) & 0xFFU;
const unsigned oem_low = static_cast<unsigned>(cid.oem_id) & 0xFFU;
const unsigned serial = static_cast<unsigned>(static_cast<uint32_t>(cid.serial));
const unsigned long long sectors = static_cast<unsigned long long>(csd.capacity);
const unsigned long long capacity_mib =
sectors * static_cast<unsigned long long>(csd.sector_size) / (1024ULL * 1024ULL);
std::printf(
"cid: mfg=0x%02X oem=%c%c name=\"%s\" rev=%u.%u serial=0x%08X date=%u/%u\n",
static_cast<unsigned>(cid.mfg_id) & 0xFFU, oem_high != 0U ? oem_high : '?',
oem_low != 0U ? oem_low : '?', name, (static_cast<unsigned>(cid.revision) >> 4U) & 0xFU,
static_cast<unsigned>(cid.revision) & 0xFU, serial, static_cast<unsigned>(cid.date) & 0xFU,
2000U + ((static_cast<unsigned>(cid.date) >> 4U) & 0xFFU));
std::printf("csd: capacity=%llu MiB (%llu sectors × %u B)\n", capacity_mib, sectors,
static_cast<unsigned>(csd.sector_size));
}
esp_err_t sd_service::append_status_log() {
+5
View File
@@ -2,6 +2,7 @@
#include "esp_err.h"
#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"
#include "freertos/task.h"
#include "sdmmc_cmd.h"
@@ -19,6 +20,7 @@ class sd_service {
esp_err_t start();
void request_probe();
void print_card_info() const;
private:
static void task_entry(void* context);
@@ -30,6 +32,9 @@ class sd_service {
hardware_status& status_;
sdmmc_card_t* card_{};
// Serializes card_ mutations (sd task mount/unmount) against print_card_info copy-out
// (console task); CID/CSD are copied under the lock, printed outside it.
SemaphoreHandle_t card_lock_{};
TaskHandle_t task_{};
uint64_t log_sequence_{};
};
@@ -0,0 +1,199 @@
":1,"sequence":3,"uptime_us":22187593,"utc_valid":true,"utc":"2026-09-07T12:55:19Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"f04326d-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037dece
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x16bc
load:0x403c8700,len:0xf00
load:0x403cb700,len:0x3238
entry 0x403c892c
I (24) boot: ESP-IDF v6.0.2 2nd stage bootloader
I (24) boot: compile time Sep 7 2026 20:54:11
I (25) boot: Multicore bootloader
I (25) boot: chip revision: v0.2
I (25) boot: efuse block revision: v1.4
I (25) qio_mode: Enabling default flash chip QIO
I (25) boot.esp32s3: Boot SPI Speed : 80MHz
I (26) boot.esp32s3: SPI Mode : QIO
I (26) boot.esp32s3: SPI Flash Size : 16MB
I (26) boot: Enabling RNG early entropy source...
I (26) boot: Partition Table:
I (26) boot: ## Label Usage Type ST Offset Length
I (27) boot: 0 nvs WiFi data 01 02 00009000 00014000
I (27) boot: 1 nvs_keys NVS keys 01 04 0001d000 00001000
I (27) boot: 2 otadata OTA data 01 00 0001e000 00002000
I (28) boot: 3 coredump Unknown data 01 03 00020000 00020000
I (28) boot: 4 ota_0 OTA app 00 10 00040000 00500000
I (29) boot: 5 ota_1 OTA app 00 11 00540000 00500000
I (29) boot: 6 plugin_fs Unknown data 01 83 00a40000 004c0000
I (29) boot: 7 system_fs Unknown data 01 83 00f00000 00100000
I (30) boot: End of partition table
I (30) esp_image: segment 0: paddr=00040020 vaddr=3c100020 size=3c244h (246340) map
I (69) esp_image: segment 1: paddr=0007c26c vaddr=3fc9cc00 size=03dach ( 15788) load
I (72) esp_image: segment 2: paddr=00080020 vaddr=42000020 size=fa7d0h (1026000) map
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403cdb44
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x16bc
load:0x403c8700,len:0xf00
load:0x403cb700,len:0x3238
entry 0x403c892c
I (24) boot: ESP-IDF v6.0.2 2nd stage bootloader
I (24) boot: compile time Sep 7 2026 20:54:11
I (25) boot: Multicore bootloader
I (25) boot: chip revision: v0.2
I (25) boot: efuse block revision: v1.4
I (25) qio_mode: Enabling default flash chip QIO
I (25) boot.esp32s3: Boot SPI Speed : 80MHz
I (26) boot.esp32s3: SPI Mode : QIO
I (26) boot.esp32s3: SPI Flash Size : 16MB
I (26) boot: Enabling RNG early entropy source...
I (26) boot: Partition Table:
I (26) boot: ## Label Usage Type ST Offset Length
I (27) boot: 0 nvs WiFi data 01 02 00009000 00014000
I (27) boot: 1 nvs_keys NVS keys 01 04 0001d000 00001000
I (27) boot: 2 otadata OTA data 01 00 0001e000 00002000
I (28) boot: 3 coredump Unknown data 01 03 00020000 00020000
I (28) boot: 4 ota_0 OTA app 00 10 00040000 00500000
I (29) boot: 5 ota_1 OTA app 00 11 00540000 00500000
I (29) boot: 6 plugin_fs Unknown data 01 83 00a40000 004c0000
I (30) boot: 7 system_fs Unknown data 01 83 00f00000 00100000
I (30) boot: End of partition table
I (30) esp_image: segment 0: paddr=00040020 vaddr=3c100020 size=3c244h (246340) map
I (69) esp_image: segment 1: paddr=0007c26c vaddr=3fc9cc00 size=03dach ( 15788) load
I (72) esp_image: segment 2: paddr=00080020 vaddr=42000020 size=fa7d0h (1026000) map
I (231) esp_image: segment 3: paddr=0017a7f8 vaddr=3fca09ac size=01e64h ( 7780) load
I (233) esp_image: segment 4: paddr=0017c664 vaddr=40374000 size=18b60h (101216) load
I (254) esp_image: segment 5: paddr=001951cc vaddr=50000000 size=00024h ( 36) load
I (265) boot: Loaded app from partition at offset 0x40000
I (265) boot: Disabling RNG early entropy source...
I (266) octal_psram: vendor id : 0x0d (AP)
I (266) octal_psram: dev id : 0x02 (generation 3)
I (266) octal_psram: density : 0x03 (64 Mbit)
I (267) octal_psram: good-die : 0x01 (Pass)
I (267) octal_psram: Latency : 0x01 (Fixed)
I (267) octal_psram: VCC : 0x01 (3V)
I (267) octal_psram: SRF : 0x01 (Fast Refresh)
I (267) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (268) octal_psram: BurstLen : 0x01 (32 Byte)
I (268) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (268) octal_psram: DriveStrength: 0x00 (1/1)
I (268) MSPI Timing: Enter psram timing tuning
I (269) esp_psram: Found 8MB PSRAM device
I (269) esp_psram: Speed: 80MHz
I (270) cpu_start: Multicore app
I (696) esp_psram: SPI SRAM memory test OK
I (704) cpu_start: Pro cpu start user code
I (704) cpu_start: cpu freq: 240000000 Hz
I (705) app_init: Application information:
I (705) app_init: Project name: frame_m1_hardware
I (705) app_init: App version: f04326d-dirty
I (705) app_init: Compile time: Sep 7 2026 20:54:00
I (705) app_init: ELF file SHA256: 9d25f5491...
I (705) app_init: ESP-IDF: v6.0.2
I (705) efuse_init: Min chip rev: v0.0
I (706) efuse_init: Max chip rev: v0.99
I (706) efuse_init: Chip rev: v0.2
I (706) heap_init: Initializing. RAM available for dynamic allocation:
I (706) heap_init: At 3FCB8A90 len 00030C80 (195 KiB): RAM
I (706) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (706) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (707) heap_init: At 600FE000 len 00001FE8 (7 KiB): RTCRAM
I (707) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (708) spi_flash: detected chip: generic
I (708) spi_flash: flash io: qio
I (708) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (709) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (709) esp_core_dump_flash: Init core dump to flash
I (709) esp_core_dump_flash: Found partition 'coredump' @ 20000 131072 bytes
E (710) esp_core_dump_flash: Incorrect size of core dump image: 0
I (710) main_task: Started on CPU0
I (710) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (711) main_task: Calling app_main()
I (772) frame-m1: Frame M1 0.1.0-dev.1; IDF v6.0.2; toolchain gcc-15.2.0
I (772) frame-m1: board=Waveshare ESP32-S3-RLCD-4.2 module=ESP32-S3-WROOM-1-N16R8 device=c1810c76790e
I (773) frame-m1: cores=2 flash=16777216 psram=8388608 part=OK reset=11 image_sha256=9669dcaa4b38f23a
I (791) frame-m1: reset_count=14
I (798) frame-prov: system_fs mounted
I (800) pp: pp rom version: e7ae62f
I (800) net80211: net80211 rom version: e7ae62f
I (802) wifi:wifi driver task: 3fcc9104, prio:23, stack:6656, core=0
I (809) wifi:wifi firmware version: 00ad238
I (809) wifi:wifi certification version: v7.0
I (809) wifi:config NVS flash: enabled
I (809) wifi:config nano formatting: disabled
I (809) wifi:Init data frame dynamic rx buffer num: 32
I (810) wifi:Init static rx mgmt buffer num: 5
I (810) wifi:Init management short buffer num: 32
I (810) wifi:Init dynamic tx buffer num: 32
I (810) wifi:Init static tx FG buffer num: 2
I (810) wifi:Init static rx buffer size: 1600
I (810) wifi:Init static rx buffer num: 10
I (811) wifi:Init dynamic rx buffer num: 32
I (811) wifi_init: rx ba win: 6
I (811) wifi_init: accept mbox: 6
I (812) wifi_init: tcpip mbox: 32
I (812) wifi_init: udp mbox: 6
I (812) wifi_init: tcp mbox: 6
I (812) wifi_init: tcp tx win: 5760
I (812) wifi_init: tcp rx win: 5760
I (812) wifi_init: tcp mss: 1440
I (812) wifi_init: WiFi IRAM OP enabled
I (812) wifi_init: WiFi RX IRAM OP enabled
I (813) phy_init: phy_version 712,87e8c20e,Apr 13 2026,18:51:10
W (836) SD_HOST: input line delay not supported, fallback to 0 delay
I (848) wifi:mode : sta (a4:cb:8f:cf:cd:5c)
I (848) wifi:enable tsf
{"schema_version":1,"sequence":1,"uptime_us":2156582,"utc_valid":true,"utc":"2026-09-07T12:55:57Z","source":"m1","event":"status","mode":"normal","status":"FAILED","device_id":"c1810c76790e","app":"f04326d-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"9669dcaa4b38f23a300b85dfbc82b3e1dbc745f5fbe0ca14bf2d724b7e330124","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":277,"humidity_tenths_percent":491,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"cac4ff0b"}
␍
Type 'help' to get the list of commands.␍
Use UP/DOWN arrows to navigate through command history.␍
Press TAB when typing command name to auto-complete.␍
␍
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Windows Terminal or Putty instead.␍
frame> I (3652) frame-m1: services board=ESP_OK storage=ESP_OK wifi=ESP_OK display=ESP_OK console=ESP_OK
I (3654) frame-m1: provision mount=ESP_OK saved=ESP_OK time=ESP_OK
I (3655) main_task: Returned from app_main()
I (6111) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1, snd_ch_cfg:0x0
I (6113) wifi:state: init -> auth (0xb0)
I (6116) wifi:state: auth -> assoc (0x0)
I (6122) wifi:state: assoc -> run (0x10)
I (6126) wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:1(originator)
I (6127) wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:0(recipient)
I (6128) wifi:[ADDBA]RX DELBA, reason:39, delete tid:6, initiator:1(originator)
I (6154) wifi:connected with ChinaNet-ToT, aid = 16, channel 6, BW20, bssid = d4:5f:2c:81:22:c9
I (6155) wifi:security: WPA2-PSK, phy: bgn, rssi: -37, cipher(pairwise:0x3, group:0x3), pmf:0
I (6157) wifi:pm start, type: 1
I (6157) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (6159) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (6176) wifi:<ba-add>idx:0 (ifx:0, d4:5f:2c:81:22:c9), tid:6, ssn:8, winSize:64
I (6177) wifi:<ba-add>idx:1 (ifx:0, d4:5f:2c:81:22:c9), tid:0, ssn:18, winSize:64
I (6213) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (7173) esp_netif_handlers: sta ip: 192.168.50.178, mask: 255.255.255.0, gw: 192.168.50.1
I (7652) frame-time: sntp started (ntp.aliyun.com, pool.ntp.org)
I (7654) frame-board: rtc time set to unix 1788785764
I (7654) frame-time: rtc synced from sntp (unix 1788785764)
frame>
frame> storage info
cid: mfg=0x00 oem=42 name="SD16G" rev=2.0 serial=0x00000024 date=5/2026
csd: capacity=14910 MiB (30535680 sectors × 512 B)
frame>
frame> storage info
cid: mfg=0x00 oem=42 name="SD16G" rev=2.0 serial=0x00000024 date=5/2026
csd: capacity=14910 MiB (30535680 sectors × 512 B)
frame>
frame> {"schema_version":1,"sequence":2,"uptime_us":12169588,"utc_valid":true,"utc":"2026-09-07T12:56:07Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"f04326d-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"9669dcaa4b38f23a300b85dfbc82b3e1dbc745f5fbe0ca14bf2d724b7e330124","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":277,"humidity_tenths_percent":491,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"65371bb0"}
status --json
{"schema_version":1,"firmware":"0.1.0-dev.1","idf":"v6.0.2","toolchain":"gcc-15.2.0","device_id":"c1810c76790e","health":"OK","target_ok":true,"cores":2,"flash_bytes":16777216,"psram_bytes":8388608,"partitions_ok":true,"reset_reason":11,"display":"OK","tf":"READY","rtc":true,"rtc_valid":true,"utc":"2026-09-07T12:56:07Z","shtc3":true,"sensor_valid":true,"wifi":"CONNECTED","ap_active":false,"credentials_persisted":true,"tf_logging":true,"logging_error":0,"temperature_tenths_c":277,"humidity_tenths_percent":491,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"reset_count":14,"elf_sha256":"9d25f5491af6b092c40017438b314ec7007835275962fbf0105df099b6d7fea8","image_sha256":"9669dcaa4b38f23a300b85dfbc82b3e1dbc745f5fbe0ca14bf2d724b7e330124"}
frame>
frame>