summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-06-23 00:35:33 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-30 13:28:28 +0200
commit462b4322e8128b1f245c1f6ff4e45be3106bde24 (patch)
tree8328ca9b15447ba041a8188b51f679cd127fb707
parent12ea48581e80e50dcbb0f072b7261b55ef8d107e (diff)
trdx-image-fstype: integrate apalis-tk1
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes/images/trdx-image-fstype.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index c2d28c3..ed1a132 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -9,14 +9,17 @@ U_BOOT_EXT_mx7 = "imx"
U_BOOT_EXT_vf = "imx"
U_BOOT_SYMLINK = "u-boot-${MACHINE}.${U_BOOT_EXT}"
U_BOOT_SYMLINK_tegra = "u-boot-dtb-tegra-${MACHINE}.${U_BOOT_EXT}"
+U_BOOT_SYMLINK_tegra124 = "u-boot-dtb-tegra-${MACHINE}.${U_BOOT_EXT}"
U_BOOT_BINARY = "u-boot.${U_BOOT_EXT}"
U_BOOT_BINARY_tegra = "u-boot-dtb-tegra.${U_BOOT_EXT}"
+U_BOOT_BINARY_tegra124 = "u-boot-dtb-tegra.${U_BOOT_EXT}"
#we need some native tools for deployment
DEPENDS_append_mx6 = " imx-loader-native"
DEPENDS_append_mx7 = " mtd-utils-native imx-loader-native"
#FIXME: 32-bit tegrarcm built on F20 does not run on 64-bit F20 even with properly installed 32-bit libs!
DEPENDS_append_tegra = " cbootimage-native tegrarcm-native"
+DEPENDS_append_tegra124 = " cbootimage-native tegrarcm-native"
DEPENDS_append_tegra2 = " mtd-utils-native"
DEPENDS_append_vf = " mtd-utils-native imx-loader-native"
#we need mkimage to produce the U-Boot scripts even if not building a uImage kernel
@@ -72,6 +75,17 @@ imagedeploytools_append_tegra2() {
${BUILD_STRIP} ${IMAGE_ROOT}/mkfs.ubifs
}
+imagedeploytools_append_tegra124() {
+ IMAGE_ROOT="${IMAGE_ROOTFS}/../tegra-uboot-flasher/"
+ mkdir -p ${IMAGE_ROOT}
+
+ # add cbootimage and tegrarcm
+ cp ${STAGING_BINDIR_NATIVE}/cbootimage ${IMAGE_ROOT}/
+ cp ${STAGING_BINDIR_NATIVE}/tegrarcm ${IMAGE_ROOT}/
+ ${BUILD_STRIP} ${IMAGE_ROOT}/cbootimage
+ ${BUILD_STRIP} ${IMAGE_ROOT}/tegrarcm
+}
+
imagedeploytools_append_vf() {
IMAGE_ROOT="${IMAGE_ROOTFS}/../vf_flash/"
rm -f ${IMAGE_ROOT}/mkfs.ubifs ${IMAGE_ROOT}/imx_uart