diff options
-rw-r--r-- | conf/machine/apalis-imx6.conf | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf new file mode 100644 index 0000000..a9b9af0 --- /dev/null +++ b/conf/machine/apalis-imx6.conf @@ -0,0 +1,38 @@ +#@TYPE: Machine +#@NAME: Toradex Apalis iMX6Q/D +#@SOC: i.MX6Q +#@DESCRIPTION: Machine configuration for Toradex Apalis iMX6 SOM +#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com> + +MACHINEOVERRIDES =. "mx6:mx6q:" + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/kernel ??= "linux-toradex" +PREFERRED_PROVIDER_virtual/kernel_use-mainline-bsp ??= "linux-fslc" +KERNEL_DEVICETREE += "imx6q-apalis-eval.dtb imx6q-apalis-ixora.dtb \ + imx6q-apalis-ixora-v1.1.dtb" +KERNEL_DEVICETREE_use-mainline-bsp += "imx6q-apalis-ixora.dtb" +KERNEL_IMAGETYPE = "zImage" +# The kernel lives in a seperate FAT partition, don't deploy it in /boot/ +RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" + +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" + +SPL_BINARY = "SPL" +# The SPL configures the DDR RAM depending on the module it runs on. Thus there +# is no need to distingush between the different module types. +UBOOT_CONFIG ??= "spl" +UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img" +UBOOT_MAKE_TARGET = "" +UBOOT_ENTRYPOINT_use-mainline-bsp = "0x10008000" + +IMAGE_FSTYPES += "tar.xz" +# wic support +WKS_FILE = "sdimage-bootpart.wks" + +MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g pci" |