diff options
Diffstat (limited to 'dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc')
| -rw-r--r-- | dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc b/dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc new file mode 100644 index 00000000..38f6f267 --- /dev/null +++ b/dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | FILESEXTRAPATHS:append := ":${THISDIR}/u-boot-xlnx-scr" | ||
| 2 | |||
| 3 | SRC_URI += "file://boot.cmd.xen" | ||
| 4 | |||
| 5 | # Image offsets for Xen boot | ||
| 6 | KERNEL_OFFSET:zynqmp ?= "0xE00000" | ||
| 7 | KERNEL_OFFSET:versal ?= "0xE00000" | ||
| 8 | |||
| 9 | DEVICETREE_OFFSET:zynqmp ?= "0xC000000" | ||
| 10 | DEVICETREE_OFFSET:versal ?= "0xC000000" | ||
| 11 | |||
| 12 | RAMDISK_OFFSET:zynqmp ?= "0x2400000" | ||
| 13 | RAMDISK_OFFSET:versal ?= "0x2400000" | ||
| 14 | |||
| 15 | XEN_OFFSET:zynqmp ?= "0xBA00000" | ||
| 16 | XEN_OFFSET:versal ?= "0xBA00000" | ||
| 17 | XEN_LOAD_ADDRESS ?= "${@append_baseaddr(d,d.getVar('XEN_OFFSET'))}" | ||
| 18 | |||
| 19 | # If dom0-ramdisk is used for Xen boot then set RAMDISK image to cpio.gz | ||
| 20 | XEN_IMAGE_NAME ?= "xen" | ||
| 21 | RAMDISK_IMAGE = "rootfs.cpio.gz" | ||
| 22 | |||
| 23 | # Set the amount of memory for dom0 depending on total available memory size(DDR). | ||
| 24 | DOM0_MEM ?= "1500M" | ||
| 25 | |||
| 26 | # Specify which UART console Xen should use. You can sepecify the devicetree | ||
| 27 | # alias or full path to a node in the devicetree | ||
| 28 | # XEN_SERIAL_CONSOLES ?= "serial0" or XEN_SERIAL_CONSOLES ?= "/axi/serial@ff000000" | ||
| 29 | XEN_SERIAL_CONSOLES ?= "serial0" | ||
| 30 | |||
| 31 | # Specify additional Xen paramaters which will be appended to xen-bootargs | ||
| 32 | # This can alos be used for debugging purposes. | ||
| 33 | # Examples: XEN_CMDLINE_APPEND ?= "sched=credit loglvl=all guest_loglvl=debug" | ||
| 34 | XEN_CMDLINE_APPEND ?= "" | ||
| 35 | |||
| 36 | # Specify the max number of vcpus for dom0 | ||
| 37 | # Example usage: DOM0_MAX_VCPUS = "2" or DOM0_MAX_VCPUS = "2-4" | ||
| 38 | DOM0_MAX_VCPUS ?= "1" | ||
