summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-10-03 02:14:45 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2017-10-03 17:28:59 +0200
commit89b8f5310a4096486c97e26c11e6d997f5ae6c8d (patch)
treef75489373c9813953f41d0bb12be0bc926d35300 /conf
parent57d4f6798074b1344977b13816eb4936186eded6 (diff)
apalis/colibri-imx6.conf/colibri-imx7-emmc.conf: payload offsets
Prepare for configurable boot ROM and SPL payload offsets to be applied to resp. image.json for Toradex Easy Installer. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/apalis-imx6.conf3
-rw-r--r--conf/machine/colibri-imx6.conf3
-rw-r--r--conf/machine/colibri-imx7-emmc.conf2
3 files changed, 8 insertions, 0 deletions
diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf
index 33b9611..1858145 100644
--- a/conf/machine/apalis-imx6.conf
+++ b/conf/machine/apalis-imx6.conf
@@ -29,6 +29,9 @@ UBOOT_CONFIG ??= "recover spl"
UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img"
UBOOT_CONFIG[recover] = "apalis_imx6_nospl_it_defconfig,,u-boot.imx"
UBOOT_MAKE_TARGET = ""
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "2"
+OFFSET_SPL_PAYLOAD = "138"
IMAGE_CLASSES += "image_type_tezi"
IMAGE_FSTYPES = "tar.xz teziimg"
diff --git a/conf/machine/colibri-imx6.conf b/conf/machine/colibri-imx6.conf
index 0428dd6..3ed15e9 100644
--- a/conf/machine/colibri-imx6.conf
+++ b/conf/machine/colibri-imx6.conf
@@ -27,6 +27,9 @@ UBOOT_CONFIG ??= "recover spl"
UBOOT_CONFIG[spl] = "colibri_imx6_defconfig,,u-boot.img"
UBOOT_CONFIG[recover] = "colibri_imx6_nospl_defconfig,,u-boot.imx"
UBOOT_MAKE_TARGET = ""
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "2"
+OFFSET_SPL_PAYLOAD = "138"
IMAGE_CLASSES += "image_type_tezi"
IMAGE_FSTYPES = "sdcard.gz tar.xz teziimg"
diff --git a/conf/machine/colibri-imx7-emmc.conf b/conf/machine/colibri-imx7-emmc.conf
index c341ab0..6b21c5e 100644
--- a/conf/machine/colibri-imx7-emmc.conf
+++ b/conf/machine/colibri-imx7-emmc.conf
@@ -20,6 +20,8 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
UBOOT_MACHINE ?= "colibri_imx7_emmc_defconfig"
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "2"
IMAGE_CLASSES += "image_type_tezi"
IMAGE_FSTYPES = "sdcard.gz tar.xz teziimg"