-
Notifications
You must be signed in to change notification settings - Fork 8.1k
boards: renesas: Add support MCUBoot for ek_ra8p1 and mck_ra8t2 #97842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
boards: renesas: Add support MCUBoot for ek_ra8p1 and mck_ra8t2 #97842
Conversation
Update hal_renesas revision to get MCUBoot support Signed-off-by: Khoa Nguyen <[email protected]>
Add depend on config BOOTLOADER_MCUBOOT for SOC_RA_ENABLE_START_SECOND_CORE Signed-off-by: Khoa Nguyen <[email protected]>
Add support MCUBoot for ek_ra8p1 and mck_ra8t2 Signed-off-by: Khoa Nguyen <[email protected]>
Remove storage_partition definition for Renesas ek_ra8p1, mck_ra8t2 Signed-off-by: Khoa Nguyen <[email protected]>
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add info about MCUboot usage to the board doc? Also, add Kconfig.sysbuild
to board folder with the following
choice BOOTLOADER
default BOOTLOADER_MCUBOOT
endchoice
reg = <0x23800 DT_SIZE_K(98)>; | ||
}; | ||
|
||
scratch_partition: partition@3c000 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need the scratch partition unless you are using swap-using-scratch, which is not recommended.
https://docs.mcuboot.com/design.html#image-slots
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MCUboot defaults to SWAP_USING_OFFSET in Zephyr
zephyr/modules/Kconfig.mcuboot
Line 193 in fd51dde
default MCUBOOT_BOOTLOADER_MODE_SWAP_USING_OFFSET |
BOOTLOADER_MCUBOOT
forSOC_RA_ENABLE_START_SECOND_CORE
configek_ra8p1
andmck_ra8t2
storage_partition
definition for Renesasek_ra8p1
,mck_ra8t2
in the testflash/common