Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Zero/install/eMMC erase"

< Zero‎ | install
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
=== How to erase eMMC ===
 
=== How to erase eMMC ===
  
This guide describes how to erase bootloader on Radxa Zero's eMMC. This can be used to ensure Radxa Zero will boot from microSD card, or clear seriously corrupted eMMC (for example, getting <code>** Invalid partition 1 **</code> error in U-Boot message) that you cannot enable USB mass storage mode with <code>rz-udick-loader.bin</code>.
+
This guide describes how to erase Radxa Zero series eMMC for installing a new system. Beware that this is not a secure erase, and only the bootloader and the partition header are wiped.
 +
 
 +
For more detailed guide on wiping eMMC (or if this fails), please refer to [[Zero/install/Boot_Troubleshooting | Boot Troubleshooting]] page.
  
 
== Requirement ==
 
== Requirement ==
  
* Radxa Zero
+
* Radxa Zero or Radxa Zero 2
 
* A PC/laptop running Windows, Linux, or macOS
 
* A PC/laptop running Windows, Linux, or macOS
 
* USB A to C cable or C to C cable, depending on your host
 
* USB A to C cable or C to C cable, depending on your host
  
== Windows ==
+
== How to ==
  
First, follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''factory-loader.img''':
+
Follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load [https://dl.radxa.com/zero/images/loader/radxa-zero-erase-emmc.bin radxa-zero-erase-emmc.bin] or [https://dl.radxa.com/zero2pro/images/loader/radxa-zero-2pro-erase-emmc.bin radxa-zero-2pro-erase-emmc.bin]:
  
 
[[File:Rz-usb-helper-fastboot.png | 500px]]
 
[[File:Rz-usb-helper-fastboot.png | 500px]]
  
You can then click '''Erase''' button to erase the eMMC.
+
Once your computer detects a new USB storage device, your eMMC will be wiped and you can flash to this newly found USB device.
 
+
[[File:Rz-usb-helper-erase.png | 500px]]
+
 
+
== Linux & macOS  ==
+
 
+
First, follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''rz-fastboot-loader.bin'''.
+
 
+
You are now booted into fastboot mode. Check it by running '''lsusb''':
+
 
+
    Bus 001 Device 051: ID 18d1:0d02 Google Inc. Celkon A88
+
 
+
Now execute the following commands to wipe bootloader from eMMC:
+
 
+
macOS:
+
fastboot erase 0
+
fastboot reboot
+
 
+
Linux:
+
sudo fastboot erase 0
+
sudo fastboot reboot
+

Latest revision as of 07:43, 29 November 2023

    Radxa Zero >  Installation >  Erase eMMC

How to erase eMMC

This guide describes how to erase Radxa Zero series eMMC for installing a new system. Beware that this is not a secure erase, and only the bootloader and the partition header are wiped.

For more detailed guide on wiping eMMC (or if this fails), please refer to Boot Troubleshooting page.

Requirement

  • Radxa Zero or Radxa Zero 2
  • A PC/laptop running Windows, Linux, or macOS
  • USB A to C cable or C to C cable, depending on your host

How to

Follow maskrom guide to setup and load radxa-zero-erase-emmc.bin or radxa-zero-2pro-erase-emmc.bin:

Rz-usb-helper-fastboot.png

Once your computer detects a new USB storage device, your eMMC will be wiped and you can flash to this newly found USB device.