There are 3 ways to erase the eMMC:
- Serial Mode (Developers)
- Interrupt Mode
- CLI Mode
- Connect your PC to your SBC using a Serial to USB tool.
- Just as your SBC is booting-up, hit
SPACE
on your keyboard to enter U-Boot mode. - Type
store boot_erase bootloader
into the U-Boot console, and wait for the erasure process to complete. - After erasure is complete, type
reboot
or press theRESET
button on your SBC.
Use the following serial Terminal print-out as a reference:
1 | kvim4# store boot_erase bootloader |
TipsIf the eMMC has been erased, the serial Terminal should show this print-out when your SBC powers-on:
1 T7:BL:055c20;ID:7CFDCF5E6052BDEC;FEAT:30F:1FFF0000:B002F:1;POC:CF;RCY:0;OVD:0;DFU:0;SD:2002;eMMC:0;RD-0:0;CHK:1;RD-1:0;CHK:1;RD-2:0;CHK:1;SPINOR:0;RD-0:0;CHK:1;RD-1:0;CHK:1;USB:ADFU�T7:BL:055c20;ID:7CFDCF5E6052BDEC;FEAT:30F:1FFF0000:B002F:1;POC:CF;RCY:0;OVD:0;DFU:1;USB:0;RD-00:0;
This erasure method is suitable for all products that use the Amlogic SoC:
- Carry out eMMC flashing via a USB-C cable or SD card.
- Manually interrupt the upgrading process (forcefully disconnect after 15% is recommended). For example, unplug the USB-C cable or eject the SD card.
- Power on your SBC again, and you’ll find that all the data on the eMMC has been erased.
This erasure method is suitable for an SBC with Linux installed:
- Power on and boot up.
- Open a Terminal, and run
dd
to fill your bootloader partition with zeros:
1 | root@Khadas:~# dd if=/dev/zero of=/dev/bootloader |