Difference between revisions of "Zero/install/eMMC erase"
RadxaYuntian (Talk | contribs) |
RadxaYuntian (Talk | contribs) |
||
Line 15: | Line 15: | ||
== Windows == | == Windows == | ||
− | + | First, follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''factory-loader.img''': | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[File:Rz-usb-helper-fastboot.png | 500px]] | [[File:Rz-usb-helper-fastboot.png | 500px]] | ||
− | + | You can then click '''Erase''' button to erase the eMMC. | |
[[File:Rz-usb-helper-erase.png | 500px]] | [[File:Rz-usb-helper-erase.png | 500px]] | ||
== Linux & macOS == | == 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 076: ID '''18d1:0d02''' Google Inc. USB download gadget Serial: 1234567890 | |
− | + | ||
− | + | ||
− | + | Now execute the following commands to wipe eMMC: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | Now | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
macOS: | macOS: | ||
− | + | fastboot flashing unlock_critical | |
− | + | fastboot flashing unlock | |
− | + | fastboot erase bootloader | |
− | + | fastboot erase bootloader-boot0 | |
− | + | fastboot erase bootloader-boot1 | |
− | + | fastboot reboot | |
− | + | ||
− | + | ||
Linux: | 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 | |
− | + | ||
− | + | ||
− | + |
Revision as of 07:53, 6 December 2021
Radxa Zero > Installation > Erase eMMC
How to completely erase the Radxa Zero eMMC
This guide describes how to completely erase 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. As such it's best to wipe the eMMC completely and have a clean environment before flashing a new image to eMMC.
Requirement
- Radxa Zero
- A PC/laptop running Windows, Linux, or macOS
- USB A to C cable or C to C cable, depending on your host
Windows
First, follow maskrom guide to setup and load factory-loader.img:
You can then click Erase button to erase the eMMC.
Linux & macOS
First, follow 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 076: ID 18d1:0d02 Google Inc. USB download gadget Serial: 1234567890
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