docs(evidence): complete M1-008 artifacts and draft owner pass record (#9)
## Summary
Completes the remaining M1-008 evidence gaps and drafts the owner pass
record (requirement **M1-008**; heap/stack instrumentation also closes
the M1-006 soak heap-integrity note "internal_free not evaluable").
### Firmware: `metrics` console command (console_service.{cc,hh})
- Machine-parseable `heap internal|psram free=<u> largest=<u>
min_ever=<u>` (heap_caps 8-bit pools) and `task <name>
stack_hwm_bytes=<u>` per FreeRTOS task via `uxTaskGetSystemState` (all
tasks: frame-sd/board/display/prov-mon/console_repl/IDLE/ipc/Tmr
Svc/esp_timer/wifi/tcpip/sys_evt).
- ESP-IDF Xtensa reports the high-water mark directly in bytes
(`StackType_t` = uint8_t), so the unit is documented in the field name
itself.
- Companion one-line sdkconfig change:
`CONFIG_FREERTOS_USE_TRACE_FACILITY=y` (required for
`uxTaskGetSystemState`; necessary build-config companion to the mandated
API).
- No JSONL/display/snapshot changes; no new files; partitions untouched;
clang-format 18.1.8 clean; build 0 warnings.
### Evidence (poc/evidence/m1-20260831/)
- `build/m1_frame_m1_hardware.map` — linker map of the instrumented
build (binary sha256 a0e937ba… pinned in the manifest note).
- `build/m1_size_components.txt` — `idf.py size` summary + `idf.py
size-components` breakdown.
- `build/m1_metrics_samples.txt` — three on-device samples (t≈14 s
boot-ish / post-selftest / post-60 s-idle) + selftest + status --json.
Highlights: internal heap min_ever 123295 B (largest block 53248 B),
PSRAM min_ever 8362016 B, smallest task stack HWM ipc0 552 B,
console_repl 2652 B free of 6144 B, idle drift ~36 B/min.
- `M1-PASS-RECORD.md` — completeness table for every M1-008 artifact
(path+sha256), M1-001..007 one-line acceptance summary, known
limitations; **ships PENDING owner confirmation, does not record Pass**.
- manifest.json: 3 artifact entries (+notes); .gitignore: re-include
`poc/evidence/**/build/` (map/size/metrics), same mechanism as the
existing `!poc/evidence/**/*.log`.
## Requirement refs
- M1-008 (pass-record artifacts: linker map, size-components, heap/stack
metrics, owner record draft)
- M1-006 (heap-integrity: heap free/largest/min-ever + per-task stack
HWM now instrumented)
## Gates
Build 0 warnings (clean rebuild, evidence-logged); ruff format/check,
pyright (0 errors), pytest 31 passed 1 skipped, frame-evidence validated
(1 manifest, 47 artifacts).
Co-authored-by: ania-lain <[email protected]>
This commit is contained in:
@@ -95,3 +95,7 @@ Desktop.ini
|
||||
# Agent session state (local harness data; never commit)
|
||||
.omo/
|
||||
.opencode/
|
||||
|
||||
# M1-008 build evidence committed under poc/evidence (map/size/metrics)
|
||||
!poc/evidence/**/build/
|
||||
!poc/evidence/**/build/**
|
||||
|
||||
@@ -87,6 +87,7 @@ prov scan
|
||||
storage probe
|
||||
storage status
|
||||
selftest
|
||||
metrics
|
||||
```
|
||||
|
||||
`rtc status` reports validity, unix time, formatted UTC, formatted UTC+8 local time, and the
|
||||
@@ -94,6 +95,12 @@ OS-bit state; `rtc raw` dumps PCF85063 registers 0x00-0x0A with a decode; `rtc s
|
||||
`YYYY-MM-DD HH:MM:SS` as UTC+8 local time, validates the ranges (calendar round-trip), converts
|
||||
to UTC, writes the chip, and re-reads it to confirm.
|
||||
|
||||
`metrics` prints machine-parseable memory lines: `heap internal free=<u> largest=<u>
|
||||
min_ever=<u>` and `heap psram ...` (8-bit-capable pools, `min_ever` from the boot-time
|
||||
watermark), then one `task <name> stack_hwm_bytes=<u>` line per FreeRTOS task, where the
|
||||
high-water mark is the minimum-ever free stack in bytes (on this ESP-IDF Xtensa port
|
||||
`StackType_t` is one byte, so the kernel reports the mark directly in bytes).
|
||||
|
||||
Do not place real credentials in command transcripts or committed evidence. `wifi set` asks for the
|
||||
password after parsing the command so it is not stored in command history; terminal software must
|
||||
also keep local echo disabled. The password is persisted only inside `/system/wifi.json` under the
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
|
||||
#include "board_config.hh"
|
||||
#include "esp_console.h"
|
||||
#include "esp_heap_caps.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "linenoise/linenoise.h"
|
||||
|
||||
namespace frame::m1 {
|
||||
@@ -97,6 +100,15 @@ esp_err_t console_service::start() {
|
||||
.func_w_context = nullptr,
|
||||
.context = nullptr,
|
||||
};
|
||||
const esp_console_cmd_t metrics_cmd{
|
||||
.command = "metrics",
|
||||
.help = "Heap free/largest/min_ever (internal+PSRAM) and per-task stack high-water marks",
|
||||
.hint = nullptr,
|
||||
.func = &console_service::metrics_command,
|
||||
.argtable = nullptr,
|
||||
.func_w_context = nullptr,
|
||||
.context = nullptr,
|
||||
};
|
||||
|
||||
esp_err_t result = esp_console_cmd_register(&status_cmd);
|
||||
if (result == ESP_OK) {
|
||||
@@ -114,6 +126,9 @@ esp_err_t console_service::start() {
|
||||
if (result == ESP_OK) {
|
||||
result = esp_console_cmd_register(&rtc_cmd);
|
||||
}
|
||||
if (result == ESP_OK) {
|
||||
result = esp_console_cmd_register(&metrics_cmd);
|
||||
}
|
||||
if (result != ESP_OK) {
|
||||
return result;
|
||||
}
|
||||
@@ -263,6 +278,48 @@ int console_service::rtc_command(int argc, char** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int console_service::metrics_command(int argc, char** argv) {
|
||||
if (argc != 1) {
|
||||
std::printf("usage: metrics\n");
|
||||
return 1;
|
||||
}
|
||||
instance_->print_metrics();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void console_service::print_metrics() const {
|
||||
constexpr uint32_t kInternalCaps = MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT;
|
||||
std::printf("heap internal free=%u largest=%u min_ever=%u\n",
|
||||
static_cast<unsigned>(heap_caps_get_free_size(kInternalCaps)),
|
||||
static_cast<unsigned>(heap_caps_get_largest_free_block(kInternalCaps)),
|
||||
static_cast<unsigned>(heap_caps_get_minimum_free_size(kInternalCaps)));
|
||||
constexpr uint32_t kPsramCaps = MALLOC_CAP_SPIRAM | MALLOC_CAP_8BIT;
|
||||
std::printf("heap psram free=%u largest=%u min_ever=%u\n",
|
||||
static_cast<unsigned>(heap_caps_get_free_size(kPsramCaps)),
|
||||
static_cast<unsigned>(heap_caps_get_largest_free_block(kPsramCaps)),
|
||||
static_cast<unsigned>(heap_caps_get_minimum_free_size(kPsramCaps)));
|
||||
|
||||
const UBaseType_t task_slots = uxTaskGetNumberOfTasks() + 4U;
|
||||
TaskStatus_t* tasks = static_cast<TaskStatus_t*>(
|
||||
heap_caps_malloc(sizeof(TaskStatus_t) * task_slots, kInternalCaps));
|
||||
if (tasks == nullptr) {
|
||||
std::printf("task snapshot: allocation failed\n");
|
||||
return;
|
||||
}
|
||||
const UBaseType_t task_count = uxTaskGetSystemState(tasks, task_slots, nullptr);
|
||||
if (task_count == 0U) {
|
||||
std::printf("task snapshot: task set changed, retry the command\n");
|
||||
heap_caps_free(tasks);
|
||||
return;
|
||||
}
|
||||
for (UBaseType_t index = 0; index < task_count; ++index) {
|
||||
const unsigned hwm_bytes = static_cast<unsigned>(tasks[index].usStackHighWaterMark) *
|
||||
static_cast<unsigned>(sizeof(StackType_t));
|
||||
std::printf("task %s stack_hwm_bytes=%u\n", tasks[index].pcTaskName, hwm_bytes);
|
||||
}
|
||||
heap_caps_free(tasks);
|
||||
}
|
||||
|
||||
void console_service::print_rtc_status() const {
|
||||
const status_snapshot value = status_.snapshot();
|
||||
std::printf("RTC: %s\n", value.rtc_present ? "present (PCF85063 @0x51)" : "missing (0x51)");
|
||||
|
||||
@@ -25,8 +25,10 @@ class console_service {
|
||||
static int selftest_command(int argc, char** argv);
|
||||
static int prov_command(int argc, char** argv);
|
||||
static int rtc_command(int argc, char** argv);
|
||||
static int metrics_command(int argc, char** argv);
|
||||
void print_status(bool json) const;
|
||||
void print_rtc_status() const;
|
||||
void print_metrics() const;
|
||||
int print_rtc_raw() const;
|
||||
int run_rtc_set(const char* date_text, const char* time_text);
|
||||
void run_wifi_config_selftest() const;
|
||||
|
||||
@@ -6,6 +6,7 @@ CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
||||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
||||
CONFIG_FREERTOS_HZ=1000
|
||||
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=2
|
||||
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
|
||||
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_SPIRAM_MODE_OCT=y
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
# M1 Pass Record — Draft (PENDING OWNER CONFIRMATION)
|
||||
|
||||
Milestone: **M1 hardware-status vertical slice** (requirement IDs M1-001..M1-008,
|
||||
`_doc/requirements-v4.2.md`). This record assembles the in-repository evidence for the
|
||||
M1-008 owner decision. Per M1-008, the milestone stays Blocked until the repository owner
|
||||
records Pass on the real target board; this document ships as the completeness draft and
|
||||
**does not** constitute a Pass.
|
||||
|
||||
Evidence root: `poc/evidence/m1-20260831/` (run id `m1-20260831T021427Z`, verdict PASS).
|
||||
Firmware: `poc/apps/m1_hardware` @ `0.1.0-dev.1`, ESP-IDF v6.0.2, xtensa-esp-elf gcc-15.2.0,
|
||||
esp32s3. Hardware: Waveshare ESP32-S3-RLCD-4.2, module ESP32-S3-WROOM-1-N16R8 (16 MiB flash,
|
||||
8 MiB PSRAM), device id `c1810c76790e`.
|
||||
|
||||
## M1-008 Required Artifact Completeness
|
||||
|
||||
| Required artifact | Path (relative to repo root) | SHA-256 | Status |
|
||||
|---|---|---|---|
|
||||
| Local evidence manifest | `poc/evidence/m1-20260831/manifest.json` (47 artifacts, verdict PASS) | see file (self-referential; tracked in git) | ✅ |
|
||||
| sdkconfig | `poc/apps/m1_hardware/sdkconfig.defaults` (committed source) + generated `build/default/sdkconfig` of the M1-008 instrumented build | generated: `083523994a42cc07910e9d585a31fb1d464fb8f89fc0695dc0ad7ab0cbbc41bc` (soak-era sdkconfig recorded in `manifest.json` → `platform.sdkconfig_sha256` = `7d094856…cbf`) | ✅ |
|
||||
| Partition table | `partitions.csv` (frozen; boot-log partition identity asserted on-device) | `261b5d3338a7785d048f12eedd26bbab535f6d8b273f29e529d196a04515e3a3` | ✅ |
|
||||
| Linker map | `poc/evidence/m1-20260831/build/m1_frame_m1_hardware.map` | `a5d01bfa35c0def56d350aaf8c203d8d4bca13372ee83c4aa0aa43d094cf43fb` | ✅ |
|
||||
| `idf.py size-components` | `poc/evidence/m1-20260831/build/m1_size_components.txt` (includes `idf.py size` summary) | `85281cdf6aa2ae986e3eeb89832c03caf6b6583880487c3ea124e0924adeb64d` | ✅ |
|
||||
| Heap/stack metrics | `poc/evidence/m1-20260831/build/m1_metrics_samples.txt` (3 on-device `metrics` samples: boot-ish / post-selftest / post-60s-idle) | `cf7e4c280250111876693276a5deb3ca3ceb256c91f3faccf73913bf4613a257` | ✅ |
|
||||
| Complete UART JSONL | `poc/evidence/m1-20260831/soak.log` (1 h raw UART) | `dc568ea538fb91767adffef8a02f78f73672f906050c3a1a36e9d0bf66d6a78f` | ✅ |
|
||||
| TF JSONL + hash | `poc/evidence/m1-20260831/jsonl.ndjson` (358 lines, sequence 25..384 monotonic, per-line crc32c) | `2908825353a77bace2b0d733bf837897131efe31312b787c53c419b7ff0a9ce9` | ✅ |
|
||||
| Status-page photo | `poc/evidence/m1-20260831/photos/status_page_20260831.jpg` | `03817e0424452eba786768960645aa9e369bdfef08fe1da9883a7b9b035e82ec` | ✅ |
|
||||
| Board photo | `poc/evidence/m1-20260831/photos/board_front_20260831.jpg` | `87d232943d4328a15f3d6047fc25d2acd53fea210e29889836df47c44b8c9dcf` | ✅ |
|
||||
| Module marking photo | `poc/evidence/m1-20260831/photos/board_back_module_20260831.jpg` (N16R8 ↔ boot-log 16 MiB/8 MiB cross-check) | `6576c98d54097f85554f013c34f96922082de96cb7413f654d074d04fe376b60` | ✅ |
|
||||
| Input/firmware SHA-256 set | `manifest.json` → `source.project_document_sha256` (`7c2dc241…dff76`); M1-008 build binary `frame_m1_hardware.bin` sha256 `a0e937ba7e4a0bd51b9c74f6e6ed25acb8fc42d78087da2ed2810085a3f2c4bc` + device-reported `elf_sha256`/`image_sha256` inside the metrics transcript; soak-era image sha in `raw-history/*` and manifest notes | see cited files | ✅ |
|
||||
|
||||
Note: the generated sdkconfig, `.bin`, and `.elf` of the M1-008 instrumented build remain
|
||||
build outputs outside the repository (gitignored by policy); their SHA-256 values are pinned
|
||||
in the table above and in the manifest artifact notes, and the device-reported
|
||||
`elf_sha256`/`image_sha256` appear verbatim inside `m1_metrics_samples.txt`.
|
||||
|
||||
## M1-001 .. M1-007 Acceptance Summary
|
||||
|
||||
- **M1-001 (scope)** — PASS: deliverable is the repeatable hardware-status firmware + static
|
||||
core status page only (`poc/apps/m1_hardware`, initial publish commit `5f7c60c`; app
|
||||
`README.md`); no dynamic ELF, plugin loader, or hot update anywhere in the M1 tree.
|
||||
- **M1-002 (boot identity)** — PASS: boot banner asserts target esp32s3, 2 cores, flash
|
||||
16777216, PSRAM 8388608, IDF v6.0.2, toolchain gcc-15.2.0, image sha, board/device id,
|
||||
reset reason and partition identity (`raw-history/boot.log`, `raw-history/verify.log`;
|
||||
8/8 on-device assertions); module marking N16R8 photo corroborates flash/PSRAM sizes.
|
||||
- **M1-003 (display)** — PASS: ST7305 10 MHz init + patterns + native-landscape 400x300
|
||||
static status page showing board/display/TF/RTC/SHTC3/KEY/Wi-Fi/logging/health
|
||||
(`photos/status_page_20260831.jpg`; display "OK" in every status round; PR #5 responsive
|
||||
rendering fix).
|
||||
- **M1-004 (RTC/SHTC3/KEY)** — PASS: PCF85063 read/write + keep-across-soft-reset with SNTP
|
||||
resync (PR #5; `rtc set`/`rtc status` round-trips in `raw-history/`), SHTC3 CRC-valid
|
||||
plausible samples (27.7–27.8 °C / ~37.8 % across the soak), debounced KEY/BOOT
|
||||
short/long counting exactly +2/+2 with no spurious presses (PR #6; soak manifest metrics).
|
||||
- **M1-005 (TF transitions)** — PASS: dedicated FAT32 `/frame` mount with all four
|
||||
transitions observed (boot-without-card → ABSENT, insert → HEALTH_CHECKING → READY, remove
|
||||
→ ABSENT, reinsert → READY), write+fsync+read+SHA-256 health checks, no panic/blocking;
|
||||
absent-boot classified in ≤0.9 s device time (`soak.log`, manifest notes; PR #3).
|
||||
- **M1-006 (1 h soak)** — PASS: 3601 s soak, 10 s RTC/SHTC3/status cadence (358 JSONL lines,
|
||||
zero `status:FAILED`, sequence strictly monotonic, no panic/WDT/heap-integrity failure,
|
||||
UART logging uninterrupted); sole failing criterion (Wi-Fi reconnect) root-caused and fixed
|
||||
in PR #4, re-verified 3/3 cycles — manifest verdict PASS with FAIL history preserved.
|
||||
Heap/stack instrumentation added for M1-008 (`build/m1_metrics_samples.txt`) closes the
|
||||
soak's "internal_free not evaluable" gap: internal min_ever 123295 B, PSRAM min_ever
|
||||
8362016 B, ≥60 s idle stable.
|
||||
- **M1-007 (JSONL + credential handling)** — PASS: per-line valid JSONL with monotonic
|
||||
sequence, uptime/UTC validity, source/event/mode/status, mirrored to UART and to
|
||||
`/frame/logs/` when TF READY (`jsonl.ndjson`, `soak.log`); credentials persist as
|
||||
plaintext `/system/wifi.json` on `system_fs` under the documented, user-approved SEC-010
|
||||
development-board exception (app `README.md` and `_doc/requirements-v4.2.md` M1-007 note;
|
||||
encrypted-NVS provisioning remains Blocked pending the dedicated security board), password
|
||||
never appears in UART output, logs, or status.
|
||||
|
||||
## Known Limitations (owner should read before confirming)
|
||||
|
||||
1. **SEC-010 development-board exception** — Wi-Fi credentials are stored as plaintext JSON
|
||||
on the internal `system_fs` partition because Flash Encryption / HMAC eFuse burn-in is
|
||||
irreversible on the single dev board. Production must move to encrypted NVS before ship.
|
||||
2. **PCF85063 coin cell** — RTC time does not survive full power loss without a CR1220 cell
|
||||
(soft resets retain it; SNTP re-syncs after Wi-Fi join). A sporadic
|
||||
`ESP_ERR_INVALID_CRC` on the shared I2C bus was observed at some USB-initiated boots
|
||||
(suspected electrical/seating, watch item in session issues log).
|
||||
3. **BOOT long-press unexercised** — BOOT ≥1 s hold was never physically exercised by a
|
||||
human; the code path is identical to the device-proven KEY long band (same constants,
|
||||
same debounce machine). BOOT short ×2 is hardware-proven.
|
||||
4. **Provisioning portal OTA rows are code-inspection only** — POST /connect from CONNECTED
|
||||
state (web edit) and POST /clear → AP return were build-verified and code-inspected but
|
||||
never driven over the air (bench host is polkit-blocked from joining the AP; wrong-password
|
||||
and console paths are device-proven).
|
||||
5. **JSONL 640 B theoretical budget** — measured line ~594 B with ~46 B headroom, but the
|
||||
u64-digit worst case computes ~795 B > the 640 B buffer; any new JSONL field must
|
||||
re-measure or grow the buffer (silent-truncation guard history in session issues log).
|
||||
6. **TF `RECOVERING` display width (cosmetic)** — "TF: RECOVERING / log:OK" (~207 px) and
|
||||
HEALTH_CHECKING (~230 px) exceed the 179 px left column and overlap toward the right
|
||||
column instead of clipping; pre-existing, visual-only.
|
||||
7. **First-boot `system_fs` policy undecided** — a factory-blank littlefs partition cannot
|
||||
mount with `format_if_mount_failed=false`; this board was pre-formatted once. Fresh boards
|
||||
need a factory image or an explicit first-boot format decision before provisioning can
|
||||
persist.
|
||||
|
||||
## Decision
|
||||
|
||||
```
|
||||
Repository Owner: Aniakea
|
||||
Decision: PENDING OWNER CONFIRMATION <!-- flips to "M1 Pass recorded" by owner edit/confirmation -->
|
||||
Date: 2026-08-31 (UTC)
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,283 @@
|
||||
# M1-008 on-device metrics samples
|
||||
# captured: 2026-08-31T10:02:52Z (host UTC)
|
||||
# port: /dev/ttyACM0 @ 115200 baud, explicit RTS hard-reset at t=0 (console up ~3.7s)
|
||||
# firmware: instrumented build with `metrics` console command
|
||||
# binary sha256 a0e937ba7e4a0bd51b9c74f6e6ed25acb8fc42d78087da2ed2810085a3f2c4bc
|
||||
# base commit 61a0167 (working tree = PR evidence/m1-008-final content)
|
||||
# raw device output interleaved with annotation lines (leading #)
|
||||
|
||||
|
||||
# t=10.1s post-reset boot window
|
||||
ESP-ROM:esp32s3-20210327
|
||||
Build:Mar 27 2021
|
||||
rst:0x15 (USB_UART_CHIP_RESET),boot:0x29 (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 Aug 31 2026 17:55:03
|
||||
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 (26) 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 (28) 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=3c184h (246148) map
|
||||
I (69) esp_image: segment 1: paddr=0007c1ac vaddr=3fc9cc00 size=03e6ch ( 15980) load
|
||||
I (72) esp_image: segment 2: paddr=00080020 vaddr=42000020 size=fa634h (1025588) map
|
||||
ESP-ROM:esp32s3-20210327
|
||||
Build:Mar 27 2021
|
||||
rst:0x15 (USB_UART_CHIP_RESET),boot:0x29 (SPI_FAST_FLASH_BOOT)
|
||||
Saved PC:0x40056f5c
|
||||
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 Aug 31 2026 17:55:03
|
||||
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 (26) 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 (28) 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=3c184h (246148) map
|
||||
I (69) esp_image: segment 1: paddr=0007c1ac vaddr=3fc9cc00 size=03e6ch ( 15980) load
|
||||
I (72) esp_image: segment 2: paddr=00080020 vaddr=42000020 size=fa634h (1025588) map
|
||||
I (231) esp_image: segment 3: paddr=0017a65c vaddr=3fca0a6c size=01da4h ( 7588) load
|
||||
I (233) esp_image: segment 4: paddr=0017c408 vaddr=40374000 size=18b60h (101216) load
|
||||
I (254) esp_image: segment 5: paddr=00194f70 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 (705) cpu_start: Pro cpu start user code
|
||||
I (705) 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: 61a0167-dirty
|
||||
I (705) app_init: Compile time: Aug 31 2026 17:55:55
|
||||
I (705) app_init: ELF file SHA256: b416084a6...
|
||||
I (706) app_init: ESP-IDF: v6.0.2
|
||||
I (706) 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 (707) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
|
||||
I (707) 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 (709) 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 (710) esp_core_dump_flash: Found partition 'coredump' @ 20000 131072 bytes
|
||||
I (727) esp_core_dump_flash: Core dump data checksum is correct
|
||||
I (727) esp_core_dump_flash: Found core dump 19328 bytes in flash @ 0x20000
|
||||
I (728) main_task: Started on CPU0
|
||||
I (728) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
|
||||
I (729) main_task: Calling app_main()
|
||||
I (790) frame-m1: Frame M1 0.1.0-dev.1; IDF v6.0.2; toolchain gcc-15.2.0
|
||||
I (790) frame-m1: board=Waveshare ESP32-S3-RLCD-4.2 module=ESP32-S3-WROOM-1-N16R8 device=c1810c76790e
|
||||
I (791) frame-m1: cores=2 flash=16777216 psram=8388608 part=OK reset=11 image_sha256=81292cb968343b8b
|
||||
I (809) frame-m1: reset_count=10
|
||||
I (814) frame-prov: system_fs mounted
|
||||
I (816) pp: pp rom version: e7ae62f
|
||||
I (816) net80211: net80211 rom version: e7ae62f
|
||||
I (818) wifi:wifi driver task: 3fcc9094, prio:23, stack:6656, core=0
|
||||
I (825) wifi:wifi firmware version: 00ad238
|
||||
I (825) wifi:wifi certification version: v7.0
|
||||
I (825) wifi:config NVS flash: enabled
|
||||
I (825) wifi:config nano formatting: disabled
|
||||
I (825) wifi:Init data frame dynamic rx buffer num: 32
|
||||
I (826) wifi:Init static rx mgmt buffer num: 5
|
||||
I (826) wifi:Init management short buffer num: 32
|
||||
I (826) wifi:Init dynamic tx buffer num: 32
|
||||
I (826) wifi:Init static tx FG buffer num: 2
|
||||
I (826) wifi:Init static rx buffer size: 1600
|
||||
I (826) wifi:Init static rx buffer num: 10
|
||||
I (827) wifi:Init dynamic rx buffer num: 32
|
||||
I (827) wifi_init: rx ba win: 6
|
||||
I (827) wifi_init: accept mbox: 6
|
||||
I (828) wifi_init: tcpip mbox: 32
|
||||
I (828) wifi_init: udp mbox: 6
|
||||
I (828) wifi_init: tcp mbox: 6
|
||||
I (828) wifi_init: tcp tx win: 5760
|
||||
I (828) wifi_init: tcp rx win: 5760
|
||||
I (828) wifi_init: tcp mss: 1440
|
||||
I (828) wifi_init: WiFi IRAM OP enabled
|
||||
I (828) wifi_init: WiFi RX IRAM OP enabled
|
||||
I (829) phy_init: phy_version 712,87e8c20e,Apr 13 2026,18:51:10
|
||||
W (853) SD_HOST: input line delay not supported, fallback to 0 delay
|
||||
I (864) wifi:mode : sta (a4:cb:8f:cf:cd:5c)
|
||||
I (864) wifi:enable tsf
|
||||
{"schema_version":1,"sequence":1,"uptime_us":2173335,"utc_valid":true,"utc":"2026-08-31T10:01:27Z","source":"m1","event":"status","mode":"normal","status":"FAILED","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":379,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"e1912f48"}
|
||||
[5n␍
|
||||
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 (3666) frame-m1: services board=ESP_OK storage=ESP_OK wifi=ESP_OK display=ESP_OK console=ESP_OK
|
||||
I (3667) frame-m1: provision mount=ESP_OK saved=ESP_OK time=ESP_OK
|
||||
I (3669) main_task: Returned from app_main()
|
||||
I (6125) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1, snd_ch_cfg:0x0
|
||||
I (6127) wifi:state: init -> auth (0xb0)
|
||||
I (6132) wifi:state: auth -> assoc (0x0)
|
||||
I (6139) wifi:state: assoc -> run (0x10)
|
||||
I (6143) wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:1(originator)
|
||||
I (6145) wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:0(recipient)
|
||||
I (6152) wifi:[ADDBA]RX DELBA, reason:39, delete tid:6, initiator:1(originator)
|
||||
I (6185) wifi:connected with ChinaNet-ToT, aid = 17, channel 11, BW20, bssid = d4:5f:2c:81:22:c9
|
||||
I (6187) wifi:security: WPA2-PSK, phy: bgn, rssi: -32, cipher(pairwise:0x3, group:0x3), pmf:0
|
||||
I (6188) wifi:pm start, type: 1
|
||||
|
||||
I (6188) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
|
||||
I (6190) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
|
||||
I (6193) wifi:AP's beacon interval = 102400 us, DTIM period = 1
|
||||
I (6201) wifi:<ba-add>idx:0 (ifx:0, d4:5f:2c:81:22:c9), tid:6, ssn:25, winSize:64
|
||||
I (6203) wifi:<ba-add>idx:1 (ifx:0, d4:5f:2c:81:22:c9), tid:0, ssn:129, winSize:64
|
||||
I (7207) esp_netif_handlers: sta ip: 192.168.50.178, mask: 255.255.255.0, gw: 192.168.50.1
|
||||
I (7666) frame-time: sntp started (ntp.aliyun.com, pool.ntp.org)
|
||||
I (7668) frame-board: rtc time set to unix 1788170482
|
||||
I (7669) frame-time: rtc synced from sntp (unix 1788170482)
|
||||
|
||||
# sample 1: metrics at t~10s (boot-ish) (t=14.1s post-reset)
|
||||
metrics
|
||||
heap internal free=128699 largest=53248 min_ever=126047
|
||||
heap psram free=8362764 largest=8257536 min_ever=8362764
|
||||
task console_repl stack_hwm_bytes=4812
|
||||
task IDLE0 stack_hwm_bytes=744
|
||||
task IDLE1 stack_hwm_bytes=748
|
||||
task frame-display stack_hwm_bytes=3008
|
||||
task tcpip stack_hwm_bytes=1656
|
||||
task prov-mon stack_hwm_bytes=5304
|
||||
task frame-time stack_hwm_bytes=1632
|
||||
task frame-sd stack_hwm_bytes=3192
|
||||
task frame-board stack_hwm_bytes=2740
|
||||
task Tmr Svc stack_hwm_bytes=1360
|
||||
task ipc1 stack_hwm_bytes=556
|
||||
task sys_evt stack_hwm_bytes=1176
|
||||
task wifi stack_hwm_bytes=3984
|
||||
task esp_timer stack_hwm_bytes=3144
|
||||
task ipc0 stack_hwm_bytes=584
|
||||
frame>
|
||||
frame> {"schema_version":1,"sequence":2,"uptime_us":12186328,"utc_valid":true,"utc":"2026-08-31T10:01:25Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":378,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"0df2e540"}
|
||||
|
||||
# selftest (t=26.2s post-reset)
|
||||
selftest
|
||||
{"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-08-31T10:01:25Z","shtc3":true,"sensor_valid":true,"wifi":"CONNECTED","ap_active":false,"credentials_persisted":true,"tf_logging":true,"logging_error":0,"temperature_tenths_c":278,"humidity_tenths_percent":378,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"reset_count":10,"elf_sha256":"b416084a653871bf537a4b484bb0c85378b2bd608547b31afbbe26770288c4c7","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a"}
|
||||
wifi_config: ok
|
||||
wifi_config: bad ignored
|
||||
frame>
|
||||
frame> {"schema_version":1,"sequence":3,"uptime_us":23435333,"utc_valid":true,"utc":"2026-08-31T10:01:35Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":379,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"0ec8cf51"}
|
||||
|
||||
# sample 2: metrics after selftest (t=30.2s post-reset)
|
||||
metrics
|
||||
heap internal free=128663 largest=53248 min_ever=123327
|
||||
heap psram free=8362764 largest=8257536 min_ever=8362016
|
||||
task console_repl stack_hwm_bytes=2652
|
||||
task IDLE0 stack_hwm_bytes=744
|
||||
task IDLE1 stack_hwm_bytes=748
|
||||
task frame-display stack_hwm_bytes=3008
|
||||
task prov-mon stack_hwm_bytes=5304
|
||||
task frame-time stack_hwm_bytes=1632
|
||||
task tcpip stack_hwm_bytes=1656
|
||||
task frame-sd stack_hwm_bytes=3192
|
||||
task frame-board stack_hwm_bytes=2740
|
||||
task ipc1 stack_hwm_bytes=556
|
||||
task sys_evt stack_hwm_bytes=1176
|
||||
task ipc0 stack_hwm_bytes=552
|
||||
task wifi stack_hwm_bytes=3984
|
||||
task esp_timer stack_hwm_bytes=3128
|
||||
task Tmr Svc stack_hwm_bytes=1360
|
||||
frame>
|
||||
frame>
|
||||
|
||||
# idle window 60.0s (telemetry only)
|
||||
{"schema_version":1,"sequence":4,"uptime_us":33455339,"utc_valid":true,"utc":"2026-08-31T10:01:45Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":379,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"ca3a1f3e"}
|
||||
{"schema_version":1,"sequence":5,"uptime_us":43471345,"utc_valid":true,"utc":"2026-08-31T10:01:55Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":379,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"d772dea3"}
|
||||
{"schema_version":1,"sequence":6,"uptime_us":53488344,"utc_valid":true,"utc":"2026-08-31T10:02:05Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":380,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"725de55c"}
|
||||
{"schema_version":1,"sequence":7,"uptime_us":63505342,"utc_valid":true,"utc":"2026-08-31T10:02:15Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":379,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"2df5d9e7"}
|
||||
{"schema_version":1,"sequence":8,"uptime_us":73522352,"utc_valid":true,"utc":"2026-08-31T10:02:25Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":380,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"34877442"}
|
||||
{"schema_version":1,"sequence":9,"uptime_us":83540348,"utc_valid":true,"utc":"2026-08-31T10:02:35Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","partitions":true,"reset_reason":11,"tf":"READY","wifi":"CONNECTED","ap_setup":false,"rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":278,"humidity_tenths_percent":379,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"c5388551"}
|
||||
|
||||
# sample 3: metrics after 60s idle (t=94.2s post-reset)
|
||||
metrics
|
||||
heap internal free=128627 largest=53248 min_ever=123295
|
||||
heap psram free=8362764 largest=8257536 min_ever=8362016
|
||||
task console_repl stack_hwm_bytes=2652
|
||||
task IDLE0 stack_hwm_bytes=744
|
||||
task IDLE1 stack_hwm_bytes=748
|
||||
task frame-sd stack_hwm_bytes=3192
|
||||
task prov-mon stack_hwm_bytes=5304
|
||||
task frame-time stack_hwm_bytes=1632
|
||||
task tcpip stack_hwm_bytes=1656
|
||||
task frame-display stack_hwm_bytes=3008
|
||||
task frame-board stack_hwm_bytes=2740
|
||||
task sys_evt stack_hwm_bytes=1176
|
||||
task ipc0 stack_hwm_bytes=552
|
||||
task wifi stack_hwm_bytes=3984
|
||||
task esp_timer stack_hwm_bytes=3128
|
||||
task Tmr Svc stack_hwm_bytes=1360
|
||||
task ipc1 stack_hwm_bytes=556
|
||||
frame>
|
||||
frame>
|
||||
|
||||
# status --json (t=98.3s post-reset)
|
||||
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-08-31T10:02:45Z","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":380,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"reset_count":10,"elf_sha256":"b416084a653871bf537a4b484bb0c85378b2bd608547b31afbbe26770288c4c7","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a"}
|
||||
frame>
|
||||
frame> {"schema_version":1,"sequence":10,"uptime_us":93559341,"utc_valid":true,"utc":"2026-08-31T10:02:45Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"61a0167-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a","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":380,"key_short":0,"key_long":0,"boot_short":0,"boot_long":0,"crc32c":"5d197e9e"}
|
||||
@@ -0,0 +1,132 @@
|
||||
[0;33mCMake presets file found but no preset name given; using 'default' preset[0m
|
||||
Executing action: size
|
||||
Running ninja in directory /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default
|
||||
Executing "ninja all"...
|
||||
[1/4] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default && /home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python /home/lain/.espressif/v6.0.2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/partition_table/partition-table.bin /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/frame_m1_hardware.bin
|
||||
frame_m1_hardware.bin binary size 0x154fc0 bytes. Smallest app partition is 0x500000 bytes. 0x3ab040 bytes (73%) free.
|
||||
[2/4] Performing build step for 'bootloader'
|
||||
[1/1] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/bootloader && /home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python /home/lain/.espressif/v6.0.2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/bootloader/bootloader.bin
|
||||
Bootloader binary size 0x5850 bytes. 0x27b0 bytes (31%) free.
|
||||
[3/4] No install step for 'bootloader'
|
||||
[4/4] Completed 'bootloader'
|
||||
Running ninja in directory /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default
|
||||
Executing "ninja size"...
|
||||
[0/1] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default && /usr/bin/cmake -D "IDF_SIZE_TOOL=/home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python;-m;esp_idf_size" -D MAP_FILE=/home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/frame_m1_hardware.map -D OUTPUT_JSON= -P /home/lain/.espressif/v6.0.2/esp-idf/tools/cmake/run_size_tool.cmake
|
||||
Memory Type Usage Summary
|
||||
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
|
||||
┃ Memory Type/Section ┃ Used [bytes] ┃ Used [%] ┃ Remain [bytes] ┃ Total [bytes] ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
|
||||
│ Flash Code │ 1025586 │ │ │ │
|
||||
│ .text │ 1025586 │ │ │ │
|
||||
│ Flash Data │ 246148 │ │ │ │
|
||||
│ .rodata │ 245872 │ │ │ │
|
||||
│ .appdesc │ 256 │ │ │ │
|
||||
│ .tdata │ 20 │ │ │ │
|
||||
│ DIRAM │ 199149 │ 58.27 │ 142611 │ 341760 │
|
||||
│ .bss │ 90752 │ 26.55 │ │ │
|
||||
│ .text │ 84831 │ 24.82 │ │ │
|
||||
│ .data │ 23566 │ 6.9 │ │ │
|
||||
│ IRAM │ 16384 │ 100.0 │ 0 │ 16384 │
|
||||
│ .text │ 15356 │ 93.73 │ │ │
|
||||
│ .vectors │ 1028 │ 6.27 │ │ │
|
||||
│ RTC SLOW │ 36 │ 0.44 │ 8156 │ 8192 │
|
||||
│ .force_slow │ 36 │ 0.44 │ │ │
|
||||
│ RTC FAST │ 24 │ 0.29 │ 8168 │ 8192 │
|
||||
│ .rtc_reserved │ 24 │ 0.29 │ │ │
|
||||
└─────────────────────┴──────────────┴──────────┴────────────────┴───────────────┘
|
||||
Total image size: 1396551 bytes (.bin may be padded larger)
|
||||
Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size.
|
||||
|
||||
[0;33mCMake presets file found but no preset name given; using 'default' preset[0m
|
||||
Executing action: size-components
|
||||
Running ninja in directory /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default
|
||||
Executing "ninja all"...
|
||||
[1/4] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default && /home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python /home/lain/.espressif/v6.0.2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/partition_table/partition-table.bin /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/frame_m1_hardware.bin
|
||||
frame_m1_hardware.bin binary size 0x154fc0 bytes. Smallest app partition is 0x500000 bytes. 0x3ab040 bytes (73%) free.
|
||||
[2/4] Performing build step for 'bootloader'
|
||||
[1/1] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/bootloader && /home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python /home/lain/.espressif/v6.0.2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/bootloader/bootloader.bin
|
||||
Bootloader binary size 0x5850 bytes. 0x27b0 bytes (31%) free.
|
||||
[3/4] No install step for 'bootloader'
|
||||
[4/4] Completed 'bootloader'
|
||||
Running ninja in directory /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default
|
||||
Executing "ninja size-components"...
|
||||
[0/1] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default && /usr/bin/cmake -D "IDF_SIZE_TOOL=/home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python;-m;esp_idf_size" -D IDF_SIZE_MODE=--archives -D MAP_FILE=/home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/frame_m1_hardware.map -D OUTPUT_JSON= -P /home/lain/.espressif/v6.0.2/esp-idf/tools/cmake/run_size_tool.cmake
|
||||
Per-archive contributions to ELF file
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━┓
|
||||
┃ Archive File ┃ Total Size ┃ IRAM ┃ .text ┃ .vectors ┃ DIRAM ┃ .bss ┃ .data ┃ .text ┃ Flash Code ┃ .text ┃ Flash Data ┃ .tdata ┃ .rodata ┃ .appdesc ┃ RTC FAST ┃ .rtc_reserved ┃ RTC SLOW ┃ .force_slow ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━┩
|
||||
│ liblvgl__lvgl.a │ 358310 │ 0 │ 0 │ 0 │ 66124 │ 66044 │ 80 │ 0 │ 229786 │ 229786 │ 62400 │ 0 │ 62400 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libnet80211.a │ 149847 │ 0 │ 0 │ 0 │ 12503 │ 7695 │ 936 │ 3872 │ 122551 │ 122551 │ 14793 │ 0 │ 14793 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ liblwip.a │ 105874 │ 0 │ 0 │ 0 │ 3823 │ 3807 │ 16 │ 0 │ 98024 │ 98024 │ 4027 │ 0 │ 4027 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_stdio.a │ 105299 │ 0 │ 0 │ 0 │ 16 │ 16 │ 0 │ 0 │ 396 │ 396 │ 104887 │ 0 │ 104887 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libtfpsacrypto.a │ 104331 │ 16 │ 16 │ 0 │ 652 │ 460 │ 128 │ 64 │ 81820 │ 81820 │ 21843 │ 0 │ 21843 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libwpa_supplicant.a │ 79548 │ 0 │ 0 │ 0 │ 1371 │ 1363 │ 8 │ 0 │ 76333 │ 76333 │ 1844 │ 0 │ 1844 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libpp.a │ 65000 │ 0 │ 0 │ 0 │ 18578 │ 1234 │ 2640 │ 14704 │ 42569 │ 42569 │ 3853 │ 0 │ 3853 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libphy.a │ 36432 │ 0 │ 0 │ 0 │ 8498 │ 86 │ 3290 │ 5122 │ 27934 │ 27934 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hw_support.a │ 35162 │ 3997 │ 3997 │ 0 │ 9258 │ 227 │ 733 │ 8298 │ 20414 │ 20414 │ 1433 │ 0 │ 1433 │ 0 │ 24 │ 24 │ 36 │ 36 │
|
||||
│ libmain.a │ 31674 │ 0 │ 0 │ 0 │ 3004 │ 3004 │ 0 │ 0 │ 24751 │ 24751 │ 3919 │ 0 │ 3919 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libjoltwallet__littlefs.a │ 31161 │ 0 │ 0 │ 0 │ 140 │ 16 │ 124 │ 0 │ 30087 │ 30087 │ 934 │ 0 │ 934 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libfreertos.a │ 27465 │ 400 │ 400 │ 0 │ 10865 │ 1076 │ 4236 │ 5553 │ 14587 │ 14587 │ 1613 │ 0 │ 1613 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libc.a │ 26569 │ 0 │ 0 │ 0 │ 548 │ 524 │ 24 │ 0 │ 23345 │ 23345 │ 2676 │ 4 │ 2672 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libfatfs.a │ 23586 │ 0 │ 0 │ 0 │ 64 │ 60 │ 4 │ 0 │ 22037 │ 22037 │ 1485 │ 0 │ 1485 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libspi_flash.a │ 21996 │ 1617 │ 1617 │ 0 │ 17723 │ 32 │ 7210 │ 10481 │ 1497 │ 1497 │ 1159 │ 0 │ 1159 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libsdmmc.a │ 15497 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 13969 │ 13969 │ 1528 │ 0 │ 1528 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libnvs_flash.a │ 15427 │ 0 │ 0 │ 0 │ 24 │ 24 │ 0 │ 0 │ 15147 │ 15147 │ 256 │ 0 │ 256 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_system.a │ 15313 │ 2377 │ 2377 │ 0 │ 1868 │ 322 │ 497 │ 1049 │ 10350 │ 10350 │ 718 │ 0 │ 718 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libhttp_parser.a │ 15021 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 14269 │ 14269 │ 752 │ 0 │ 752 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_sdmmc.a │ 14830 │ 0 │ 0 │ 0 │ 20 │ 20 │ 0 │ 0 │ 13147 │ 13147 │ 1663 │ 0 │ 1663 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_spi.a │ 14242 │ 1772 │ 1772 │ 0 │ 3129 │ 24 │ 192 │ 2913 │ 8584 │ 8584 │ 757 │ 0 │ 757 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libconsole.a │ 13322 │ 0 │ 0 │ 0 │ 89 │ 48 │ 41 │ 0 │ 13186 │ 13186 │ 47 │ 0 │ 47 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_i2c.a │ 12256 │ 326 │ 326 │ 0 │ 476 │ 28 │ 0 │ 448 │ 11067 │ 11067 │ 387 │ 0 │ 387 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libespcoredump.a │ 11959 │ 0 │ 0 │ 0 │ 3080 │ 2968 │ 112 │ 0 │ 8206 │ 8206 │ 673 │ 0 │ 673 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libheap.a │ 11847 │ 1576 │ 1576 │ 0 │ 5497 │ 8 │ 12 │ 5477 │ 3795 │ 3795 │ 979 │ 0 │ 979 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_http_server.a │ 10676 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 10276 │ 10276 │ 400 │ 0 │ 400 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_netif.a │ 8179 │ 0 │ 0 │ 0 │ 217 │ 209 │ 8 │ 0 │ 7697 │ 7697 │ 265 │ 0 │ 265 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_gpio.a │ 7680 │ 0 │ 0 │ 0 │ 36 │ 0 │ 36 │ 0 │ 6898 │ 6898 │ 746 │ 0 │ 746 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libvfs.a │ 6115 │ 0 │ 0 │ 0 │ 236 │ 44 │ 192 │ 0 │ 5740 │ 5740 │ 139 │ 0 │ 139 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_libc.a │ 6097 │ 878 │ 878 │ 0 │ 3202 │ 564 │ 336 │ 2302 │ 1865 │ 1865 │ 152 │ 16 │ 136 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_mspi.a │ 5998 │ 100 │ 100 │ 0 │ 5266 │ 0 │ 36 │ 5230 │ 632 │ 632 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libespressif__cjson.a │ 5622 │ 0 │ 0 │ 0 │ 20 │ 8 │ 12 │ 0 │ 5602 │ 5602 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_wifi.a │ 5556 │ 16 │ 16 │ 0 │ 847 │ 43 │ 480 │ 324 │ 3866 │ 3866 │ 827 │ 0 │ 827 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_ringbuf.a │ 4945 │ 180 │ 180 │ 0 │ 2602 │ 0 │ 0 │ 2602 │ 1661 │ 1661 │ 502 │ 0 │ 502 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_mm.a │ 4790 │ 104 │ 104 │ 0 │ 1521 │ 48 │ 129 │ 1344 │ 2915 │ 2915 │ 250 │ 0 │ 250 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_usb_serial_jtag.a │ 4393 │ 118 │ 118 │ 0 │ 73 │ 17 │ 56 │ 0 │ 4002 │ 4002 │ 200 │ 0 │ 200 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libbootloader_support.a │ 4344 │ 52 │ 52 │ 0 │ 948 │ 8 │ 0 │ 940 │ 3256 │ 3256 │ 88 │ 0 │ 88 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_gpspi.a │ 3950 │ 104 │ 104 │ 0 │ 3235 │ 0 │ 20 │ 3215 │ 479 │ 479 │ 132 │ 0 │ 132 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_psram.a │ 3812 │ 265 │ 265 │ 0 │ 1970 │ 62 │ 10 │ 1898 │ 1425 │ 1425 │ 152 │ 0 │ 152 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libxtensa.a │ 3717 │ 503 │ 76 │ 427 │ 3049 │ 0 │ 1060 │ 1989 │ 117 │ 117 │ 48 │ 0 │ 48 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_event.a │ 3392 │ 0 │ 0 │ 0 │ 4 │ 4 │ 0 │ 0 │ 3247 │ 3247 │ 141 │ 0 │ 141 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_phy.a │ 3387 │ 100 │ 100 │ 0 │ 236 │ 43 │ 9 │ 184 │ 2752 │ 2752 │ 299 │ 0 │ 299 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libhal.a │ 3351 │ 497 │ 497 │ 0 │ 2854 │ 5 │ 353 │ 2496 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_lcd.a │ 3203 │ 166 │ 166 │ 0 │ 0 │ 0 │ 0 │ 0 │ 2814 │ 2814 │ 223 │ 0 │ 223 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_dma.a │ 3183 │ 0 │ 0 │ 0 │ 191 │ 0 │ 12 │ 179 │ 2866 │ 2866 │ 126 │ 0 │ 126 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_timer.a │ 2945 │ 287 │ 287 │ 0 │ 983 │ 36 │ 32 │ 915 │ 1563 │ 1563 │ 112 │ 0 │ 112 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_gpio.a │ 2314 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 1033 │ 1033 │ 1281 │ 0 │ 1281 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_security.a │ 2243 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 2211 │ 2211 │ 32 │ 0 │ 32 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_partition.a │ 2096 │ 0 │ 0 │ 0 │ 8 │ 8 │ 0 │ 0 │ 1920 │ 1920 │ 168 │ 0 │ 168 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_dma.a │ 2061 │ 8 │ 8 │ 0 │ 635 │ 0 │ 4 │ 631 │ 1418 │ 1418 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libefuse.a │ 2043 │ 0 │ 0 │ 0 │ 290 │ 4 │ 276 │ 10 │ 1288 │ 1288 │ 465 │ 0 │ 465 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ liblog.a │ 1910 │ 24 │ 24 │ 0 │ 733 │ 276 │ 8 │ 449 │ 1105 │ 1105 │ 48 │ 0 │ 48 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_common.a │ 1777 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 51 │ 51 │ 1726 │ 0 │ 1726 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_security.a │ 1570 │ 0 │ 0 │ 0 │ 16 │ 16 │ 0 │ 0 │ 1546 │ 1546 │ 8 │ 0 │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_i2c.a │ 1515 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 1491 │ 1491 │ 24 │ 0 │ 24 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libstdc++.a │ 1494 │ 0 │ 0 │ 0 │ 21 │ 17 │ 4 │ 0 │ 1274 │ 1274 │ 199 │ 0 │ 199 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libpthread.a │ 1199 │ 0 │ 0 │ 0 │ 20 │ 4 │ 16 │ 0 │ 1090 │ 1090 │ 89 │ 0 │ 89 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_rom.a │ 812 │ 96 │ 96 │ 0 │ 638 │ 0 │ 4 │ 634 │ 78 │ 78 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_app_format.a │ 725 │ 0 │ 0 │ 0 │ 10 │ 10 │ 0 │ 0 │ 451 │ 451 │ 264 │ 0 │ 8 │ 256 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_sd_intf.a │ 717 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 717 │ 717 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libcxx.a │ 661 │ 0 │ 0 │ 0 │ 28 │ 20 │ 8 │ 0 │ 633 │ 633 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libsoc.a │ 648 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 28 │ 28 │ 620 │ 0 │ 620 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_ana_conv.a │ 547 │ 0 │ 0 │ 0 │ 9 │ 0 │ 9 │ 0 │ 438 │ 438 │ 100 │ 0 │ 100 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_clock.a │ 505 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 505 │ 505 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libxt_hal.a │ 437 │ 0 │ 0 │ 0 │ 405 │ 0 │ 0 │ 405 │ 0 │ 0 │ 32 │ 0 │ 32 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_pmu.a │ 333 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 333 │ 333 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libcore.a │ 304 │ 0 │ 0 │ 0 │ 9 │ 9 │ 0 │ 0 │ 252 │ 252 │ 43 │ 0 │ 43 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_coex.a │ 303 │ 0 │ 0 │ 0 │ 118 │ 0 │ 0 │ 118 │ 185 │ 185 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_sd.a │ 210 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 10 │ 10 │ 200 │ 0 │ 200 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libapp_update.a │ 188 │ 0 │ 0 │ 0 │ 4 │ 4 │ 0 │ 0 │ 154 │ 154 │ 30 │ 0 │ 30 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libmbedtls.a │ 44 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 44 │ 44 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libmbedtls.a │ 29 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 21 │ 21 │ 8 │ 0 │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libnvs_sec_provider.a │ 5 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 5 │ 5 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libespnow.a │ 3 │ 0 │ 0 │ 0 │ 3 │ 0 │ 3 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
└─────────────────────────────────┴────────────┴──────┴───────┴──────────┴───────┴───────┴───────┴───────┴────────────┴────────┴────────────┴────────┴─────────┴──────────┴──────────┴───────────────┴──────────┴─────────────┘
|
||||
@@ -265,7 +265,25 @@
|
||||
"name": "verify.log",
|
||||
"uri": "raw-history/verify.log",
|
||||
"sha256": "1233c14e783e2ef66ae2923d21de81309facd3783c4f91f7df93fcc62abff245"
|
||||
},
|
||||
{
|
||||
"name": "m1_frame_m1_hardware.map",
|
||||
"uri": "build/m1_frame_m1_hardware.map",
|
||||
"sha256": "a5d01bfa35c0def56d350aaf8c203d8d4bca13372ee83c4aa0aa43d094cf43fb",
|
||||
"note": "GNU ld linker map (frame_m1_hardware.elf) from the instrumented M1-008 build that adds the `metrics` console command and CONFIG_FREERTOS_USE_TRACE_FACILITY=y. Provenance: built 2026-08-31 from the working tree on main@61a0167 (identical tree merged via PR evidence/m1-008-final), ESP-IDF v6.0.2, xtensa-esp-elf gcc-15.2.0, esp32s3 preset default. Companion binary frame_m1_hardware.bin sha256 a0e937ba7e4a0bd51b9c74f6e6ed25acb8fc42d78087da2ed2810085a3f2c4bc (stays out of the repository); generated sdkconfig sha256 083523994a42cc07910e9d585a31fb1d464fb8f89fc0695dc0ad7ab0cbbc41bc."
|
||||
},
|
||||
{
|
||||
"name": "m1_size_components.txt",
|
||||
"uri": "build/m1_size_components.txt",
|
||||
"sha256": "85281cdf6aa2ae986e3eeb89832c03caf6b6583880487c3ea124e0924adeb64d",
|
||||
"note": "`idf.py -B build/default size` (memory-type usage summary: total image 1396551 bytes, DIRAM 199149/341760 bytes = 58.27%, IRAM 16384/16384) followed by `idf.py size-components` (per-archive RAM/flash breakdown incl. managed components espressif__cjson / joltwallet__littlefs / lvgl__lvgl). Same build and provenance as m1_frame_m1_hardware.map."
|
||||
},
|
||||
{
|
||||
"name": "m1_metrics_samples.txt",
|
||||
"uri": "build/m1_metrics_samples.txt",
|
||||
"sha256": "cf7e4c280250111876693276a5deb3ca3ceb256c91f3faccf73913bf4613a257",
|
||||
"note": "On-device heap/stack metrics from the flashed instrumented build (bin sha256 a0e937ba7e4a0bd51b9c74f6e6ed25acb8fc42d78087da2ed2810085a3f2c4bc; device-reported elf_sha256 b416084a653871bf537a4b484bb0c85378b2bd608547b31afbbe26770288c4c7, image_sha256 81292cb968343b8b672f59fc4dacad7b3c2e6d9d337d5b804b4d90571028526a). Captured 2026-08-31T10:02:52Z over USB Serial/JTAG @115200 with an explicit RTS hard reset at t=0; three `metrics` samples (t~14s boot-ish, after `selftest`, after 60s idle) plus the selftest and `status --json` rounds. Highlights: heap internal min_ever=123295 B (free 128627 B / largest block 53248 B at t~94s), PSRAM min_ever=8362016 B (free 8362764 B); smallest per-task stack high-water mark ipc0=552 B; console_repl 2652 B free of its 6144 B stack after selftest; idle drift ~36 B/min with stable min_ever. Closes the soak's internal_free N/A gap (heap/stack now instrumented per M1-006 heap-integrity note)."
|
||||
}
|
||||
],
|
||||
"notes": "1h serial soak plus on-device TF/KEY assist windows on the final hardened firmware (tree of d73cadb; dirty=tools/tests collector additions only, poc/ untouched). VERDICT PASS after remediation of the soak's single failing criterion: console 'wifi reconnect' never returned to CONNECTED (0/5 soak cycles + 0/1 controlled reproduction; root cause: wifi_service.cc reconnect() called esp_wifi_connect() while still associated - IDF v6 rejects that, no STA_DISCONNECTED event fired, the event-driven retry never engaged; connect_stored/boot/portal paths were unaffected). FAIL at soak, fixed by commit d0842768658a8f47490bc87a6081f8a4ef1fe4d0 (reconnect() now disconnects first; the WIFI_EVENT_STA_DISCONNECTED handler drives the retry, direct connect only when already idle), re-verified on-device 3/3 cycles + boot - PASS ([PASS-fix-cycle-1..3] CONNECTED again in ~10s with the same IP restored, telemetry CONNECTED->DISCONNECTED->CONNECTED proving the handler path; [PASS-fix-boot] auto-connect GOT_IP, JSONL ap_setup:false, tf_logging:true). Original soak data unchanged. All other soak criteria PASS: 358 JSONL lines (360 +/-10), sequence 25..384 strictly monotonic, zero status:FAILED lines, reset_reason=11 constant across all samples, uptime monotonic (no reboot), tf=READY throughout, no spurious key presses. internal_free memory-decline criterion: N/A - firmware exposes no heap field in either JSON stream (telemetry or status --json); not instrumented, follow-up candidate. Assist windows: W1 KEY >=3s portal hold PASS (AP up observed, auto-recovery to CONNECTED within 120s without console help); W1 short/long presses completed via W2 retry: exactly +2/+2, no spurious; W2 TF: 2 pull->insert cycles, 4/4 transitions ABSENT+tf_logging false / READY+resume, logging_error=0; W3 absent-boot: TF-absent classified <=0.9s device time (W(835) frame-sd probe failed), health DEGRADED never FAILED, alive >30s, no telemetry while card out, reinsert resumed logging. TF same-file append judged behaviorally: sequence continuity across W2 pull/reinsert cycles and resumed logging across the W3 reboot with logging_error=0; direct TF line counts are not observable over UART (no fs listing command). Watch items: rtc_valid=false in all soak status samples after a transient PCF85063 ESP_ERR_INVALID_CRC during an earlier USB glitch (was true at session start); boot-moment telemetry status:FAILED artifact (T10-known) absent here because the capture attached mid-boot. Deviation: status responses artifact committed as status.ndjson (frame-evidence discovers every *.json under poc/evidence and NDJSON is not a manifest); soak raw directory kept outside poc/evidence because the collector's status.json artifact would be discovered by frame-evidence as an invalid manifest; curated copies are committed here instead. raw-history/ archives all /tmp/opencode/m1-verify serial captures from T4-T11 and this task."
|
||||
"notes": "1h serial soak plus on-device TF/KEY assist windows on the final hardened firmware (tree of d73cadb; dirty=tools/tests collector additions only, poc/ untouched). VERDICT PASS after remediation of the soak's single failing criterion: console 'wifi reconnect' never returned to CONNECTED (0/5 soak cycles + 0/1 controlled reproduction; root cause: wifi_service.cc reconnect() called esp_wifi_connect() while still associated - IDF v6 rejects that, no STA_DISCONNECTED event fired, the event-driven retry never engaged; connect_stored/boot/portal paths were unaffected). FAIL at soak, fixed by commit d0842768658a8f47490bc87a6081f8a4ef1fe4d0 (reconnect() now disconnects first; the WIFI_EVENT_STA_DISCONNECTED handler drives the retry, direct connect only when already idle), re-verified on-device 3/3 cycles + boot - PASS ([PASS-fix-cycle-1..3] CONNECTED again in ~10s with the same IP restored, telemetry CONNECTED->DISCONNECTED->CONNECTED proving the handler path; [PASS-fix-boot] auto-connect GOT_IP, JSONL ap_setup:false, tf_logging:true). Original soak data unchanged. All other soak criteria PASS: 358 JSONL lines (360 +/-10), sequence 25..384 strictly monotonic, zero status:FAILED lines, reset_reason=11 constant across all samples, uptime monotonic (no reboot), tf=READY throughout, no spurious key presses. internal_free memory-decline criterion: N/A - firmware exposes no heap field in either JSON stream (telemetry or status --json); not instrumented, follow-up candidate. Assist windows: W1 KEY >=3s portal hold PASS (AP up observed, auto-recovery to CONNECTED within 120s without console help); W1 short/long presses completed via W2 retry: exactly +2/+2, no spurious; W2 TF: 2 pull->insert cycles, 4/4 transitions ABSENT+tf_logging false / READY+resume, logging_error=0; W3 absent-boot: TF-absent classified <=0.9s device time (W(835) frame-sd probe failed), health DEGRADED never FAILED, alive >30s, no telemetry while card out, reinsert resumed logging. TF same-file append judged behaviorally: sequence continuity across W2 pull/reinsert cycles and resumed logging across the W3 reboot with logging_error=0; direct TF line counts are not observable over UART (no fs listing command). Watch items: rtc_valid=false in all soak status samples after a transient PCF85063 ESP_ERR_INVALID_CRC during an earlier USB glitch (was true at session start); boot-moment telemetry status:FAILED artifact (T10-known) absent here because the capture attached mid-boot. Deviation: status responses artifact committed as status.ndjson (frame-evidence discovers every *.json under poc/evidence and NDJSON is not a manifest); soak raw directory kept outside poc/evidence because the collector's status.json artifact would be discovered by frame-evidence as an invalid manifest; curated copies are committed here instead. raw-history/ archives all /tmp/opencode/m1-verify serial captures from T4-T11 and this task. M1-008 final evidence (2026-08-31): linker map, idf.py size/size-components, and on-device heap/stack metrics (three samples incl. post-60s-idle) archived under build/; firmware gained a `metrics` console command (machine-parseable heap internal/psram free/largest/min_ever + per-task stack_hwm_bytes via uxTaskGetSystemState; ESP-IDF xtensa reports the high-water mark directly in bytes since StackType_t=uint8_t). Owner pass record drafted at M1-PASS-RECORD.md, PENDING owner confirmation."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user