There are 3 different ways to erase all data on the onboard eMMC storage:
- Serial Mode (For developers)
- Interrupt Mode
- CLI Mode
- Refer to this guide to setup the Serial Tool for your VIM
- Once again, ensure you’ve done the correct connections and setup
- Hit
SPACE
key at the moment of bootup to stop autoboot. This step will make your VIM enter into u-boot mode - Type
store boot_erase bootloader
on the terminal of u-boot, and wait for the erasure process to complete - Type
reboot
or press theReset
button - Use the following as a reference:
1 | kvim4# store boot_erase bootloader |
TipsIf the erasure process completed successfully, the terminal should look like this when you power on your device:
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 approach is suitable for all products that use the Amlogic SoC:
- Carry out normal upgrading via USB-C Cable or TF Card
- Manually interrupt the upgrading process (forcefully disconnect after 15% is recommended). For example, unplug the USB-C cable or the TF card
- Power on your VIM again, and you’ll find that all the data on the eMMC has been erased
This approach is suitable for a VIM that has 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 |