Problem configuring MCUBOOT (NRF54L15, NCS 3.0.1)

Dear Team,

I need to switch LXFO to internal RC for MCUBoot, however, I am experiencing troubles configuring it on NCS 3.0.1 (NRF54L15).

If I just add my RC settings to [approot]/sysbuild/mcubuild.conf, the west build fails saying that it can't find [approot]/sysbuild/mcuboot/prj.conf, but when I copy-paste complete prj.conf from [ncs_root]/bootloader/mcuboot/boot/zephyr/prj.conf, it first fails to link (complaining on external flash library), so I have to add CONFIG_SPI_NOR=n, CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n settings to prj.conf and then it links and builds, however, is not starting up :(.

Once I remove all the custom configs, then it starts and works on my DK board, but fails on the custom board due to RC settings. 

Please let me know what can be done and if I am doing something wrong and copy the wrong config?

Thanks in advance.

WBR,

Alex

Parents
  • Hi Alex,

    If I just add my RC settings to [approot]/sysbuild/mcubuild.conf, the west build fails saying that it can't find

    Maybe it's just a typo here, but please ensure you're naming the kconfig fragment correctly. It shall be "mcuboot.conf" not "mcubuild.conf". Also, when you are only supplying the fragment to overlay the default settings, ensure you don't have any directory named "mcuboot" under sysbuild.

    Best regards,

    Vidar

Reply
  • Hi Alex,

    If I just add my RC settings to [approot]/sysbuild/mcubuild.conf, the west build fails saying that it can't find

    Maybe it's just a typo here, but please ensure you're naming the kconfig fragment correctly. It shall be "mcuboot.conf" not "mcubuild.conf". Also, when you are only supplying the fragment to overlay the default settings, ensure you don't have any directory named "mcuboot" under sysbuild.

    Best regards,

    Vidar

Children
No Data
Related