<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=GreetingsGQ</id>
		<title>Radxa Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=GreetingsGQ"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Special:Contributions/GreetingsGQ"/>
		<updated>2026-06-13T14:03:44Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/Zero/install/Boot_Troubleshooting</id>
		<title>Zero/install/Boot Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Zero/install/Boot_Troubleshooting"/>
				<updated>2022-05-19T06:55:17Z</updated>
		
		<summary type="html">&lt;p&gt;GreetingsGQ: Adjust final item, remove circular link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{zero_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|Zero/install/Boot_Troubleshooting}}&lt;br /&gt;
&lt;br /&gt;
    [[zero | Radxa Zero]] &amp;gt; [[zero/install | Installation]] &amp;gt; [[zero/install/Boot_Troubleshooting | Boot troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
== An detailed guide for troubleshooting Radxa Zero's boot issue ==&lt;br /&gt;
&lt;br /&gt;
This is a more advanced guide aiming to help user fix their boot related issues. Due to how Zero's bootloader can be stored at various locations and how each distro usually has their own quirk about how bootloader is configured, user may find it confusing why the board is not booting as they are expected. This guide will help you understand how Zero decided which bootloader to boot, the current available bootloaders from Radxa, and how to wipe and reinstall any bootloader.&lt;br /&gt;
&lt;br /&gt;
Experience with Linux, [[Zero/dev/maskrom | maskrom]], and Android &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; tool is highly recommended.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Amlogic's boot logic ==&lt;br /&gt;
&lt;br /&gt;
When you boot a bare board without any bootloader, you will see the following string printed on your serial console:&lt;br /&gt;
&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:0;READ:0;CHK:1F;USB:8;&lt;br /&gt;
&lt;br /&gt;
This is how the SoC finds the boot target. It will search eMMC first with 3 read instructions, each for &amp;lt;code&amp;gt;mmcblk0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mmcblk0boot0&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;mmcblk0boot1&amp;lt;/code&amp;gt;. If it fails to boot from eMMC it will search microSD card next, and finally the USB devices.&lt;br /&gt;
&lt;br /&gt;
This means, to boot off any given storage media, you need to make sure bootloaders stored before this chain get wiped. Otherwise a different boot configuration will be used, instead of the one that came with your installation media.&lt;br /&gt;
&lt;br /&gt;
Some extra messages when boot from eMMC:&lt;br /&gt;
&lt;br /&gt;
    # boot from mmcblk0&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.0&lt;br /&gt;
    # boot from mmcblk0boot0 after mmcblk0 is wiped&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;0.0&lt;br /&gt;
    # boot from mmcblk0boot1 after mmcblk0 and mmcblk0boot0 are wiped&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;0.0&lt;br /&gt;
&lt;br /&gt;
You can read more about eMMC's hardware partitions from [https://wiki.radxa.com/Zero/install/Boot_Troubleshooting#Modify_bootloader_on_eMMC here].&lt;br /&gt;
&lt;br /&gt;
== Modify bootloader on eMMC ==&lt;br /&gt;
&lt;br /&gt;
=== TL;DR ===&lt;br /&gt;
&lt;br /&gt;
We have updated our [[Zero/install/eMMC_erase | eMMC erase]] guide, which does the following operations automatically and should fix most boot related issues.&lt;br /&gt;
&lt;br /&gt;
Beware this will result in data loss since the partition header will be wiped as well. If you need to preserve the data, either make a disk image before wiping, or follow the manual guide below.&lt;br /&gt;
&lt;br /&gt;
=== With fastboot ===&lt;br /&gt;
&lt;br /&gt;
First, follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''android-bootloader.img'''.&lt;br /&gt;
&lt;br /&gt;
Once a device with ID 18d1:0d02 is shown in &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; and you can see a fastboot device is detected by &amp;lt;code&amp;gt;sudo fastboot devices&amp;lt;/code&amp;gt;, you can run the following command to wipe/flash bootloader image to eMMC:&lt;br /&gt;
&lt;br /&gt;
    # Unlock eMMC before we can do anything&lt;br /&gt;
    sudo fastboot flashing unlock&lt;br /&gt;
    sudo fastboot flashing unlock_critical&lt;br /&gt;
    # Erase bootloader&lt;br /&gt;
    sudo fastboot erase bootloader&lt;br /&gt;
    sudo fastboot erase bootloader-boot0&lt;br /&gt;
    sudo fastboot erase bootloader-boot1&lt;br /&gt;
    # Flash bootloader&lt;br /&gt;
    sudo fastboot flash bootloader bootloader.img&lt;br /&gt;
    sudo fastboot flash bootloader-boot0 bootloader.img&lt;br /&gt;
    sudo fastboot flash bootloader-boot1 bootloader.img&lt;br /&gt;
&lt;br /&gt;
You do not need to erase before flashing, and you do not need to flash all 3 partitions.&lt;br /&gt;
&lt;br /&gt;
=== From inside U-Boot ===&lt;br /&gt;
&lt;br /&gt;
If your eMMC is so corrupted that any of those commands fails, you will need to erase those partitions from U-Boot console. Here is the instructions to do so as a last-ditch.&lt;br /&gt;
&lt;br /&gt;
First set up [[Zero/dev/serial-console | serial console]] since U-Boot console can only be accessed via serial. Follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''u-boot.bin'''. After the file is loaded keep hitting Enter key in serial console until the bootloader stopped with a console waiting for command.&lt;br /&gt;
&lt;br /&gt;
    # mmcblk0&lt;br /&gt;
    mmc dev 2 0&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
    # mmcblk0boot0&lt;br /&gt;
    mmc dev 2 1&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
    # mmcblk0boot1&lt;br /&gt;
    mmc dev 2 2&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
&lt;br /&gt;
Additionally if your main partition is too corrupted, that you cannot use &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; to wipe those partitions, you can try the following command to wipe main partition's partition table and some extra data, making the partition non-bootable:&lt;br /&gt;
&lt;br /&gt;
    # WARNING!&lt;br /&gt;
    # Potential data loss!&lt;br /&gt;
    mmc dev 2 0&lt;br /&gt;
    mmc erase 0 10000&lt;br /&gt;
&lt;br /&gt;
Restart and you should be able to flash the bootloader according to the instructions listed in the [[Zero/install/eMMC_erase | eMMC erase]] guide.&lt;br /&gt;
&lt;br /&gt;
    #restart&lt;br /&gt;
    reset&lt;br /&gt;
&lt;br /&gt;
== Modify bootloader on microSD or USB drive ==&lt;br /&gt;
&lt;br /&gt;
microSD and USB drive both show in Linux system as block devices, so you can modify their bootloader in the same way. Additionally you can also use this method to flash bootloader to eMMC's main partition. However, &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; has less potential to make a mistake, so it is still recommended.&lt;br /&gt;
&lt;br /&gt;
First, make sure you have installed the OS of your choice to the storage media. OS installation usually comes with their own bootloader, so if you want to modify the bootloader you have to do so after the installation.&lt;br /&gt;
&lt;br /&gt;
Run any of the following commands to modify bootloader on device &amp;lt;code&amp;gt;/dev/sdX&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    # Backup bootloader&lt;br /&gt;
    sudo dd if=/dev/sdX of=bootloader.bak conv=fsync bs=512 skip=1 count=8192&lt;br /&gt;
    # Erase bootloader&lt;br /&gt;
    sudo dd if=/dev/zero of=/dev/sdX conv=fsync bs=512 seek=1 count=8192&lt;br /&gt;
    # Flash bootloader&lt;br /&gt;
    sudo dd if=bootloader.img of=/dev/sdX conv=fsync bs=512 seek=1 count=8192&lt;br /&gt;
&lt;br /&gt;
== Common boot related issues ==&lt;br /&gt;
&lt;br /&gt;
* Q: Board won't boot on my microSD/USB drive, and is booting stock Android instead.&lt;br /&gt;
* A: Please wipe eMMC's all 3 bootloaders and try again.&lt;br /&gt;
&lt;br /&gt;
* Q: Manjaro won't boot.&lt;br /&gt;
* A: Before 2022-02-04, Manjaro requires the usage of vendor U-Boot, and its image does not contain any bootloader. Please flash [https://dl.radxa.com/zero/images/loader/android-bootloader.img android-bootloader.img] to your storage media. [https://forum.radxa.com/t/update-qt5-version/8552/8?u=radxayuntian Release from 2022-02-04] will contain mainline U-Boot, so the image can be flashed like other distro.&lt;/div&gt;</summary>
		<author><name>GreetingsGQ</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Zero/install/Boot_Troubleshooting</id>
		<title>Zero/install/Boot Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Zero/install/Boot_Troubleshooting"/>
				<updated>2022-05-19T06:26:41Z</updated>
		
		<summary type="html">&lt;p&gt;GreetingsGQ: Change mmc dev from 1 to 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{zero_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|Zero/install/Boot_Troubleshooting}}&lt;br /&gt;
&lt;br /&gt;
    [[zero | Radxa Zero]] &amp;gt; [[zero/install | Installation]] &amp;gt; [[zero/install/Boot_Troubleshooting | Boot troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
== An detailed guide for troubleshooting Radxa Zero's boot issue ==&lt;br /&gt;
&lt;br /&gt;
This is a more advanced guide aiming to help user fix their boot related issues. Due to how Zero's bootloader can be stored at various locations and how each distro usually has their own quirk about how bootloader is configured, user may find it confusing why the board is not booting as they are expected. This guide will help you understand how Zero decided which bootloader to boot, the current available bootloaders from Radxa, and how to wipe and reinstall any bootloader.&lt;br /&gt;
&lt;br /&gt;
Experience with Linux, [[Zero/dev/maskrom | maskrom]], and Android &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; tool is highly recommended.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Amlogic's boot logic ==&lt;br /&gt;
&lt;br /&gt;
When you boot a bare board without any bootloader, you will see the following string printed on your serial console:&lt;br /&gt;
&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:0;READ:0;CHK:1F;USB:8;&lt;br /&gt;
&lt;br /&gt;
This is how the SoC finds the boot target. It will search eMMC first with 3 read instructions, each for &amp;lt;code&amp;gt;mmcblk0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mmcblk0boot0&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;mmcblk0boot1&amp;lt;/code&amp;gt;. If it fails to boot from eMMC it will search microSD card next, and finally the USB devices.&lt;br /&gt;
&lt;br /&gt;
This means, to boot off any given storage media, you need to make sure bootloaders stored before this chain get wiped. Otherwise a different boot configuration will be used, instead of the one that came with your installation media.&lt;br /&gt;
&lt;br /&gt;
Some extra messages when boot from eMMC:&lt;br /&gt;
&lt;br /&gt;
    # boot from mmcblk0&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.0&lt;br /&gt;
    # boot from mmcblk0boot0 after mmcblk0 is wiped&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;0.0&lt;br /&gt;
    # boot from mmcblk0boot1 after mmcblk0 and mmcblk0boot0 are wiped&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;0.0&lt;br /&gt;
&lt;br /&gt;
You can read more about eMMC's hardware partitions from [https://wiki.radxa.com/Zero/install/Boot_Troubleshooting#Modify_bootloader_on_eMMC here].&lt;br /&gt;
&lt;br /&gt;
== Modify bootloader on eMMC ==&lt;br /&gt;
&lt;br /&gt;
=== TL;DR ===&lt;br /&gt;
&lt;br /&gt;
We have updated our [[Zero/install/eMMC_erase | eMMC erase]] guide, which does the following operations automatically and should fix most boot related issues.&lt;br /&gt;
&lt;br /&gt;
Beware this will result in data loss since the partition header will be wiped as well. If you need to preserve the data, either make a disk image before wiping, or follow the manual guide below.&lt;br /&gt;
&lt;br /&gt;
=== With fastboot ===&lt;br /&gt;
&lt;br /&gt;
First, follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''android-bootloader.img'''.&lt;br /&gt;
&lt;br /&gt;
Once a device with ID 18d1:0d02 is shown in &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; and you can see a fastboot device is detected by &amp;lt;code&amp;gt;sudo fastboot devices&amp;lt;/code&amp;gt;, you can run the following command to wipe/flash bootloader image to eMMC:&lt;br /&gt;
&lt;br /&gt;
    # Unlock eMMC before we can do anything&lt;br /&gt;
    sudo fastboot flashing unlock&lt;br /&gt;
    sudo fastboot flashing unlock_critical&lt;br /&gt;
    # Erase bootloader&lt;br /&gt;
    sudo fastboot erase bootloader&lt;br /&gt;
    sudo fastboot erase bootloader-boot0&lt;br /&gt;
    sudo fastboot erase bootloader-boot1&lt;br /&gt;
    # Flash bootloader&lt;br /&gt;
    sudo fastboot flash bootloader bootloader.img&lt;br /&gt;
    sudo fastboot flash bootloader-boot0 bootloader.img&lt;br /&gt;
    sudo fastboot flash bootloader-boot1 bootloader.img&lt;br /&gt;
&lt;br /&gt;
You do not need to erase before flashing, and you do not need to flash all 3 partitions.&lt;br /&gt;
&lt;br /&gt;
=== From inside U-Boot ===&lt;br /&gt;
&lt;br /&gt;
If your eMMC is so corrupted that any of those commands fails, you will need to erase those partitions from U-Boot console. Here is the instructions to do so as a last-ditch.&lt;br /&gt;
&lt;br /&gt;
First set up [[Zero/dev/serial-console | serial console]] since U-Boot console can only be accessed via serial. Follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''u-boot.bin'''. After the file is loaded keep hitting Enter key in serial console until the bootloader stopped with a console waiting for command.&lt;br /&gt;
&lt;br /&gt;
    # mmcblk0&lt;br /&gt;
    mmc dev 2 0&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
    # mmcblk0boot0&lt;br /&gt;
    mmc dev 2 1&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
    # mmcblk0boot1&lt;br /&gt;
    mmc dev 2 2&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
&lt;br /&gt;
Additionally if your main partition is too corrupted, that you cannot use &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; to wipe those partitions, you can try the following command to wipe main partition's partition table and some extra data, making the partition non-bootable:&lt;br /&gt;
&lt;br /&gt;
    # WARNING!&lt;br /&gt;
    # Potential data loss!&lt;br /&gt;
    mmc dev 2 0&lt;br /&gt;
    mmc erase 0 10000&lt;br /&gt;
&lt;br /&gt;
Unplug and replug the power cable and now you should be able to flash bootloader according to the instruction listed in [[#From_inside_U-Boot | the previous section]].&lt;br /&gt;
&lt;br /&gt;
== Modify bootloader on microSD or USB drive ==&lt;br /&gt;
&lt;br /&gt;
microSD and USB drive both show in Linux system as block devices, so you can modify their bootloader in the same way. Additionally you can also use this method to flash bootloader to eMMC's main partition. However, &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; has less potential to make a mistake, so it is still recommended.&lt;br /&gt;
&lt;br /&gt;
First, make sure you have installed the OS of your choice to the storage media. OS installation usually comes with their own bootloader, so if you want to modify the bootloader you have to do so after the installation.&lt;br /&gt;
&lt;br /&gt;
Run any of the following commands to modify bootloader on device &amp;lt;code&amp;gt;/dev/sdX&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    # Backup bootloader&lt;br /&gt;
    sudo dd if=/dev/sdX of=bootloader.bak conv=fsync bs=512 skip=1 count=8192&lt;br /&gt;
    # Erase bootloader&lt;br /&gt;
    sudo dd if=/dev/zero of=/dev/sdX conv=fsync bs=512 seek=1 count=8192&lt;br /&gt;
    # Flash bootloader&lt;br /&gt;
    sudo dd if=bootloader.img of=/dev/sdX conv=fsync bs=512 seek=1 count=8192&lt;br /&gt;
&lt;br /&gt;
== Common boot related issues ==&lt;br /&gt;
&lt;br /&gt;
* Q: Board won't boot on my microSD/USB drive, and is booting stock Android instead.&lt;br /&gt;
* A: Please wipe eMMC's all 3 bootloaders and try again.&lt;br /&gt;
&lt;br /&gt;
* Q: Manjaro won't boot.&lt;br /&gt;
* A: Before 2022-02-04, Manjaro requires the usage of vendor U-Boot, and its image does not contain any bootloader. Please flash [https://dl.radxa.com/zero/images/loader/android-bootloader.img android-bootloader.img] to your storage media. [https://forum.radxa.com/t/update-qt5-version/8552/8?u=radxayuntian Release from 2022-02-04] will contain mainline U-Boot, so the image can be flashed like other distro.&lt;/div&gt;</summary>
		<author><name>GreetingsGQ</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Zero/install/Boot_Troubleshooting</id>
		<title>Zero/install/Boot Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Zero/install/Boot_Troubleshooting"/>
				<updated>2022-05-19T05:40:25Z</updated>
		
		<summary type="html">&lt;p&gt;GreetingsGQ: Correct file to load&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{zero_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|Zero/install/Boot_Troubleshooting}}&lt;br /&gt;
&lt;br /&gt;
    [[zero | Radxa Zero]] &amp;gt; [[zero/install | Installation]] &amp;gt; [[zero/install/Boot_Troubleshooting | Boot troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
== An detailed guide for troubleshooting Radxa Zero's boot issue ==&lt;br /&gt;
&lt;br /&gt;
This is a more advanced guide aiming to help user fix their boot related issues. Due to how Zero's bootloader can be stored at various locations and how each distro usually has their own quirk about how bootloader is configured, user may find it confusing why the board is not booting as they are expected. This guide will help you understand how Zero decided which bootloader to boot, the current available bootloaders from Radxa, and how to wipe and reinstall any bootloader.&lt;br /&gt;
&lt;br /&gt;
Experience with Linux, [[Zero/dev/maskrom | maskrom]], and Android &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; tool is highly recommended.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Amlogic's boot logic ==&lt;br /&gt;
&lt;br /&gt;
When you boot a bare board without any bootloader, you will see the following string printed on your serial console:&lt;br /&gt;
&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:0;SD:0;READ:0;CHK:1F;USB:8;&lt;br /&gt;
&lt;br /&gt;
This is how the SoC finds the boot target. It will search eMMC first with 3 read instructions, each for &amp;lt;code&amp;gt;mmcblk0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mmcblk0boot0&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;mmcblk0boot1&amp;lt;/code&amp;gt;. If it fails to boot from eMMC it will search microSD card next, and finally the USB devices.&lt;br /&gt;
&lt;br /&gt;
This means, to boot off any given storage media, you need to make sure bootloaders stored before this chain get wiped. Otherwise a different boot configuration will be used, instead of the one that came with your installation media.&lt;br /&gt;
&lt;br /&gt;
Some extra messages when boot from eMMC:&lt;br /&gt;
&lt;br /&gt;
    # boot from mmcblk0&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.0&lt;br /&gt;
    # boot from mmcblk0boot0 after mmcblk0 is wiped&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;0.0&lt;br /&gt;
    # boot from mmcblk0boot1 after mmcblk0 and mmcblk0boot0 are wiped&lt;br /&gt;
    G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;0.0&lt;br /&gt;
&lt;br /&gt;
You can read more about eMMC's hardware partitions from [https://wiki.radxa.com/Zero/install/Boot_Troubleshooting#Modify_bootloader_on_eMMC here].&lt;br /&gt;
&lt;br /&gt;
== Modify bootloader on eMMC ==&lt;br /&gt;
&lt;br /&gt;
=== TL;DR ===&lt;br /&gt;
&lt;br /&gt;
We have updated our [[Zero/install/eMMC_erase | eMMC erase]] guide, which does the following operations automatically and should fix most boot related issues.&lt;br /&gt;
&lt;br /&gt;
Beware this will result in data loss since the partition header will be wiped as well. If you need to preserve the data, either make a disk image before wiping, or follow the manual guide below.&lt;br /&gt;
&lt;br /&gt;
=== With fastboot ===&lt;br /&gt;
&lt;br /&gt;
First, follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''android-bootloader.img'''.&lt;br /&gt;
&lt;br /&gt;
Once a device with ID 18d1:0d02 is shown in &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; and you can see a fastboot device is detected by &amp;lt;code&amp;gt;sudo fastboot devices&amp;lt;/code&amp;gt;, you can run the following command to wipe/flash bootloader image to eMMC:&lt;br /&gt;
&lt;br /&gt;
    # Unlock eMMC before we can do anything&lt;br /&gt;
    sudo fastboot flashing unlock&lt;br /&gt;
    sudo fastboot flashing unlock_critical&lt;br /&gt;
    # Erase bootloader&lt;br /&gt;
    sudo fastboot erase bootloader&lt;br /&gt;
    sudo fastboot erase bootloader-boot0&lt;br /&gt;
    sudo fastboot erase bootloader-boot1&lt;br /&gt;
    # Flash bootloader&lt;br /&gt;
    sudo fastboot flash bootloader bootloader.img&lt;br /&gt;
    sudo fastboot flash bootloader-boot0 bootloader.img&lt;br /&gt;
    sudo fastboot flash bootloader-boot1 bootloader.img&lt;br /&gt;
&lt;br /&gt;
You do not need to erase before flashing, and you do not need to flash all 3 partitions.&lt;br /&gt;
&lt;br /&gt;
=== From inside U-Boot ===&lt;br /&gt;
&lt;br /&gt;
If your eMMC is so corrupted that any of those commands fails, you will need to erase those partitions from U-Boot console. Here is the instructions to do so as a last-ditch.&lt;br /&gt;
&lt;br /&gt;
First set up [[Zero/dev/serial-console | serial console]] since U-Boot console can only be accessed via serial. Follow [[Zero/dev/maskrom#Enable_maskrom | maskrom guide]] to setup and load '''u-boot.bin'''. After the file is loaded keep hitting Enter key in serial console until the bootloader stopped with a console waiting for command.&lt;br /&gt;
&lt;br /&gt;
    # mmcblk0&lt;br /&gt;
    mmc dev 1 0&lt;br /&gt;
    mmc erase 1 2000&lt;br /&gt;
    # mmcblk0boot0&lt;br /&gt;
    mmc dev 1 1&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
    # mmcblk0boot1&lt;br /&gt;
    mmc dev 1 2&lt;br /&gt;
    mmc erase 0 2000&lt;br /&gt;
&lt;br /&gt;
Additionally if your main partition is too corrupted, that you cannot use &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; to wipe those partitions, you can try the following command to wipe main partition's partition table and some extra data, making the partition non-bootable:&lt;br /&gt;
&lt;br /&gt;
    # WARNING!&lt;br /&gt;
    # Potential data loss!&lt;br /&gt;
    mmc dev 1 0&lt;br /&gt;
    mmc erase 0 10000&lt;br /&gt;
&lt;br /&gt;
Unplug and replug the power cable and now you should be able to flash bootloader according to the instruction listed in [[#From_inside_U-Boot | the previous section]].&lt;br /&gt;
&lt;br /&gt;
== Modify bootloader on microSD or USB drive ==&lt;br /&gt;
&lt;br /&gt;
microSD and USB drive both show in Linux system as block devices, so you can modify their bootloader in the same way. Additionally you can also use this method to flash bootloader to eMMC's main partition. However, &amp;lt;code&amp;gt;fastboot&amp;lt;/code&amp;gt; has less potential to make a mistake, so it is still recommended.&lt;br /&gt;
&lt;br /&gt;
First, make sure you have installed the OS of your choice to the storage media. OS installation usually comes with their own bootloader, so if you want to modify the bootloader you have to do so after the installation.&lt;br /&gt;
&lt;br /&gt;
Run any of the following commands to modify bootloader on device &amp;lt;code&amp;gt;/dev/sdX&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
    # Backup bootloader&lt;br /&gt;
    sudo dd if=/dev/sdX of=bootloader.bak conv=fsync bs=512 skip=1 count=8192&lt;br /&gt;
    # Erase bootloader&lt;br /&gt;
    sudo dd if=/dev/zero of=/dev/sdX conv=fsync bs=512 seek=1 count=8192&lt;br /&gt;
    # Flash bootloader&lt;br /&gt;
    sudo dd if=bootloader.img of=/dev/sdX conv=fsync bs=512 seek=1 count=8192&lt;br /&gt;
&lt;br /&gt;
== Common boot related issues ==&lt;br /&gt;
&lt;br /&gt;
* Q: Board won't boot on my microSD/USB drive, and is booting stock Android instead.&lt;br /&gt;
* A: Please wipe eMMC's all 3 bootloaders and try again.&lt;br /&gt;
&lt;br /&gt;
* Q: Manjaro won't boot.&lt;br /&gt;
* A: Before 2022-02-04, Manjaro requires the usage of vendor U-Boot, and its image does not contain any bootloader. Please flash [https://dl.radxa.com/zero/images/loader/android-bootloader.img android-bootloader.img] to your storage media. [https://forum.radxa.com/t/update-qt5-version/8552/8?u=radxayuntian Release from 2022-02-04] will contain mainline U-Boot, so the image can be flashed like other distro.&lt;/div&gt;</summary>
		<author><name>GreetingsGQ</name></author>	</entry>

	</feed>