From 89b8f5310a4096486c97e26c11e6d997f5ae6c8d Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 3 Oct 2017 02:14:45 +0200 Subject: 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 Acked-by: Stefan Agner --- conf/machine/apalis-imx6.conf | 3 +++ conf/machine/colibri-imx6.conf | 3 +++ conf/machine/colibri-imx7-emmc.conf | 2 ++ 3 files changed, 8 insertions(+) (limited to 'conf') 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" -- cgit v1.2.3