[D1s]Add mksdcard.sh

This commit is contained in:
Rbb666
2023-01-19 21:40:49 -05:00
committed by Man, Jianting (Meco)
parent d5a5a32273
commit 65adce2989
+7
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/* ::