summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/xilinx/recipes-bsp/u-boot/xen-boot-cmd.inc
diff options
context:
space:
mode:
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.inc38
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 @@
1FILESEXTRAPATHS:append := ":${THISDIR}/u-boot-xlnx-scr"
2
3SRC_URI += "file://boot.cmd.xen"
4
5# Image offsets for Xen boot
6KERNEL_OFFSET:zynqmp ?= "0xE00000"
7KERNEL_OFFSET:versal ?= "0xE00000"
8
9DEVICETREE_OFFSET:zynqmp ?= "0xC000000"
10DEVICETREE_OFFSET:versal ?= "0xC000000"
11
12RAMDISK_OFFSET:zynqmp ?= "0x2400000"
13RAMDISK_OFFSET:versal ?= "0x2400000"
14
15XEN_OFFSET:zynqmp ?= "0xBA00000"
16XEN_OFFSET:versal ?= "0xBA00000"
17XEN_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
20XEN_IMAGE_NAME ?= "xen"
21RAMDISK_IMAGE = "rootfs.cpio.gz"
22
23# Set the amount of memory for dom0 depending on total available memory size(DDR).
24DOM0_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"
29XEN_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"
34XEN_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"
38DOM0_MAX_VCPUS ?= "1"