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

Rock3/installusb-install-radxa-e25

    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