Is it bricked?
When writing update.img to nand RKBatchTool failes with following message: "Prepare IDB Fail" (or similar error messages like "IDB download failed" when writing to emmc with other tools) The board is "bricked". It is not really bricked, first make sure there's no SD card connected while trying to flash the device, otherwise the bootloader is corrupted at this time, you can always recover it.
Release version SoM
The emmc shortcut pin was put on the top of the som, makes it easier to unbrick it
(EMMC short cut pins)
To recover it:
- 1. Plug in the power cable to DC jack and power adapter, plug in OTG USB cable to connect the board and the PC
- 2. Connect the emmc shortcut pins with a tweezer
- 3. Short press the reset button, after release the reset button, hold the tweezer connection for 1 second. In RKBatchTool the square icon should now show up blue (if it isn't blue, retry).
- 4. Click the restore button and upload an update.img
Beta version SoM
For upgrade_tool under Linux, you should read Maskrom if successfully shortcut the pins.
sudo upgrade_tool List of rockusb connected No found rockusb,Rescan press <R>,Quit press: r List of rockusb connected DevNo=1 Vid=0x2207,Pid=0x310b,LocationID=21f Maskrom Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press:1 Rockusb>uf /tmp/radxa-rock-alip-desktop.img Loading firmware...