summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-04-19 17:54:39 +0200
committerStefan Agner <stefan.agner@toradex.com>2018-06-18 09:16:23 +0200
commit798a9140efded4bcf08ddf0793882e889afa677b (patch)
tree2b7dbffb759c2498c518dde5a9bb2c9798b9cc3d
parent5a5f979b5a717fef333d0835e4431e4cf9221cc1 (diff)
apalis-t30: enable Toradex Easy Installer image
Add Toradex Easy Installer image class and the image type with all required variables to the Apalis T30 machine config. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--conf/machine/apalis-t30.conf17
1 files changed, 16 insertions, 1 deletions
diff --git a/conf/machine/apalis-t30.conf b/conf/machine/apalis-t30.conf
index f8d5591..8bb3161 100644
--- a/conf/machine/apalis-t30.conf
+++ b/conf/machine/apalis-t30.conf
@@ -10,6 +10,17 @@ UBOOT_MACHINE = "apalis_t30_defconfig"
UBOOT_ENTRYPOINT = "0x82008000"
UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}"
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "0"
+
+TEZI_DISTRO_BOOT_SCRIPTS = "boot.scr"
+TEZI_UBOOT_BINARY_EMMC = "apalis_t30.img"
+
+# require u-boot-dtb-tegra.bin to be used
+UBOOT_IMAGE = "u-boot-dtb-tegra-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_BINARY = "u-boot-dtb-tegra.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-dtb-tegra-${MACHINE}.${UBOOT_SUFFIX}"
+
PREFERRED_PROVIDER_lxde-icon-theme_apalis-t30 = "lxde-icon-theme"
PREFERRED_PROVIDER_lxsession-lite_apalis-t30 = "lxsession"
PREFERRED_PROVIDER_virtual/psplash = "psplash-angstrom"
@@ -20,7 +31,11 @@ EXTRA_IMAGEDEPENDS += "u-boot"
# used by sysvinit_2
SERIAL_CONSOLE = "115200 ttyS0"
-IMAGE_FSTYPES ?= "tar.xz"
+IMAGE_CLASSES += "image_type_tezi"
+IMAGE_FSTYPES = "tar.xz teziimg"
+
+TORADEX_PRODUCT_IDS = "0025 0026 0031"
+TORADEX_FLASH_TYPE = "emmc"
DEFAULTTUNE = "armv7athf-neon"
require conf/machine/include/tune-cortexa9.inc