diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-06-23 00:35:33 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-30 13:28:28 +0200 |
commit | e1334c7588e717ec8252b15476f35eec92f85162 (patch) | |
tree | 7cd3ed1c3fddfc0484337cbbec70efacc00aba9f /recipes | |
parent | aa324976a17e9af196900b9b8354f3173b519657 (diff) |
trdx-image-fstype: integrate apalis-tk1
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/images/trdx-image-fstype.inc | 14 |
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 |