Date
1 - 2 of 2
MCUboot "Image in the primary slot is not valid" #mcuboot
Hi there
I am having issues getting started with MCUboot. I flashed MCUboot version 1.8-dev onto my "nrf52840dk_nrf52840" and "nrf5340dk_nrf5340_cpuapp". I then flashed the hello_world sample to my boards. I added "CONFIG_BOOTLOADER_MCUBOOT=y" to the hello_world sample in prj.conf. I am using Zephyr 2.6. Is there some configuration that I am missing? *** Booting Zephyr OS build zephyr-v2.6.0-495-gf5b0f92bb718 *** I: Starting bootloader I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 I: Boot source: none W: Failed reading image headers; Image=0 E: Image in the primary slot is not valid! E: Unable to find bootable image Any advice would be appreciated Regards Brenton |
|
Martin Kozusky
Hi,
may be you forgot to sign the image?
west sign -t imgtool -- --key
path_to_mcuboot\root-rsa-2048.pem (or other key that mcuboot is
using)
west flash --skip-rebuild -- --hex-file build/zephyr/zephyr.signed.hex Martin
Dne 21.10.2021 v 14:17 Brenton Chetty
napsal(a):
Hi there
|
|