summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-10-03 17:09:49 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-10-05 02:26:20 +0200
commit942eeb98172f74e9fbf8f6053cf241e3fb98110b (patch)
tree6396087769a821abf7ed95058e45e1d72261c13e /conf/machine
parent8a33be9d2f51208146f104a288ee3528bc91df57 (diff)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/apalis-tk1-mainline.conf8
-rw-r--r--conf/machine/apalis-tk1.conf8
2 files changed, 14 insertions, 2 deletions
diff --git a/conf/machine/apalis-tk1-mainline.conf b/conf/machine/apalis-tk1-mainline.conf
index 70810cf..029af6a 100644
--- a/conf/machine/apalis-tk1-mainline.conf
+++ b/conf/machine/apalis-tk1-mainline.conf
@@ -21,6 +21,8 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex"
UBOOT_MACHINE = "apalis-tk1_defconfig"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}"
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "0"
PREFERRED_PROVIDER_lxde-icon-theme_apalis-tk1-mainline = "lxde-icon-theme"
PREFERRED_PROVIDER_lxsession-lite_apalis-tk1-mainline = "lxsession"
@@ -47,7 +49,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 = "0034"
+TORADEX_FLASH_TYPE = "emmc"
DEFAULTTUNE = "cortexa15hf-neon"
require conf/machine/include/tune-cortexa15.inc
diff --git a/conf/machine/apalis-tk1.conf b/conf/machine/apalis-tk1.conf
index 9ed40b0..02c65b1 100644
--- a/conf/machine/apalis-tk1.conf
+++ b/conf/machine/apalis-tk1.conf
@@ -20,6 +20,8 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex"
UBOOT_MACHINE = "apalis-tk1_defconfig"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "${UBOOT_ENTRYPOINT}"
+# The payload offsets are given in number of 512 byte blocks.
+OFFSET_BOOTROM_PAYLOAD = "0"
PREFERRED_PROVIDER_lxde-icon-theme_apalis-tk1 = "lxde-icon-theme"
PREFERRED_PROVIDER_lxsession-lite_apalis-tk1 = "lxsession"
@@ -50,7 +52,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 = "0034"
+TORADEX_FLASH_TYPE = "emmc"
DEFAULTTUNE = "cortexa15hf-neon"
require conf/machine/include/tune-cortexa15.inc