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

Rock3/installusb-install-radxa-cm3-io

< Rock3
Revision as of 06:21, 17 February 2022 by Hong (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    ROCK 3 >  Installation >   Install to eMMC from USB port (Radxa CM3 IO )

Install on eMMC from USB port

Radxa CM3 IO supports Maskrom mode, which is a special operation mode for CPU to wait for USB OTG port command. The PC tools we use to communicate with Radxa cm3 io in Maskrom mode are the rkdeveloptool and RKDevTool. We use the rkdeveloptool in Linux/macOS

Requirement

  • Radxa CM3 IO (with Radxa CM3 )
  • Power adapter
  • USB Male A to Micro usb cable.

Install Tools&Drivers

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

Boot the board to maskrom mode

To boot Radxa CM3 IO into maskrom mode is simple:

  • Power off the board
  • remove microSD card
  • Plug the USB Male A to Micro USB cable to Radxa CM3 IO OTG port(see graphic below), the other side to PC

Cm3 io micro usb.jpeg

  • Press and hold the golden button (see graphic below).

Cm3-io-key.jpeg

  • Power on the board
  • See usb device
    • For Linux/macOS: lsusb result: Bus 001 Device 112: ID 2207:350a Fuzhou Rockchip Electronics Company

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.

Begin Installation USB -> eMMC

Linux/macOS

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.10.111.bin

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

 rkdeveloptool wl 0 /path/to/rock-cm3-xxx-gpt.img

Reboot the device

 rkdeveloptool rd

Now the device should boot the new image on eMMC.

Please notice that when you want to erase eMMC on board, you can use this command. Get zero.img from here.

 rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin
 rkdeveloptool wl 0 zero.img

Troubleshooting