Skip to content

11. Suggested concordance changes

arch 12, remote_info.h

0x020000,   // firmware_base          (was 0; the firmware dump reads the wrong region)
8,          // firmware_4847_offset   (was 0; magic confirmed at image offset 8)
0xEA92 fits inside FIRMWARE_MAX_SIZE, so a single 64 KiB read at 0x020000 captures the whole application.

arch 14

firmware_base = 0x000000 is already correct; the existing comment suggesting 0x010000 is wrong, since 0x010000 falls in the middle of the image. The real defect is that FIRMWARE_MAX_SIZE (64 KiB) is smaller than the arch 14 firmware region. Observed images need 70336 and 76672 bytes. The firmware area runs up to the safe-mode config at 0x020000, so a per-architecture firmware size of 0x020000 would be safe.

_fix_magic_bytes()

The checksum range and the 0x48 0x47 offset are separate constants (4 and 8 respectively on both architectures), and the range should end at the image size rather than at FIRMWARE_MAX_SIZE.

Safety warning

firmware_base is also consumed by erase_firmware() and by write_firmware_to_remote(direct=1). If you apply any of these patches locally, use the read path only (concordance -f). Do not run any erase or write operation against a remote with a patched architecture table.


Section 10 | the archive | section 12. Section 11 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.