From 462b4322e8128b1f245c1f6ff4e45be3106bde24 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 23 Jun 2016 00:35:33 +0200 Subject: trdx-image-fstype: integrate apalis-tk1 Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- recipes/images/trdx-image-fstype.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3