summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2021-04-14 10:00:22 +0200
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-07-14 14:58:30 -0700
commit9eddcccdb0ca2cba19e999f2999debaf2dd0fb53 (patch)
tree75275f11bad64575daaf7eaf620514b7f55e97cf
parentc10a0ffc8a9e948b336da02b132071b1c0859af8 (diff)
downloadmeta-xilinx-9eddcccdb0ca2cba19e999f2999debaf2dd0fb53.tar.gz
kernel-module-*: Do not set PACKAGE_ARCH to something less specific
Issue: CR-1098191 The kernel-module recipes set PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" which is broken because kernel modules depend on the kernel which is MACHINE specific. The assignment claims that you could use a kernel module built for some other board for any other zynqmp board, which is not true since their kernel versions and configuration will differ. Remove the assignment so that the kernel module becomes MACHINE_ARCH again. This solves issues with kernel modules that refuse to install during the do_rootfs stage, and various setscene tasks running over and again when switching between MACHINEs. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb2
-rwxr-xr-xmeta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb2
-rw-r--r--meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb2
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb2
4 files changed, 0 insertions, 8 deletions
diff --git a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb
index cfb03dcb..fdeeab3a 100644
--- a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb
+++ b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb
@@ -44,8 +44,6 @@ COMPATIBLE_MACHINE = "^$"
44COMPATIBLE_MACHINE_zynqmp-eg = "zynqmp-eg" 44COMPATIBLE_MACHINE_zynqmp-eg = "zynqmp-eg"
45COMPATIBLE_MACHINE_zynqmp-ev = "zynqmp-ev" 45COMPATIBLE_MACHINE_zynqmp-ev = "zynqmp-ev"
46 46
47PACKAGE_ARCH = "${SOC_VARIANT_ARCH}"
48
49EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ 47EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \
50 ARCH="${ARCH}" \ 48 ARCH="${ARCH}" \
51 BUILD=release \ 49 BUILD=release \
diff --git a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb
index e7e6b467..40d2aff3 100755
--- a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb
+++ b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb
@@ -22,5 +22,3 @@ EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}"
22COMPATIBLE_MACHINE = "^$" 22COMPATIBLE_MACHINE = "^$"
23COMPATIBLE_MACHINE_zynqmp = "zynqmp" 23COMPATIBLE_MACHINE_zynqmp = "zynqmp"
24COMPATIBLE_MACHINE_versal = "versal" 24COMPATIBLE_MACHINE_versal = "versal"
25
26PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
diff --git a/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb b/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb
index b26ecd94..4b21fd49 100644
--- a/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb
+++ b/meta-xilinx-bsp/recipes-kernel/hdmi/kernel-module-hdmi_git.bb
@@ -22,5 +22,3 @@ EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}"
22COMPATIBLE_MACHINE = "^$" 22COMPATIBLE_MACHINE = "^$"
23COMPATIBLE_MACHINE_zynqmp = "zynqmp" 23COMPATIBLE_MACHINE_zynqmp = "zynqmp"
24COMPATIBLE_MACHINE_versal = "versal" 24COMPATIBLE_MACHINE_versal = "versal"
25
26PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb
index 817aa380..b3f88a81 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/kernel-module-vcu.bb
@@ -25,6 +25,4 @@ RDEPENDS_${PN} = "vcu-firmware"
25COMPATIBLE_MACHINE = "^$" 25COMPATIBLE_MACHINE = "^$"
26COMPATIBLE_MACHINE_zynqmp = "zynqmp" 26COMPATIBLE_MACHINE_zynqmp = "zynqmp"
27 27
28PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
29
30KERNEL_MODULE_AUTOLOAD += "dmaproxy" 28KERNEL_MODULE_AUTOLOAD += "dmaproxy"