Ver código fonte

[D1s]Add mksdcard.sh

Rbb666 2 anos atrás
pai
commit
65adce2989
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      bsp/allwinner/d1s/mksdcard.sh

+ 7 - 0
bsp/allwinner/d1s/mksdcard.sh

@@ -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/* ::
+