summaryrefslogtreecommitdiff
path: root/conf/machine/include/apalis-imx6.inc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-05-06 12:25:59 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-12-23 22:15:42 +0100
commit630001b63e35258d074313f1d8882488ec998df8 (patch)
treef6f5a6a6efdb3f6a00707b5b417d320a902ea66d /conf/machine/include/apalis-imx6.inc
parentc75fd6cad03715ea248ad363719eee8741ae046a (diff)
machines: upstream changes for 2.7.4 image
Add a inc file to allow downstream specific amendments. Currently used to inject Toradex Easy Installer image creation. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'conf/machine/include/apalis-imx6.inc')
-rw-r--r--conf/machine/include/apalis-imx6.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/machine/include/apalis-imx6.inc b/conf/machine/include/apalis-imx6.inc
new file mode 100644
index 0000000..165ba66
--- /dev/null
+++ b/conf/machine/include/apalis-imx6.inc
@@ -0,0 +1,15 @@
+IMAGE_CLASSES_append = " image_type_tezi"
+IMAGE_FSTYPES_append = " teziimg"
+TORADEX_PRODUCT_IDS = "0027 0028 0029 0035"
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "2"
+OFFSET_SPL_PAYLOAD = "138"
+
+# 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 IVT which runs without SPL. It uses
+# save timings for all known Apalis iMX6.
+# Note: The last config will be symlinked to UBOOT_BINARY which is crucial for
+# certain image formats.
+UBOOT_CONFIG ?= "recover spl"
+UBOOT_CONFIG[recover] = "apalis_imx6_nospl_it_defconfig,,u-boot.imx"