I want to copy the same configuration on more riotboards. How can i handle this with the emcc-flash not the sd-card?.
I want to copy the same configuration on more riotboards. How can i handle this with the emcc-flash not the sd-card?.
just for records:
block size can be determined using below command
blockdev --getbsz /dev/mmcblk1
In my case:
➜ ~ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p1 28G 18G 8.8G 67% /
none 16G 0 16G 0% /dev
tmpfs 16G 88K 16G 1% /dev/shm
tmpfs 16G 31M 16G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 3.2G 12K 3.2G 1% /run/user/120
tmpfs 3.2G 116K 3.2G 1% /run/user/1000
/dev/mmcblk1p1 29G 29G 0 100% /media/lvision/AGX-SD
And I got the following No space left on device ERROR
➜ ~ sudo dd bs=1024 if=/dev/mmcblk0 of=/dev/mmcblk1
[sudo] password for lvision:
dd: error writing '/dev/mmcblk1': No space left on device
30318593+0 records in
30318592+0 records out
31046238208 bytes (31 GB, 29 GiB) copied, 4605.66 s, 6.7 MB/s
while I tried to dd mmcblk0 which is ONLY used 18G to mmcblk1 which is of 29G size.
In my case:
➜ ~ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p1 28G 18G 8.8G 67% /
none 16G 0 16G 0% /dev
tmpfs 16G 88K 16G 1% /dev/shm
tmpfs 16G 31M 16G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 3.2G 12K 3.2G 1% /run/user/120
tmpfs 3.2G 116K 3.2G 1% /run/user/1000
/dev/mmcblk1p1 29G 29G 0 100% /media/lvision/AGX-SD
And I got the following No space left on device ERROR
➜ ~ sudo dd bs=1024 if=/dev/mmcblk0 of=/dev/mmcblk1
[sudo] password for lvision:
dd: error writing '/dev/mmcblk1': No space left on device
30318593+0 records in
30318592+0 records out
31046238208 bytes (31 GB, 29 GiB) copied, 4605.66 s, 6.7 MB/s
while I tried to dd mmcblk0 which is ONLY used 18G to mmcblk1 which is of 29G size.