Skip to contentSkip to conversation

ventana: Add 'use-mainline-bsp' support

PATCH New Tim Harvey 1 participant 1 message Apr 19, 2017

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 ventana: Add 'use-mainline-bsp' support

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

---
 conf/machine/ventana.conf | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
conf/machine/ventana.conf +6 -2
index e5abd3f..9cd1a55 100644
@@ -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"
 
Signature · 1 line
2.7.4