Upgrading Sige7 Image in Linux

Install Rockchip flashing tools

sige7 supports maskrom mode, which is a special operation mode for CPU to wait for command from USB OTG port. The Linux/macOS PC tool we use to communicate with sige7 in maskrom mode are rkdeveloptool.

rkdeveloptool on Linux

Download development tool

sudo cp upgrade_tool /usr/local/sbin/

Guide sige7 to enter Maskrom mode

Guide Sige7 to Maskrom mode:

  1. Powered through Type-C interface
  2. Connect the USB and Sige7 Type-C interfaces on the PC end
  3. There are two ways to guide to Maskrom mode,One is that there is no program in EMMC, and the other is manual boot

The phenomenon of Sige7 entering Maskrom mode is that the red light is on and the green light is not on

Download image

Download the loader (MiniLoaderAll-v1.15.bin) and image to init the ram

Usage for rkdeveloptool

Run the rkdeveloptool

$ upgrade_tool ld
List of rockusb connected(1)
DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=1a2    Mode=Maskrom    SerialNo=

Download the loader (flash helper) to init the ram and prepare the flashing environment etc

$ sudo upgrade_tool db MiniLoaderAll-v1.15.bin
Download boot ok.

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

$ sudo upgrade_tool uf ./armsom-sige7-debian-bullseye-xfce4-arm64-20241029.img
Loading firmware...
Support Type:3588       FW Ver:1.0.00   FW Time:2024-11-12 14:19:46
Loader ver:1.11 Loader Time:2024-11-12 14:19:33
Start to upgrade firmware...
Test Device Start
Test Device Success
Check Chip Start
Check Chip Success
Get FlashInfo Start
Get FlashInfo Success
Prepare IDB Start
Prepare IDB Success
Download IDB Start
Download IDB Success
Download Firmware Start
Download Image... (100%)
Download Firmware Success
Upgrade firmware ok.

Now the device should boot the new image on eMMC.

To erase all stored data, please enter Maskrom to execute without downloading Boot in advance

sudo upgrade_tool ef MiniLoaderAll-v1.15.bin