Browse Source

[D1s]Add mksdcard.sh

Rbb666 2 năm trước cách đây
mục cha
commit
65adce2989
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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/* ::
+