Skip to content

Conversation

khoa-nguyen-18
Copy link
Contributor

  • Add depend on BOOTLOADER_MCUBOOT for SOC_RA_ENABLE_START_SECOND_CORE config
  • Add support MCUBoot for ek_ra8p1 and mck_ra8t2
  • Remove storage_partition definition for Renesas ek_ra8p1, mck_ra8t2 in the test flash/common

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]>
Copy link

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_renesas zephyrproject-rtos/hal_renesas@bbfc2e6 zephyrproject-rtos/hal_renesas#159 zephyrproject-rtos/hal_renesas#159/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_renesas DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Oct 18, 2025
@zephyrbot zephyrbot added area: Boards/SoCs platform: Renesas Renesas platform: Renesas RA Renesas Electronics Corporation, RA area: Flash area: Tests Issues related to a particular existing or missing test labels Oct 18, 2025
Copy link

Copy link
Contributor

@JarmouniA JarmouniA left a 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 {
Copy link
Contributor

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

Copy link
Contributor

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

default MCUBOOT_BOOTLOADER_MODE_SWAP_USING_OFFSET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs area: Flash area: Tests Issues related to a particular existing or missing test DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_renesas platform: Renesas RA Renesas Electronics Corporation, RA platform: Renesas Renesas

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants