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....@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.schwierz...@gmail.com>

--
- Daniel

Reply via email to