Describe the bug
I'm trying to create a concrete sysbuild example including bootloader, factory image and main image to help people get started with zephyr, and especially using sysbuild.
Either I'm not understanding how it works, or sysbuild is missing some fundamental features!
My issue is I need to override the partition layout of a nucleo board, and I cannot do this without manually specifying the same overlay file to each project on the commandline. This seems like an anti-pattern.
Is there something I'm missing?
I was expecting that I'd be able to add a sysbuild/boards/nucleo_f413zh.overlay file or similar that would be picked up and applied to all the projects, but thats not the case.
My command line
west build --sysbuild sysbuild-example \
-DEXTRA_DTC_OVERLAY_FILE=sysbuild-example/overlays/nucleo_f413zh_partitions.overlay \
-Dmcuboot_EXTRA_DTC_OVERLAY_FILE=sysbuild-example/overlays/nucleo_f413zh_partitions.overlay \
-Dmfg_image_EXTRA_DTC_OVERLAY_FILE=sysbuild-example/overlays/nucleo_f413zh_partitions.overlay \
-Ddfu_app_EXTRA_DTC_OVERLAY_FILE=sysbuild-example/overlays/nucleo_f413zh_partitions.overlay
Impact
This makes the use of sysbuild rather limited. Sysbuild should support this scenario for companies using zephyr to build entire systems.
I'd be happy to provide a PR to make this work, if someone could give me some pointers.
Describe the bug
I'm trying to create a concrete sysbuild example including bootloader, factory image and main image to help people get started with zephyr, and especially using sysbuild.
Either I'm not understanding how it works, or sysbuild is missing some fundamental features!
My issue is I need to override the partition layout of a nucleo board, and I cannot do this without manually specifying the same overlay file to each project on the commandline. This seems like an anti-pattern.
Is there something I'm missing?
I was expecting that I'd be able to add a
sysbuild/boards/nucleo_f413zh.overlayfile or similar that would be picked up and applied to all the projects, but thats not the case.My command line
Impact
This makes the use of sysbuild rather limited. Sysbuild should support this scenario for companies using zephyr to build entire systems.
I'd be happy to provide a PR to make this work, if someone could give me some pointers.