Closed butok closed 1 year ago
Hi @butok , This issue is due to a known limitation of MCUboot, documented at https://github.com/mcu-tools/mcuboot/issues/713. Since this issue documented and tracked in the MCUboot project, you can close this issue here in the Zephyr project.
Best regards
This is the known limitation of MCUBoot.
@butok did you work on a solution to this in your own fork?
@butok did you work on a solution to this in your own fork?
Yes. Several PRs are still pending:
thanks for info!
how about this one? https://github.com/mcu-tools/mcuboot/issues/713
also curious if you can share NXP's long-term plan, is it SBL (https://github.com/nxp-mcuxpresso/sbl) or MCUBoot?
thanks for info! how about this one? mcu-tools/mcuboot#713
also curious if you can share NXP's long-term plan, is it SBL (https://github.com/nxp-mcuxpresso/sbl) or MCUBoot?
Now, Zephyr MCUBoot is functional for LPC55Sxx platforms. Still TBD: LPC55S36 and LPC55S28.
After you build & flash MCUBoot and its Hello World application, in a serial terminal you should see:
*** Booting Zephyr OS build zephyr-v3.5.0-963-gd5a1a8bf04c9 ***
I: Starting bootloader
I: Image index: 0, Swap type: none
I: Bootloader chainload address offset: 0x8000
I: Jumping to the first image slot
*** Booting Zephyr OS build zephyr-v3.5.0-963-gd5a1a8bf04c9 ***
Hello World from Zephyr on lpcxpresso55S69_cpu0!
NOTE: In the application prj.conf add:
#For LPC
CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS="--overwrite-only --align 8"
This is the place for a future improvement, to set application extra options based on the firmware update mode. Have to wait for next imgtool major release.
thanks! is 512-byte writes, 512-byte erase supported?
in other words, should SBL be considered legacy?
thanks! is 512-byte writes, 512-byte erase supported?
It is supported for non-swap update modes (overwrite-only).
in other words, should SBL be considered legacy?
It is a different story.
Describe the bug Compilation of the bootloader\mcuboot\boot\zephyr MCUBoot bootloader raises a compilation error for lpcxpresso55s69_cpu0
To Reproduce Steps to reproduce the behavior:
See assert error "Unsupported value for MCUBOOT_BOOT_MAX_ALIGN"
NOTE: Zephyr MCUBoot compilation guides:
Expected behavior No errors.
Logs and console output
Environment (please complete the following information):
Additional information Compiled the MCUBoot for the mimxrt685_evk_cm33 target without errors. So this is the lpcxpresso55s69-specific issue.