Skip to content

Sysbuild support for system devicetree #57623

@mbolivar-nordic

Description

@mbolivar-nordic

Postponed

Since system devicetree support (#51830) is on hold, this issue is as well.

Parent issue

This issue is part of a larger issue: #51833

Is your enhancement proposal related to a problem?

Zephyr's sysbuild feature lets users set up and develop with multiple interrelated Zephyr- and non-Zephyr application directories. If my application directory has sysbuild integration, I can use it to build, flash, and debug all of the applications at once with command lines like this example:

$ west build --sysbuild -b board my-top-level-app-dir # builds multiple applications
$ west flash # flashes all the application images to my board

If Zephyr adopts support for system devicetree, I will need a convenient way to use it within sysbuild.

Describe the solution you'd like

Sysbuild awareness of system devicetree, especially the ability to apply system devicetree overlays at sysbuild's CMake time, to hardware (socs / boards) supported via hardware model v2 (see #51832 for details).

At a high level, I would like sysbuild to be able to manage the portions of this diagram with a white background, creating and managing the individual zephyr build systems in the shaded boxes:

image

I would like this enhancement to be supported in a backwards compatible way: no existing sysbuild use cases with "regular" devicetree should be broken.

Describe alternatives you've considered

Continuing to use standard devicetrees is workable, but introduces redundancy and room for error.

Change history

  • 2023-05-05: split this issue apart from sysbuild support for hardware model v2

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions