summaryrefslogtreecommitdiffstats
path: root/bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf')
-rw-r--r--bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf25
1 files changed, 19 insertions, 6 deletions
diff --git a/bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf b/bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf
index a03853d9..8c66ceda 100644
--- a/bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf
+++ b/bsp/meta-freescale-3rdparty/conf/machine/colibri-vf.conf
@@ -9,10 +9,19 @@ MACHINEOVERRIDES =. "vf:vf50:vf60:"
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa5.inc
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex"
+PREFERRED_PROVIDER_virtual/kernel_use-nxp-bsp ??= "linux-toradex"
+
KERNEL_IMAGETYPE = "zImage"
-KERNEL_DEVICETREE += "vf500-colibri-eval-v3.dtb vf610-colibri-eval-v3.dtb \
- vf500-colibri-aster.dtb vf610-colibri-aster.dtb"
+
+KERNEL_DEVICETREE = " \
+ vf500-colibri-eval-v3.dtb \
+ vf610-colibri-eval-v3.dtb \
+"
+
+KERNEL_DEVICETREE_append_use-nxp-bsp = " \
+ vf500-colibri-aster.dtb \
+ vf610-colibri-aster.dtb \
+"
# U-Boot of our newer release read the Kernel and device tree from static UBI volumes,
# hence no need to deploy the kernel binary in the image itself
@@ -22,17 +31,21 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils"
PREFERRED_RPROVIDER_u-boot-fw-utils ?= "u-boot-toradex-fw-utils"
+PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
PREFERRED_PROVIDER_virtual/kernel-module-mcc ?= "kernel-module-mcc-toradex"
PREFERRED_PROVIDER_virtual/kernel-module-mcc-dev ?= "kernel-module-mcc-toradex"
PREFERRED_VERSION_mqxboot ?= "1.%"
+PREFERRED_VERSION_weston_use-nxp-bsp = ""
# U-Boot NAND binary includes 0x400 padding required for NAND boot
-UBOOT_BINARY ?= "u-boot-nand.imx"
-UBOOT_MAKE_TARGET = "u-boot-nand.imx"
+UBOOT_BINARY = "u-boot-nand.imx"
+UBOOT_MAKE_TARGET = "u-boot.imx"
UBOOT_MACHINE ?= "colibri_vf_defconfig"
IMAGE_FSTYPES += "tar.xz ubifs"
# wic support
+IMAGE_BOOT_FILES_append = " boot.scr-${MACHINE};boot.scr"
+WKS_FILE_DEPENDS_append = " u-boot-default-script"
WKS_FILE = "sdimage-bootpart.wks"
# Enable free --space-fixup (-F) by default, this allows DFU updates
@@ -40,6 +53,6 @@ MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
UBINIZE_ARGS = " -p 128KiB -m 2048 -s 2048"
UBI_VOLNAME = "rootfs"
-SERIAL_CONSOLE = "115200 ttyLP0"
+SERIAL_CONSOLES = "115200;ttyLP0"
MACHINE_FEATURES += "usbgadget usbhost vfat alsa touchscreen"