How to set the values of CONFIG_ROM_END_OFFSET and CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE? #73279
Replies: 7 comments 7 replies
-
Hi @NamrataGagare-eaton! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
@michaeljones It would great if you could help me on this? |
Beta Was this translation helpful? Give feedback.
-
I can only assume you mean someone else as this means nothing to me. |
Beta Was this translation helpful? Give feedback.
-
Oops.. |
Beta Was this translation helpful? Give feedback.
-
Converting to discussion. |
Beta Was this translation helpful? Give feedback.
-
Check on build output where proj.conf is taken from. |
Beta Was this translation helpful? Give feedback.
-
@de-nordic It would be very kind of you if you could help me to resolve this issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I am compiling zephyr 3.6 with my application code with --sysbuild option.
I found CONFIG_ROM_END_OFFSET and CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE which getting assigned to 0x20000 i.e 128K which one sector size of board nucleo_h743zi.
My application size is already including trailer size in image it self so explicitly I don't need FOOTER_SIZE.
I realise the FOOTER_SIZE is reducing flash size allocated to my application images.
I wanted to keep CONFIG_ROM_END_OFFSET and CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE values to be configured through Kconfig or prj.conf, but it is not taking any effect when I set these value in prj.conf or set them using -D in compilation cmd.
I see the value for CONFIG_ROM_END_OFFSET and CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE flags are taken from CMakeCache.list which are calculated below in
mcuboot\boot\zephyr\CMakeLists.txt
set(mcuboot_image_footer_size ${required_size} CACHE INTERNAL "Estimated MCUboot image trailer size" FORCE)
set(mcuboot_image_upgrade_footer_size ${required_upgrade_size} CACHE INTERNAL "Estimated MCUboot up
I kindly request your inputs on above issue.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions