summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-07-27 17:22:29 -0600
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-08-01 14:41:45 -0400
commit7332b594729085c5cd74fdad516ff977578017fc (patch)
tree27fb5c3f081dde9f48460d45fa8bcd6e83b110f6 /dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend
parentc9b65ee0e53cba999b8061b72039f108187b9600 (diff)
downloadmeta-virtualization-7332b594729085c5cd74fdad516ff977578017fc.tar.gz
recipes-bsp: Add u-boot-xlnx scripts for Xen support
Add new boot.cmd.xen to u-boot-xlnx-scr bbappend to enable Xen support for ZynqMP and Versal devices. User can enable xen u-boot script by adding below variable from configuration file. BOOTMODE = "xen" This u-boot script also supports to configure below Xen params from configuration file params variable assignment ------ ------------------- duart XEN_SERIAL_CONSOLES = "serial0" dom0_mem DOM0_MEM = "1500M" dom0_max_vcpus DOM0_MAX_VCPUS = "1" extra params XEN_CMDLINE_APPEND = "loglvl=all" Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend')
-rw-r--r--dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend
new file mode 100644
index 00000000..ae847cbc
--- /dev/null
+++ b/dynamic-layers/xilinx/recipes-bsp/u-boot/u-boot-xlnx-scr.bbappend
@@ -0,0 +1,2 @@
1# Include xen-boot-cmd.inc only if xen distro features is enabled.
2include ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen-boot-cmd.inc', '', d)}