I’m trying to clear my linux image from the eMMC of my Banana Pi M5, and based on the wiki, I have to access the uboot command line to do that.
I connected an usb-to-serial adapter and I can see the boot messages, but I’m not able to stop the boot process and enter the uboot command line. I’ve tried pressing the ESC and other keys, but nothing worked.
What is the issue? How can I stop the boot process and enter the uboot command line?
Ah great, this worked and I was able to get into uboot.
However, for some reason using the mmc command wants to operate on the SD card by default instead on the eMMC:
=> mmc info
Card did not respond to voltage select! : -110
=> mmc list
sd@ffe05000: 0
mmc@ffe07000: 1
How can I use the mmc command on the eMMC to clear it?
(Note: it might be that I actually managed to clear the eMMC by inserting a bootable USB, pressing the SW4 switch on power on and removing the USB during boot (I read somewhere that it causes the eMMC to erase). Could that be the reason why it want’s to default to the SD card?)