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

Difference between revisions of "Rock3/installusb-install-radxa-e25"

(Created page with "{{rock3_header}} {{Languages|rock3/install/usb-install-radxa-e25}} ROCK 3 > Installation > rock3/installusb-install-radxa-e25 | Install...")
 
(Boot the board to maskrom mode)
 
(4 intermediate revisions by 2 users not shown)
Line 26: Line 26:
 
* Power off the board
 
* Power off the board
 
** remove microSD card
 
** remove microSD card
** ensure that the EMMC module is present
+
** make sure that your E25 version has eMMC
* Plug the USB Male A to Mail A cable to ROCK E25 OTG port(the USB port), the other side to PC
+
* Plug the USB Male A to A cable to ROCK E25 OTG port(the USB port), the other side to PC
* Press and hold the button next to USB
+
* Press and hold the button on the case(between the USB OTG port and USB C Power port)
 
* Power on the board  
 
* Power on the board  
 
* See usb device
 
* See usb device
Line 35: Line 35:
 
[[File:select-loader-bin.jpeg | 600px]]
 
[[File:select-loader-bin.jpeg | 600px]]
  
Alternatively, if you are running Android and can access ADB, you can reboot the device to loader mode 'adb reboot bootloader' then use the rkdeveloptool to reset the device into maskrom mode 'rkdeveloptool rd 3' or Windows RKDevTool '''Switch''' button to go to maskrom mode.
+
Alternatively, if you are running Radxa Debian Linux from SD card and can access ADB, you can reboot the device to loader mode 'adb reboot bootloader' then use the rkdeveloptool to reset the device into maskrom mode 'rkdeveloptool rd 3' or Windows RKDevTool '''Switch''' button to go to maskrom mode.
  
 
=== Install to eMMC via USB ===
 
=== Install to eMMC via USB ===
Line 62: Line 62:
  
 
=== Troubleshooting ===
 
=== Troubleshooting ===
 +
* If programming the image to EMMC fails
 +
** Check if the second line number on your CPU starts with SB, if it starts with SB, please use the following loader to burn and try to burn again as above
 +
[[File:e25-mode-SBXX.png |400px]]
 +
** [https://dl.radxa.com/rock3/images/loader/rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin rk356x_loader_no_check_todly]
  
Check [[rock3/FAQs |ROCK 3 FAQs]] first, if it doesn't help, start a new post on the forum https://forum.radxa.com/c/rock3.
+
* Check [[rock3/FAQs |ROCK 3 FAQs]] first, if it doesn't help, start a new post on the forum https://forum.radxa.com/c/rock3.

Latest revision as of 12:29, 6 April 2023

    ROCK 3 >  Installation >   Install to eMMC from USB port (Radxa E25) 

Radxa E25 supports maskrom mode, which is a special running mode the CPU is waiting for command from USB OTG port. The PC tool we use to communicate with Radxa E25 in maskrom mode is rkdevelop tool, an open source tool by Rockchip.

Requirement

  • Radxa E25 (with Radxa CM3 PLUS)
  • 5V Type-C Power adapter
  • USB Male A to USB Male A.
    • Two port is Male A type.
    • Hardware connection

Install Tools&Drivers

Please check this guide, Install rockchip flash tools under Windows/Linux/MacOS PC.

Boot the board to maskrom mode

To boot ROCK E25 into maskrom mode is simple:

  • Power off the board
    • remove microSD card
    • make sure that your E25 version has eMMC
  • Plug the USB Male A to A cable to ROCK E25 OTG port(the USB port), the other side to PC
  • Press and hold the button on the case(between the USB OTG port and USB C Power port)
  • Power on the board
  • See usb device
    • For Linux/macOS: lsusb result: Bus 001 Device 112: ID 2207:350a Fuzhou Rockchip Electronics Company
    • For Windows: Open RKDevTool and you would see the device is in "maskrom mode".

Select-loader-bin.jpeg

Alternatively, if you are running Radxa Debian Linux from SD card and can access ADB, you can reboot the device to loader mode 'adb reboot bootloader' then use the rkdeveloptool to reset the device into maskrom mode 'rkdeveloptool rd 3' or Windows RKDevTool Switch button to go to maskrom mode.

Install to eMMC via USB

On your PC, run the rkdeveloptool

 rkdeveloptool ld
 DevNo=1	Vid=0x2207,Pid=0x350a,LocationID=104	Maskrom

Download the loader (flash helper) to init the ram and prepare the flashing environment etc. If you don't have it, you can download it from here

 rkdeveloptool db rk356x_spl_loader_ddr1056_v1.06.110.bin

Write the GPT image to eMMC, start to write from offset 0. For example.

 rkdeveloptool wl 0 /path/to/radxa-e25-xxx-gpt.img

Please note that you can use zero.img instead of radxa-e25-xxx-gpt.img when erasing eMMC on board.

Reboot the device

 rkdeveloptool rd

Now the device should boot the new image on eMMC.

Troubleshooting

  • If programming the image to EMMC fails
    • Check if the second line number on your CPU starts with SB, if it starts with SB, please use the following loader to burn and try to burn again as above

E25-mode-SBXX.png