Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s:development:erase-emmc

This is an old revision of the document!


VIM1S Erase eMMC

There are 3 ways to erase the eMMC:

  • Serial Mode (Developers)
  • Interrupt Mode
  • CLI Mode
  1. Connect your PC to the SBC using a Serial Debug Tool.
  2. As the SBC is booting-up, press SPACEon the keyboard to enter the U-Boot mode.
  3. Type store boot_erase bootloader into the U-Boot console, and wait for the erasure process to complete.
  4. After erasure is completed, type reboot or press the RESET button on your SBC.

Use the following serial Terminal print-out as a reference:

kvim1s# store boot_erase bootloader
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
gpt is invalid


Caution! Your devices Erase group is 0x400
The erase range would be change to 0x0~0x23ff

8191 blocks erased: OK


Caution! Your devices Erase group is 0x400
The erase range would be change to 0x0~0x23ff

8191 blocks erased: OK


Caution! Your devices Erase group is 0x400
The erase range would be change to 0x0~0x23ff

8191 blocks erased: OK
kvim1s# reboot

If the eMMC has been erased, the serial Terminal should show this print-out when your SBC powers-on:

S4:BL:25dcde;ID:00D9C31D04901F08;FEAT:30F:1FFF0000:B002F:1;POC:DD;RCY:0;OVD:0;DFU:0;USB:ADFU�S4:BL:25dcde;ID:00D9C31D04901F08;FEAT:30F:1FFF0000:B002F:1;POC:DD;RCY:0;OVD:0;DFU:1;USB:0;RD-00:0;
Last modified: 2022/08/22 02:25 by frank