mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-18 18:39:11 +08:00
[D1s]Add mksdcard.sh
This commit is contained in:
parent
d5a5a32273
commit
65adce2989
7
bsp/allwinner/d1s/mksdcard.sh
Executable file
7
bsp/allwinner/d1s/mksdcard.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
if [ ! -f "sdroot.bin" ]; then
|
||||||
|
dd if=/dev/zero of=sdroot.bin bs=1M count=4
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkfs.fat sdroot.bin
|
||||||
|
mcopy -i sdroot.bin root/bin/* ::
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user