meta-digi-arm: add the ccimx6adpt machine
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
38a8b8b461
commit
45f329b27a
|
|
@ -0,0 +1,10 @@
|
||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: ConnectCore 6 JumpStart Kit.
|
||||||
|
#@DESCRIPTION: Machine configuration for Digi's ConnectCore 6 JSK.
|
||||||
|
|
||||||
|
# Contains the ConnectCore 6 module.
|
||||||
|
include conf/machine/include/ccimx6.inc
|
||||||
|
|
||||||
|
KERNEL_DEVICETREE = "imx6-${MACHINE}.dtb imx6-${MACHINE}-ldo.dtb imx6-${MACHINE}-hdcp.dtb"
|
||||||
|
|
||||||
|
SERIAL_CONSOLES = "115200;ttymxc0"
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX51 module.
|
#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX51 module.
|
||||||
|
|
||||||
include conf/machine/include/imx-digi-base.inc
|
include conf/machine/include/imx-digi-base.inc
|
||||||
|
include conf/machine/include/tune-cortexa8.inc
|
||||||
|
|
||||||
SOC_FAMILY = "mx5:mx51"
|
SOC_FAMILY = "mx5:mx51"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX53 module.
|
#@DESCRIPTION: Machine configuration for Digi's ConnectCore for MX53 module.
|
||||||
|
|
||||||
include conf/machine/include/imx-digi-base.inc
|
include conf/machine/include/imx-digi-base.inc
|
||||||
|
include conf/machine/include/tune-cortexa8.inc
|
||||||
|
|
||||||
SOC_FAMILY = "mx5:mx53"
|
SOC_FAMILY = "mx5:mx53"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: ConnectCore 6 module.
|
||||||
|
#@DESCRIPTION: Machine configuration for Digi's ConnectCore 6 module.
|
||||||
|
|
||||||
|
include conf/machine/include/imx-digi-base.inc
|
||||||
|
include conf/machine/include/tune-cortexa9.inc
|
||||||
|
|
||||||
|
SOC_FAMILY = "mx6:mx6q"
|
||||||
|
|
||||||
|
# Platform u-boot settings
|
||||||
|
UBOOT_ENTRYPOINT = "0x10800000"
|
||||||
|
UBOOT_SUFFIX = "imx"
|
||||||
|
|
||||||
|
# Firmware
|
||||||
|
MACHINE_FIRMWARE ?= ""
|
||||||
|
MACHINE_FIRMWARE_append = " firmware-imx-vpu-imx6q"
|
||||||
|
|
||||||
|
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
|
||||||
|
MACHINE_EXTRA_RRECOMMENDS += "fsl-alsa-plugins"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Supported variants
|
||||||
|
#
|
||||||
|
# To build any of these variants configure MACHINE_VARIANT on the project's
|
||||||
|
# local.conf to the variant name.
|
||||||
|
#
|
||||||
|
# Name WiFi
|
||||||
|
# ------------------
|
||||||
|
# - N (empty MACHINE_VARIANT="")
|
||||||
|
# w Y
|
||||||
|
|
||||||
|
# All variants support
|
||||||
|
MACHINE_FEATURES += "accel-graphics accel-video"
|
||||||
|
|
||||||
|
# Per-variant machine features
|
||||||
|
MACHINE_FEATURES_append_w = " wifi"
|
||||||
|
|
@ -7,7 +7,9 @@ PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||||
|
|
||||||
# Digi BSP default versions
|
# Digi BSP default versions
|
||||||
PREFERRED_VERSION_linux-dey ?= "2.6.35.14"
|
PREFERRED_VERSION_linux-dey ?= "2.6.35.14"
|
||||||
|
PREFERRED_VERSION_linux-dey_mx6 ?= "3.10"
|
||||||
PREFERRED_VERSION_u-boot-dey ?= "2009.08"
|
PREFERRED_VERSION_u-boot-dey ?= "2009.08"
|
||||||
|
PREFERRED_VERSION_u-boot-dey_mx6 ?= "2013.04"
|
||||||
|
|
||||||
# Help variables used in recipes
|
# Help variables used in recipes
|
||||||
HAVE_WIFI = "${@base_contains('MACHINE_FEATURES', 'wifi', '1', '', d)}"
|
HAVE_WIFI = "${@base_contains('MACHINE_FEATURES', 'wifi', '1', '', d)}"
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,27 @@
|
||||||
# Digi's i.MX platforms common settings
|
# Digi's i.MX platforms common settings
|
||||||
include conf/machine/include/digi-defaults.inc
|
include conf/machine/include/digi-defaults.inc
|
||||||
include conf/machine/include/soc-family.inc
|
include conf/machine/include/soc-family.inc
|
||||||
include conf/machine/include/tune-cortexa8.inc
|
|
||||||
|
|
||||||
# Disable perf features as 2.6.35.3 fail to build otherwise
|
# Disable perf features as 2.6.35.3 fail to build otherwise
|
||||||
PERF_FEATURES_ENABLE = ""
|
PERF_FEATURES_ENABLE = ""
|
||||||
|
|
||||||
|
XSERVER_DRIVER = "xf86-video-fbdev"
|
||||||
|
XSERVER_DRIVER_mx5 = "xf86-video-imxfb"
|
||||||
|
XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
|
||||||
XSERVER = "xserver-xorg \
|
XSERVER = "xserver-xorg \
|
||||||
xf86-input-evdev \
|
xf86-input-evdev \
|
||||||
xf86-video-imxfb"
|
${XSERVER_DRIVER}"
|
||||||
|
|
||||||
# Ship kernel modules
|
# Ship kernel modules
|
||||||
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
||||||
|
|
||||||
|
# Float-Point setting
|
||||||
|
DEFAULTTUNE_mx6 ?= "cortexa9hf-neon"
|
||||||
|
|
||||||
# Sub-architecture support
|
# Sub-architecture support
|
||||||
MACHINE_SOCARCH ?= ""
|
MACHINE_SOCARCH ?= ""
|
||||||
MACHINE_SOCARCH_mx5 = "${TUNE_PKGARCH}-mx5"
|
MACHINE_SOCARCH_mx5 = "${TUNE_PKGARCH}-mx5"
|
||||||
|
MACHINE_SOCARCH_mx6 = "${TUNE_PKGARCH}-mx6"
|
||||||
PACKAGE_EXTRA_ARCHS_append = " ${MACHINE_SOCARCH}"
|
PACKAGE_EXTRA_ARCHS_append = " ${MACHINE_SOCARCH}"
|
||||||
|
|
||||||
MACHINE_ARCH_FILTER = "virtual/kernel"
|
MACHINE_ARCH_FILTER = "virtual/kernel"
|
||||||
|
|
@ -27,17 +33,27 @@ INHERIT += "fsl-dynamic-packagearch"
|
||||||
# Gstreamer plugin
|
# Gstreamer plugin
|
||||||
MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin"
|
MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin"
|
||||||
|
|
||||||
# MX5 GPU libraries
|
# mx5 GPU libraries
|
||||||
GPU_FLAVOUR = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11-', '', d)}"
|
GPU_FLAVOUR = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11-', '', d)}"
|
||||||
PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
||||||
PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
||||||
PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
|
||||||
|
|
||||||
|
# mx6 GPU libraries
|
||||||
|
PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"
|
||||||
|
PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
|
||||||
|
PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
|
||||||
|
PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "gpu-viv-bin-mx6q"
|
||||||
|
|
||||||
EXTRA_IMAGEDEPENDS = "u-boot"
|
EXTRA_IMAGEDEPENDS = "u-boot"
|
||||||
|
|
||||||
# Flash image types
|
# Flash image types
|
||||||
IMAGE_FSTYPES ?= "sum.jffs2 tar.bz2 ubifs"
|
IMAGE_FSTYPES ?= "sum.jffs2 tar.bz2 ubifs"
|
||||||
|
|
||||||
|
# MX6 does not have flash memory so build sdcard images
|
||||||
|
SDCARD_ROOTFS_mx6 ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4"
|
||||||
|
IMAGE_FSTYPES_mx6 ?= "ext4 sdcard tar.bz2"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
KERNEL_IMAGETYPE = "uImage"
|
||||||
|
|
||||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
|
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue