This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:vim-5:development:erase-emmc [2026/09/15 02:51] 127.0.0.1 external edit |
products:sbc:vim-5:development:erase-emmc [2026/09/15 03:02] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | There are three methods to erase the eMMC: | + | {{page> |
| - | + | ||
| - | * Serial Mode (Developers) | + | |
| - | * Interrupt Mode | + | |
| - | * CLI Mode | + | |
| - | + | ||
| - | <tabbox Serial Mode (Developers)> | + | |
| - | + | ||
| - | - Connect your PC to the SBC using a [[products: | + | |
| - | - As the SBC is booting-up, press '' | + | |
| - | - Type '' | + | |
| - | - After erasure is completed, type '' | + | |
| - | + | ||
| - | Use the following serial Terminal print-out as a reference: | + | |
| - | + | ||
| - | ```shell | + | |
| - | kvim4# 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 | + | |
| - | kvim4# reboot | + | |
| - | ``` | + | |
| - | + | ||
| - | If the eMMC has been erased, the serial Terminal should show this print-out when your SBC powers-on: | + | |
| - | + | ||
| - | ```txt | + | |
| - | T7: | + | |
| - | ``` | + | |
| - | + | ||
| - | <tabbox Interrupt Mode> | + | |
| - | + | ||
| - | This erasure method is suitable for all products that use the Amlogic SoC: | + | |
| - | + | ||
| - | - Carry out eMMC flashing via a [[products: | + | |
| - | - Manually interrupt the upgrading process (forcefully disconnect after 15% is recommended). For example, unplug the USB-C cable or eject the TF card. | + | |
| - | - Power on your SBC again, and you'll find that all the data on the eMMC has been erased. | + | |
| - | + | ||
| - | <tabbox CLI Mode> | + | |
| - | + | ||
| - | This erasure method is suitable for the SBC with Linux installed: | + | |
| - | + | ||
| - | - Power on and boot up. | + | |
| - | - Open a Terminal, and run '' | + | |
| - | + | ||
| - | ```sh | + | |
| - | khadas@Khadas: | + | |
| - | dd: writing to '/ | + | |
| - | 8193+0 records in | + | |
| - | 8192+0 records out | + | |
| - | 4194304 bytes (4.2 MB, 4.0 MiB) copied, 1.1226 s, 3.7 MB/s | + | |
| - | root@Khadas: | + | |
| - | ``` | + | |
| - | </ | + | |