Files
JIANT/firmware/loader
Claude bfc19bed5d Update loader: install a Bluetooth segment (bt.bin) at 0xEA000
- tools/fm1pkg_make.py: an optional third UFW entry, "bt.bin" (type 200), after
  ota.bin (whatever reads the first two finds them where they were); checked
  for its header ("JBT1", its length) and for update-record look-alikes at
  every 4K - 256 slot, as the app image is.
- firmware/loader/ldr_core.c: with that entry, the segment is checked in step
  2b with the rest before anything is erased (the entry's CRC16, the header's
  magic, a CRC16 per sector, the last sector's tail 0xFF), then written after
  the app area at [0xEA000, 0xEA000 + len) sector by sector, skip-if-equal,
  verified (the app area's per-sector code, now ldr_sector, shared). A package
  without one leaves the region as it is. The record sweep already skips
  0xEA000..0xFBFFF (V10.11).
- tests/ldr_test.c: the segment written and equal to bt.bin, a damaged one
  refused with nothing erased, writes allowed in [0xEA000, 0xFC000).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 19:33:17 +00:00
..
2026-10-03 16:06:39 +09:00
2026-10-08 11:11:01 +09:00
2026-10-03 16:06:39 +09:00