Difference between revisions of "Rock3/installusb-install-radxa-cm3-io"
(→Flash Images to eMMC on Board) |
(→Flash Images to eMMC on Board) |
||
Line 42: | Line 42: | ||
DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=104 Maskrom | DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=104 Maskrom | ||
− | Download the loader (flash helper) to init the ram and prepare the flashing environment etc. | + | Download the loader (flash helper) to init the ram and prepare the flashing environment etc. |
rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin | rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin |
Revision as of 07:23, 17 February 2022
ROCK 3 > Installation > Install Image to eMMC from USB port (Radxa CM3 IO)
Contents
Install Image to eMMC from USB port (Radxa CM3 IO)
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 on linux/macOS PC and RKDevTool on Windows PC.
Requirement
- Radxa CM3 IO (with Radxa CM3 )
- DC 12V power adapter
- USB Male A to Micro USB cable
- Radxa CM3 IO system image: Radxa CM3 IO Github Release
- RK356X loader: rk356x_spl_loader_ddr1056_v1.10.111.bin
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 the following picture), the other side to PC
- Press and hold the golden button (see the following picture)
- Plug in DC 12V power adapter
- Check 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.
Flash Images to eMMC on Board
On Linux/macOS PC
Make sure that board is in Maskrom mode. Run rkdeveloptool ld
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.
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/radxa-cm3-io-xxx-gpt.img
Reboot the device
rkdeveloptool rd
On Windows PC
Erase eMMC on Board
On Linux/macOS PC
Make sure that board is in Maskrom mode. Run rkdeveloptool ld.
rkdeveloptool ld DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=104 Maskrom
Create zero.img
dd if=/dev/zero of=./zero.img bs=1024 count=16000
Erase eMMC
rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin rkdeveloptool wl 0 zero.img rkdeveloptool rd
On Windows PC
Troubleshooting
- If you have issue with flashing via USB OTG, start a new post on the forum, https://forum.radxa.com/c/rock3.