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
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{zero_header}}
 
{{zero_header}}
 
{{Languages|zero/install/eMMC_erase}}
 
{{Languages|zero/install/eMMC_erase}}
     [[zero | Radxa Zero]] > [[zero/install | Installation]] > [[zero/install/eMMC_erase | Erase eMMC bootloader]]
+
     [[zero | Radxa Zero]] > [[zero/install | Installation]] > [[zero/install/eMMC_erase | Erase eMMC]]
  
=== How to erase bootloader from eMMC ===
+
=== How to erase eMMC ===
  
This guide describes how to erase bootloader on Radxa Zero's eMMC. Unlike normal PC where they have a well established and documented way of booting, in embedded world it is a bit chaotic and everyone carries their own bootloader and boot sequence. To ensure Radxa Zero can boot with microSD the bootloader on eMMC need to be wiped so it won't interfere with the boot process.
+
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 eMMC:
+
 
+
macOS:
+
fastboot flashing unlock_critical
+
fastboot flashing unlock
+
fastboot erase bootloader
+
fastboot erase bootloader-boot0
+
fastboot erase bootloader-boot1
+
fastboot reboot
+
 
+
Linux:
+
sudo fastboot flashing unlock_critical
+
sudo fastboot flashing unlock
+
sudo fastboot erase bootloader
+
sudo fastboot erase bootloader-boot0
+
sudo fastboot erase bootloader-boot1
+
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.