Flashing an SD card using dd is slow, is there another option to increase speed?
Asked
Active
Viewed 199 times
1
-
3Did you call `dd` with option `bs`, such as `dd bs=4M` will speed it up that the default is 512 bytes. – Kai Jan 03 '23 at 07:18
-
@Kai Thanks for suggestion, I will try and post the difference here :) – Florian Berndl Jan 03 '23 at 07:43
1 Answers
1
Using the bmaptool should increase the speed 10+ times.
IMAGE_FSTYPES += "wic wic.bmap"
bitbake <image>
Flash the device
sudo chmod 666 /dev/sdX
oe-run-native bmap-tools-native bmaptool copy build-directory/tmp/deploy/images/<machine>/<image>.wic /dev/sdX

Florian Berndl
- 1,136
- 8
- 27