]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: mtk_image: add support for MT7621 NAND images
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 20 May 2022 03:24:10 +0000 (11:24 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 13 Jul 2022 21:03:37 +0000 (23:03 +0200)
commitc561d14c38876db6da66cc33527ed038eb5a9b72
tree5715df665ad0a4edecfc303cb008c0654878715a
parent4620e8aabc1431f2de3f4f5c1b22d4bc599e57b6
tools: mtk_image: add support for MT7621 NAND images

The BootROM of MT7621 requires a image header for SPL to record its size
and load address when booting from NAND.

To create such an image, one can use the following command line:
mkimage -T mtk_image -a 0x80200000 -e 0x80200000 -n "mt7621=1"
-d u-boot-spl-ddr.bin u-boot-spl-ddr.img

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
tools/mtk_image.c
tools/mtk_image.h