]> git.baikalelectronics.ru Git - uboot.git/commit
tools: mtk_image: add support for booting ARM64 images
authorFabien Parent <fparent@baylibre.com>
Fri, 16 Oct 2020 17:52:37 +0000 (19:52 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jan 2021 19:59:29 +0000 (14:59 -0500)
commit04645da9ea21305f9ad9d67023e0c3f77c8fb770
tree7d4d4d50ca69b9d564750dfe121bc3c0d1ecd089
parent25f986145a6ddb6c6feeff0e91d9ddbc57507d98
tools: mtk_image: add support for booting ARM64 images

mkimage is only able to package aarch32 binaries. Add support for
AArch64 images.

One can create a ARM64 image using the following command line:
mkimage -T mtk_image -a 0x201000 -e 0x201000 -n "media=emmc;arm64=1"
-d bl2.bin bl2.img

Signed-off-by: Fabien Parent <fparent@baylibre.com>
tools/mtk_image.c
tools/mtk_image.h