From 5606c3cbca6e23af22dbd54e0ea9f3dfdc4ad1d5 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 8 Jul 2024 13:03:56 -0400 Subject: meta-agl-bsp: remove old Xen recipes Remove old Xen recipes and bbappends, as they have not been maintained in a long time, and are no longer buildable / relevant after the upgrade to YP scarthgap. Bug-AGL: SPEC-5202 Change-Id: I5ba07585213836ab8f4e1bd7358dc55e52a3c71e Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30120 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- ...-1GB-lmitation-workaround-XEN-tries-to-al.patch | 28 --------------------- .../recipes-extended/xen/xen-mkimage-rpi4.bb | 29 ---------------------- .../recipes-extended/xen/xen-tools_git.bbappend | 11 -------- .../recipes-extended/xen/xen_git.bbappend | 18 -------------- 4 files changed, 86 deletions(-) delete mode 100644 meta-agl-bsp/virtualization-layer/recipes-extended/xen/files/0001-XEN-on-RPi4-1GB-lmitation-workaround-XEN-tries-to-al.patch delete mode 100644 meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-mkimage-rpi4.bb delete mode 100644 meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-tools_git.bbappend delete mode 100644 meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend diff --git a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/files/0001-XEN-on-RPi4-1GB-lmitation-workaround-XEN-tries-to-al.patch b/meta-agl-bsp/virtualization-layer/recipes-extended/xen/files/0001-XEN-on-RPi4-1GB-lmitation-workaround-XEN-tries-to-al.patch deleted file mode 100644 index d83c65257..000000000 --- a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/files/0001-XEN-on-RPi4-1GB-lmitation-workaround-XEN-tries-to-al.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 2701d65271686dff0cb39ab7da1e821f5dede61e Mon Sep 17 00:00:00 2001 -From: Leonid Lazarev -Date: Tue, 21 Apr 2020 17:28:16 +0300 -Subject: [PATCH] XEN on RPi4 1GB lmitation workaround: XEN tries to allocated - the memopry for dom0 within first 4GB, but for some reason raspberry pi only - allows to load kernel from 1st GB. Push XEN to allocate first bank for dom0 - from 1st GB - ---- - xen/arch/arm/domain_build.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c -index dd9c3b73ba..8501a8c8aa 100644 ---- a/xen/arch/arm/domain_build.c -+++ b/xen/arch/arm/domain_build.c -@@ -281,7 +281,7 @@ static void __init allocate_memory_11(struct domain *d, - */ - while ( order >= min_low_order ) - { -- for ( bits = order ; bits <= (lowmem ? 32 : PADDR_BITS); bits++ ) -+ for ( bits = order ; bits <= (lowmem ? 30 : PADDR_BITS); bits++ ) - { - pg = alloc_domheap_pages(d, order, MEMF_bits(bits)); - if ( pg != NULL ) --- -2.17.1 - diff --git a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-mkimage-rpi4.bb b/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-mkimage-rpi4.bb deleted file mode 100644 index b857cb19f..000000000 --- a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-mkimage-rpi4.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "Xen hypervisor u-boot image" -LICENSE = "GPL-2.0-only" -SECTION = "console/tools" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" - - - -ALLOW_EMPTY:${PN} = "1" -FILES:${PN} = "" -S = "${WORKDIR}" - -DEPENDS = "u-boot-mkimage-native " - -# Only for aarch64 -COMPATIBLE_MACHINE = "(-)" -COMPATIBLE_MACHINE:aarch64 = "(.*)" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -do_configure[noexec] = "1" -do_deploy[noexec] = "1" - -do_compile[depends] += "xen:do_deploy" - -# Uboot compatible image -do_compile () { - uboot-mkimage -A arm64 -C none -T kernel -a 0x48080000 -e 0x48080000 -n "XEN" -d ${DEPLOY_DIR_IMAGE}/xen-${MACHINE} ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.uImage -} diff --git a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-tools_git.bbappend b/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-tools_git.bbappend deleted file mode 100644 index a67200618..000000000 --- a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen-tools_git.bbappend +++ /dev/null @@ -1,11 +0,0 @@ - -# make the package specific to the machine for now -PACKAGE_ARCH = "${MACHINE_ARCH}" - -# rpi4 -LIC_FILES_CHKSUM:raspberrypi4 = "file://COPYING;md5=4295d895d4b5ce9d070263d52f030e49" -XEN_REL:raspberrypi4 = "4.13" -SRCREV:raspberrypi4 = "721f2c323ca55c77857c93e7275b4a93a0e15e1f" -SRC_URI:raspberrypi4 = " \ - git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ - " diff --git a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend b/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend deleted file mode 100644 index 2d63e1841..000000000 --- a/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend +++ /dev/null @@ -1,18 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -# make the package machine-specific -PACKAGE_ARCH = "${MACHINE_ARCH}" - -# rpi4 specifics -LIC_FILES_CHKSUM:raspberrypi4 = "file://COPYING;md5=4295d895d4b5ce9d070263d52f030e49" -XEN_REL:raspberrypi4 = "4.13" - -SRCREV:raspberrypi4 = "721f2c323ca55c77857c93e7275b4a93a0e15e1f" -SRC_URI:append:raspberrypi4 = " file://0001-XEN-on-RPi4-1GB-lmitation-workaround-XEN-tries-to-al.patch" - -#due to incorrect xen binary preparation in external library, we add additional deploy -do_deploy:append:raspberrypi4() { - if [ -f ${B}/xen/xen ]; then - install -m 0644 ${B}/xen/xen ${DEPLOYDIR}/xen-${MACHINE} - fi -} -- cgit 1.2.3-korg