[D1s]Add mksdcard.sh

This commit is contained in:
Rbb666 2023-01-17 14:16:19 +08:00 committed by Man, Jianting (Meco)
parent d5a5a32273
commit 65adce2989
1 changed files with 7 additions and 0 deletions

7
bsp/allwinner/d1s/mksdcard.sh Executable file
View 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/* ::