]> git.baikalelectronics.ru Git - uboot.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)
commitd04874e344b229d9a4a432a70b3e721b02f07283
tree5715df665ad0a4edecfc303cb008c0654878715a
parent137af4b618eb5e82446109ad76ad215811f0201a
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