I have nrf54l15dk eval kit, I wanted to build mcuboot and zephyr OS using nRF Connect SDK or Visual Studio separately. Can you suggest the procedure and how do I get full access to the code
I have nrf54l15dk eval kit, I wanted to build mcuboot and zephyr OS using nRF Connect SDK or Visual Studio separately. Can you suggest the procedure and how do I get full access to the code
Hi,
You can take a look at this course https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/
Regards,
Amanda H.
Hi,
You can take a look at this course https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/
Regards,
Amanda H.
Hi
Thanks for your reply,I already practiced that course. But expectation is want to download full source code of mcuboot and zephyr OS and cross compile for the respective Evaluation kit which I mentioned, this helps me to understand full mcuboot and zephyr os wrt source codes. The mentioned course I not able to get full control of it in visual source.
The source codes are in the nRF Connect SDK. See Installing the nRF Connect SDK for how to install it.
Sorry to mention again. I am looking for examples or sample project where I can build mcuboot and zephyr os and flash them separately and boot them. Atleast point me to sample projects where can I build mcuboot and boot it. I am trying to build using visual studio
Check out this sample: https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/mgmt/mcumgr/smp_svr
BTDT. TL;DR - its a bad idea.
You can't build nor flash zephyr separate from the application. Its statically linked in app binary.
MCUBoot and APP need to agree on the flash layout. Sysbuild will ensure this by default.
Also note that default mcuboot config can't do anything useful without an application present. Serial recovery is disabled by default AFAIK.