diff options
| author | Rbb666 <[email protected]> | 2023-01-17 14:16:19 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-01-19 21:40:49 -0500 |
| commit | 65adce2989e73cb47d8f751ae8792004f50c4ace (patch) | |
| tree | 994cadc09c0b525bd6f891127c380c5ddfea6d16 | |
| parent | d5a5a32273a4b448d488e9deba6703e06f5c176a (diff) | |
[D1s]Add mksdcard.sh
| -rwxr-xr-x | bsp/allwinner/d1s/mksdcard.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp/allwinner/d1s/mksdcard.sh b/bsp/allwinner/d1s/mksdcard.sh new file mode 100755 index 0000000000..2f465bc4c1 --- /dev/null +++ b/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/* :: + |
