Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:development:erase-emmc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
products:sbc:vim4:development:erase-emmc [2022/07/05 04:34]
nick
products:sbc:vim4:development:erase-emmc [2022/08/29 23:49]
hyphop [Serial Mode (Developers)]
Line 1: Line 1:
-====== Erase eMMC ======+====== VIM4: Erase eMMC ======
  
-There are 3 ways to erase the eMMC:+There are three methods to erase the eMMC:
  
   * Serial Mode (Developers)   * Serial Mode (Developers)
Line 9: Line 9:
 <tabbox Serial Mode (Developers)> <tabbox Serial Mode (Developers)>
  
-  - Connect your PC to your SBC using a [[products:sbc:vim4:development:setup-serial-tool|Serial Debug Tool]]. +  - Connect your PC to the SBC using a [[products:sbc:vim4:development:setup-serial-tool|Serial Debug Tool]]. 
-  - Just as your SBC is booting-up, hit ''SPACE'' on your keyboard to enter U-Boot mode.+  - As the SBC is booting-up, press ''SPACE''on the keyboard to enter the U-Boot mode.
   - Type ''store boot_erase bootloader'' into the U-Boot console, and wait for the erasure process to complete.   - 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 the ''RESET'' button on your SBC.+  - After erasure is completed, type ''reboot'' or press the ''RESET'' button on your SBC.
  
 Use the following serial Terminal print-out as a reference: Use the following serial Terminal print-out as a reference:
  
-```+```shell
 kvim4# store boot_erase bootloader kvim4# store boot_erase bootloader
 GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
Line 58: Line 58:
 <tabbox CLI Mode> <tabbox CLI Mode>
  
-This erasure method is suitable for an SBC with Linux installed:+This erasure method is suitable for the SBC with Linux installed:
  
   - Power on and boot up.   - Power on and boot up.
   - Open a Terminal, and run ''dd'' to fill your bootloader partition with zeros:   - Open a Terminal, and run ''dd'' to fill your bootloader partition with zeros:
  
-``` +```sh 
-root@Khadas:~dd if=/dev/zero of=/dev/bootloader+khadas@Khadas:~$ sudo dd if=/dev/zero of=/dev/bootloader
 dd: writing to '/dev/bootloader': No space left on device dd: writing to '/dev/bootloader': No space left on device
 8193+0 records in 8193+0 records in
Last modified: 2022/09/05 04:15 by nick