summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-11-30 14:51:17 +0100
committerStefan Agner <stefan.agner@toradex.com>2017-01-09 15:06:12 -0800
commit4f2e91dee0a9b031ad19058a6b9193540d1ce455 (patch)
tree8055221333981f038dd8aba506af00e4e94d6633 /conf
parent7efea12005acac3f9f84c529cd0b2e1adae6a61c (diff)
apalis/colibri imx6: add machines which build a spl u-boot
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/apalis-imx6.conf32
-rw-r--r--conf/machine/colibri-imx6.conf31
2 files changed, 63 insertions, 0 deletions
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 <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"
+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 <max.krummenacher@toradex.com>
+
+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"