From 4f2e91dee0a9b031ad19058a6b9193540d1ce455 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 30 Nov 2016 14:51:17 +0100 Subject: apalis/colibri imx6: add machines which build a spl u-boot Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- conf/machine/apalis-imx6.conf | 32 ++++++++++++++++++++++++++++++++ conf/machine/colibri-imx6.conf | 31 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 conf/machine/apalis-imx6.conf create mode 100644 conf/machine/colibri-imx6.conf (limited to 'conf') diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf new file mode 100644 index 0000000..81ea0ae --- /dev/null +++ b/conf/machine/apalis-imx6.conf @@ -0,0 +1,32 @@ +#@TYPE: Machine +#@NAME: Toradex Apalis iMX6Q/D +#@SOC: i.MX6 +#@DESCRIPTION: Machine configuration for Toradex Apalis iMX6 SOM +#@MAINTAINER: Max Krummenacher + +MACHINEOVERRIDES =. "mx6:mx6q:" + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex" +KERNEL_DEVICETREE += "imx6q-apalis-eval.dtb imx6q-apalis_v1_0-eval.dtb \ + imx6q-apalis-ixora.dtb imx6q-apalis_v1_0-ixora.dtb" +KERNEL_IMAGETYPE = "uImage" + +PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex" +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex" +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. +# For recovery mode we build a U-Boot with save timings for all known Apalis iMX6 +UBOOT_CONFIG ??= "spl recover" +UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img" +UBOOT_CONFIG[recover] = "apalis_imx6_nospl_it_defconfig,,u-boot.imx" +UBOOT_MAKE_TARGET = "" + +IMAGE_FSTYPES = "sdcard.gz tar.xz" + +SERIAL_CONSOLE ?= "115200 ttymxc0" + +MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g pci" diff --git a/conf/machine/colibri-imx6.conf b/conf/machine/colibri-imx6.conf new file mode 100644 index 0000000..52c718c --- /dev/null +++ b/conf/machine/colibri-imx6.conf @@ -0,0 +1,31 @@ +#@TYPE: Machine +#@NAME: Toradex Colibri iMX6DL/S +#@SOC: i.MX6 DL/S +#@DESCRIPTION: Machine configuration for Toradex Colibri iMX6 SOM +#@MAINTAINER: Max Krummenacher + +MACHINEOVERRIDES =. "mx6:mx6dl:" + +include conf/machine/include/imx-base.inc +include conf/machine/include/tune-cortexa9.inc + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex" +KERNEL_DEVICETREE += "imx6dl-colibri-eval-v3.dtb imx6dl-colibri-cam-eval-v3.dtb" +KERNEL_IMAGETYPE = "uImage" + +PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex" +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex" +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. +# For recovery mode we build a U-Boot with save timings for all known Apalis iMX6 +UBOOT_CONFIG ??= "spl recover" +UBOOT_CONFIG[spl] = "colibri_imx6_defconfig,,u-boot.img" +UBOOT_CONFIG[recover] = "colibri_imx6_nospl_defconfig,,u-boot.imx" +UBOOT_MAKE_TARGET = "" + +IMAGE_FSTYPES = "sdcard.gz tar.xz" + +SERIAL_CONSOLE ?= "115200 ttymxc0" + +MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g" -- cgit v1.2.3