[3rdparty][PATCH] ventana: Add 'use-mainline-bsp' support


Tim Harvey
 

The 'use-mainline-bsp' makes use of linux-fslc as kernel and removes
the not yet supported device-tree files from installation set.

Signed-off-by: Tim Harvey <tharvey@...>
---
conf/machine/ventana.conf | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/conf/machine/ventana.conf b/conf/machine/ventana.conf
index e5abd3f..9cd1a55 100644
--- a/conf/machine/ventana.conf
+++ b/conf/machine/ventana.conf
@@ -12,8 +12,8 @@ require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-gateworks-imx"
PREFERRED_PROVIDER_u-boot = "u-boot-gateworks-imx"

-PREFERRED_PROVIDER_virtual/kernel = "linux-gateworks-imx"
-PREFERRED_PROVIDER_kernel = "linux-gateworks-imx"
+PREFERRED_PROVIDER_virtual/kernel ??= "linux-gateworks-imx"
+PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc"

KERNEL_DEVICETREE = " \
imx6q-gw5400-a.dtb \
@@ -37,6 +37,9 @@ KERNEL_DEVICETREE = " \

KERNEL_IMAGETYPE = "uImage"

+# Not yet supported by Linux mainline
+KERNEL_DEVICETREE_remove_use-mainline-bsp = "imx6q-gw560x.dtb imx6dl-gw560x.dtb"
+
MACHINE_FEATURES += "pci wifi bluetooth"

# Add kernel modules
@@ -56,6 +59,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "\
# Bootloader configs:
UBOOT_CONFIG ??= "std"
UBOOT_CONFIG[std] = "gwventana_config"
+UBOOT_ENTRYPOINT_use-mainline-bsp = "0x10008000"

SERIAL_CONSOLE = "115200 ttymxc1"

--
2.7.4

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.