Difference between revisions of "Template:RockchipUnbrick"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(updated by API)
Line 1: Line 1:
===The Boot order between eMMC and SD card===
+
===How to Unbrick===
By default, the system will be booted from the TF card first, but this is not the case under all conditions. This section will explain all situations in detail; <br>
+
{{#switch: {{{1}}}
<br>
+
| NanoPi-R4SE
Refer to rockchip official document [http://opensource.rock-chips.com/wiki_Boot_option], there are two types of loader program:<br>
+
| NanoPi-R6S
1) U-Boot TPL/SPL (i.e. upsream U-Boot, also called mainline U-Boot)<br>
+
| CM3588
2) Rockchip MiniLoader<br>
+
| NanoPi-R5C
<br>
+
| NanoPi-R6C
Things to note: <br>
+
| NanoPC-T4
1) FriendlyELEC's image uses Rockchip MiniLoader<br>
+
| NanoPi-R2C-Plus
2) The third-party image usually uses U-Boot TPL/SPL<br>
+
| NanoPi-R2S-Plus
<br>
+
| SOM-RK3399 =
The following situations will always start from eMMC:<br>
+
If the ROM wasn’t installed correctly and the device becomes bricked.
If the system in the eMMC, or the system in the TF card uses the first Loader type U-Boot TPL/SPL, it will always boot from the eMMC;<br>
+
| NanoPC-T6 =
If you want to boot from the TF card, there are the following methods:<br>
+
If the ROM wasn’t installed correctly and the device becomes bricked.
'''Method 1''': Clear the Loader on the eMMC, the clearing method is as follows, after starting from the eMMC, enter the following command on the command line to clear the Loader on the eMMC: <br>
+
| #default =
<syntaxhighlight lang="bash">
+
}}
dd if=/dev/zero of=/dev/mmcblk2 bs=8M count=1
+
</syntaxhighlight>
+
'''Method 2''': Insert the TF card, Press Maskrom Key (or short-circuit the Maskrom contacts) and then power on (need to keep the short-circuit for about 3 seconds), it will start from the TF card<br>
+
<br>
+
The summary is as follows:<br>
+
{| class="wikitable"
+
|-
+
! eMMC current system
+
! TF card current system
+
! Boot priority
+
|-
+
| No system
+
| Any image
+
| TF card
+
|-
+
| FriendlyELEC's image
+
| FriendlyELEC's image
+
| TF card
+
|-
+
| FriendlyELEC's image
+
| Image with Mainline U-boot
+
| eMMC
+
|-
+
| Image with Mainline U-boot
+
| FriendlyELEC's image
+
| eMMC
+
|-
+
| Image with Mainline U-boot
+
| Image with Mainline U-boot
+
| eMMC
+
|}
+

Revision as of 07:13, 4 June 2024

How to Unbrick