rt-thread-official/bsp/allwinner/d1s/mksdimg.sh

6 lines
205 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#/bin/sh
./mkimage -T sunxi_toc1 -d toc1.cfg sd.bin
# offset: 8K of spl+48K of toc1
#sudo dd if=boot0_sdcard_sun20iw1p1_d1s.bin of=/dev/sdb bs=1024 seek=8
#sudo dd if=sd.bin of=/dev/sdb bs=1024 seek=56