We split emmc into several partition. One of these is around 5GB.
We would like to erase and reflash new image into it in ubuntu.
We use dd to erase all old contents on it.
dd if=/dev/zero of=/dev/mmcblk0p2 bs=1M
But this takes a long time.
We find the flash tool could erase the emmc very quickly.
Does anyone know how the flash tool erase the emmc?