dynamic-layers: add xilinx dynamic layer for Xen support

Although this dynamic layer currently only adds Xen support, it will
eventually hold other board and platform specific tweaks to core
meta-virt recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2020-09-21 18:08:21 -07:00
parent d945c7a9ed
commit 2ee6fcd29b
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS += "u-boot-mkimage-native"
DEPENDS += "dtc-native"
XENIMAGE_KERNEL_LOADADDRESS ?= "0x6000000"
do_deploy_append() {
if [ -f ${DEPLOYDIR}/xen-${MACHINE} ]; then
uboot-mkimage -A arm64 -T kernel -a ${XENIMAGE_KERNEL_LOADADDRESS} -e ${XENIMAGE_KERNEL_LOADADDRESS} -C none -d ${DEPLOYDIR}/xen-${MACHINE} ${DEPLOYDIR}/xen.ub
fi
}
deltask do_deploy_setscene
deltask do_populate_sysroot_setscene

View File

@ -0,0 +1 @@
include xen-xilinx.inc

View File

@ -0,0 +1 @@
include xen-xilinx.inc