[PATCH v5 24/25] tools: mtk_image: add support for MT7621 NAND images

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed May 18 00:06:01 CEST 2022



On 16.05.22 04:44, Weijie Gao wrote:
> 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
> 
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
> v5 changes: none
> v4 changes: new
> ---
>   tools/mtk_image.c | 182 ++++++++++++++++++++++++++++++++++++++++++++++
>   tools/mtk_image.h |  24 ++++++
>   2 files changed, 206 insertions(+)
> 

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list