diff options
author | Ayan Kumar Halder | 2021-12-15 17:39:28 +0000 |
---|---|---|
committer | Stefano Stabellini | 2021-12-15 13:46:23 -0800 |
commit | 7ba9b416b052b4272c8bfc4c4f630ba39d8c8dd3 (patch) | |
tree | ce2c85620e1ff65d0f7a62a6e5612b6b06b88838 /docker-extras/disk_image | |
parent | 4435825070fe062bb5576e9e048883191c0d87b7 (diff) |
Add support for compiling and merging partial device trees
One can specify the repository and the directory holding the partial
device trees via the config option PASSTHROUGH_DTS_REPO. This can be
either a git url or a local directory containing the partial device trees.
Also, the passthrough devices for each DOMU are specified via
DOMU_PASSTHROUGH_PATHS config option.
Imagebuilder will compile the partial device trees. The underlying
assumption is that the name of the partial device tree should
match to the name of the device specified in DOMU_PASSTHROUGH_PATHS.
For example (in case of git repo) :-
PASSTHROUGH_DTS_REPO="git@github.com:Xilinx/xen-passthrough-device-trees.git device-trees-2021.2"
DOMU_PASSTHROUGH_PATHS[0]="/axi/serial@ff010000 /axi/mmc@ff170000"
(This tells imagebuilder to clone the repo and use serial@ff010000.dts
and mmc@ff170000.dts from device-trees-2021.2 folder, to compile and generate
a partial dtb for DOMU[0].
If the files are absent, it will give an error.
Also, if the files mismatching values for #address-cells and #size-cells, it
will give an error.
Signed-off-by: Ayan Kumar Halder <ayankuma@xilinx.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Diffstat (limited to 'docker-extras/disk_image')
0 files changed, 0 insertions, 0 deletions