Emmc problem
Update: I don't get the first error anymore, but now I get this problem: I'm able to do the lc_distro_transfer, but I get an error during grub install: "failed to register the EFI boot entry: no such file or directory"
Hello,
I think I did something wrong. And when trying to do the sudo lc_distro_transfer I get the error /dev/mmcblk0 is not a block device
Any suggestions on how to fix this.
Hello,
I think I did something wrong. And when trying to do the sudo lc_distro_transfer I get the error /dev/mmcblk0 is not a block device
Any suggestions on how to fix this.
Comments
Is there a way to completely clear the emmc module and restart?
sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1
Or if you want to clear the whole module by writing it full of 0's:
sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M
Just a sidenote, the BEST way to clear a mmc module would be to trim it but the Amlogic mmc driver does not have trimming enabled. This would not write 0s to the module but tell the module to erase ITSELF from INSIDE itself:
sudo blkdiscard /dev/mmcblk0
But it's not supported and looks like no-one is pursuing enabling this for the upstream kernel.