linux-dey: add support for ConnectCore 8X SBC Express

- This is an AARCH64 platform that requires to build "Image", so let's
  change KERNEL_IMAGETYPE to a weak assignment in imx-digi-base.inc
- The device tree is inside a vendor folder.
- For the moment, this platform builds from a different branch.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-5936
This commit is contained in:
Hector Palacios 2018-05-31 12:04:58 +02:00
parent 55af779bf6
commit 5ff8b186ce
4 changed files with 10 additions and 3 deletions

View File

@ -26,7 +26,7 @@ UBOOT_CONFIG ??= "ccimx8x_sbc_express"
UBOOT_CONFIG[ccimx8x_sbc_express] = "ccimx8x_sbc_express_defconfig,,u-boot-dtb.${UBOOT_SUFFIX}" UBOOT_CONFIG[ccimx8x_sbc_express] = "ccimx8x_sbc_express_defconfig,,u-boot-dtb.${UBOOT_SUFFIX}"
KERNEL_DEVICETREE ?= " \ KERNEL_DEVICETREE ?= " \
ccimx8x-sbc-express.dtb \ digi/ccimx8x-sbc-express.dtb \
" "
SERIAL_CONSOLES ?= "115200;ttyLP2" SERIAL_CONSOLES ?= "115200;ttyLP2"

View File

@ -12,6 +12,9 @@ include conf/machine/include/arm/arch-arm64.inc
UBOOT_SUFFIX = "bin" UBOOT_SUFFIX = "bin"
UBOOT_SYMLINK = "u-boot-${MACHINE}.${UBOOT_SUFFIX}" UBOOT_SYMLINK = "u-boot-${MACHINE}.${UBOOT_SUFFIX}"
# Linux kernel configuration
KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8x_defconfig"
# Wireless external module # Wireless external module
WIRELESS_MODULE ?= "" WIRELESS_MODULE ?= ""
@ -33,3 +36,6 @@ MACHINE_EXTRA_RRECOMMENDS += " \
" "
MACHINE_FEATURES += "accel-graphics accel-video wifi bluetooth" MACHINE_FEATURES += "accel-graphics accel-video wifi bluetooth"
# AARCH64 doesn't support compressed kernel images
KERNEL_IMAGETYPE = "Image"

View File

@ -106,7 +106,7 @@ PREFERRED_PROVIDER_virtual/libg2d_mx8 = "imx-dpu-g2d"
EXTRA_IMAGEDEPENDS = "u-boot" EXTRA_IMAGEDEPENDS = "u-boot"
KERNEL_IMAGETYPE = "zImage" KERNEL_IMAGETYPE ?= "zImage"
MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"

View File

@ -3,6 +3,7 @@
require recipes-kernel/linux/linux-dey.inc require recipes-kernel/linux/linux-dey.inc
SRCBRANCH = "v4.9/dey-2.4/maint" SRCBRANCH = "v4.9/dey-2.4/maint"
SRCBRANCH_ccimx8x = "v4.9.51/master"
SRCREV = "${AUTOREV}" SRCREV = "${AUTOREV}"
COMPATIBLE_MACHINE = "(ccimx6|ccimx6ul)" COMPATIBLE_MACHINE = "(ccimx6|ccimx6ul|ccimx8x)"