mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-21 10:53:31 +08:00
6 lines
205 B
Bash
6 lines
205 B
Bash
|
#/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
|