I can't create a working reloader-mcuboot.zip (2025)
In 2025, I can't create a working reloader-mcuboot.zip, I assume due to a faulty library. I'm trying to generate a bootloader without displaying the reload screen by emptying the pinetime_boot_init() function. Has anyone managed to get this working lately? Any tips? Thanks
I tried with the simplest test possible changing the version of the header to 2.0.0 in the reloader-mcuboot.bin of the reloader-mcuboot.zip with: "printf '\x02\x00\x00\x00\x00\x00\x00\x00' | dd of=reloader-mcuboot.bin bs=1 seek=$((0x14)) conv=notrunc" and build it again with the same command of the Makefile: "python3 -m nordicsemi dfu genpkg --dev-type 0x0052 --application reloader-mcuboot.bin reloader-mcuboot.zip" After uploading the zip with Watchmate for Linux I got the image is ok but the InfiniTime shows the same version for the bootloader "1.0.1". It is still possible to update the bootloader OTA? I'm missing something? Thank you! Last try was using: Python 3.10.13, adafruit-nrfutil version 0.5.3.post16
Using these lib versions comparing a zip generated locally with the zip of the last release using the same .bin generates the same manifest.json and seems to only change timestamps, so the "python3 -m nordicsemi dfu genpkg --dev-type 0x0052 --application reloader-mcuboot.bin reloader-mcuboot.zip" seems right:
cmp -l reloader-mcuboot.zip ../reloader-mcuboot-1.0.1.zip 11 261 163 12 126 216 13 110 371 14 133 130 152461 262 163 152462 126 216 152463 110 371 152464 133 130 152525 262 163 152526 126 216 152527 110 371 152528 133 130 153053 261 163 153054 126 216 153055 110 371 153056 133 130 153081 264 244 153119 262 163 153120 126 216 153121 110 371 153122 133 130 153147 264 244 153185 262 163 153186 126 216 153187 110 371 153188 133 130 153213 264 244
also the reloader-mcuboot-1.0.1.bin has the headers:
00000000: 0000 0120 d900 0000 b506 0000 bb06 0000 ... ............ 00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
which means it has version 1.0.0, so it can't be the same code as the one used for the sealed Pinetime watches that read 1.0.1?