From 4fc035694cdd5b57e73c148654d3cb991ecf9014 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Mon, 19 Jul 2021 15:28:28 -0700 Subject: Add support for device tree overlays Device tree overlaps support in u-boot means that adding overlay support at boot time is easy. Simply loading the files via tftp/scsi/fit etc and then applying the overlays before the normal imagebuilder fdt edits at boot time allows for applying overlays without changing the device tree files. Signed-off-by: Brian Woods Reviewed-by: Stefano Stabellini Signed-off-by: Stefano Stabellini --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index b705934..6f577b8 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ DOM0_KERNEL="Image-dom0" DOM0_CMD="console=hvc0 earlycon=xen earlyprintk=xen clk_ignore_unused" DOM0_RAMDISK="dom0-ramdisk.cpio" +NUM_DT_OVERLAY=1 +DT_OVERLAY[0]="host_dt_overlay.dtbo" + NUM_DOMUS=2 DOMU_KERNEL[0]="zynqmp-dom1/Image-domU" DOMU_RAMDISK[0]="zynqmp-dom1/domU-ramdisk.cpio" @@ -70,6 +73,12 @@ Where: - DOM0_RAMDISK specifies the Dom0 ramdisk to use. Note that it should be a regular ramdisk cpio.gz file, not a u-boot binary. +- NUM_DT_OVERLAY specifies the number of host device tree overlays to be + added at boot time in u-boot + +- DT_OVERLAY[number] specifies the path to the hosts device tree overlays + to be added at boot time in u-boot + - NUM_DOMUS specifies how many Dom0-less DomUs to load - DOMU_KERNEL[number] specifies the DomU kernel to use. -- cgit v1.2.3