Toybrick EN

中文 / EN
Toybrick EN»Wiki教程

Prepare to flash

Download Flash tool

Enter Downloads pages, and download flash tool.

Download image

  1. Enter Downloads pages, and download image.
  2. Save images to FlashTool/Images/ directory

Enter flash mode

TB-RK3399ProD: Connect PC's USB Host and board's Type-C with Type-C cable. Press RECOVERY /MASKROM key and then reboot system. Release key after about one second, board will enter LOADER/MASKROM mode.

TB-RK3399ProX: Connect PC's USB Host and board's Type-C with Type-C cable. Press RECOVERY /MASKROM key and then reboot system. Release key after about one second, board will enter LOADER/MASKROM mode.

TB-RK1808M0: Press RECORY key on the USB convert board, insert AI Compute Module into PC's USB Host. Release key after about one second, board will enter LOADER mode.

TB-RK1808S0: Plug in and out 5 times quickly, AI Compute Stick will enter MASKROM mode.

TB-96AI: Connect PC's USB Host and board's Type-C with Type-C cable. Press RECOVERY key and then reboot system. Release key after about one second, board will enter LOADER mode.

TB-16A-AI:Connect PC's USB Host and board's usb3.0 Type-A with Type-A cable. Press RECOVERY key and then reboot system. Release key after about one second, board will enter LOADER mode.

TB-RK3568X:Connect PC's USB Host and board's usb3.0 OTG with Type-A cable, or connect micro USB interface with micro USB cable. Press RECOVERY key and then reboot system. Release key after about one second, board will enter LOADER mode.

TB-RV1126D: connect PC's USB Host interface with board's DP In interface with Type-C cable . Press REC key on the board, release key after about one second, board will enter LOADER mode.

Flash on windows

Install USB driver

Double click FlashTool\Windows\DriverAssitant\ DriverInstall.exe to open install program, and click "驱动安装" button as the picture shows below to install USB driver:

Note:If you have installed old version driver, you should click “驱动卸载” button to uninstall driver, and then install the last version driver.

Open flash tool

Double click FlashTool\Windows\AndroidTool.exe to open flash tool as the picture show bellow:

Board in flash mode

  1. If "Found One LOADER Device" on flash tool, the board is in LOADER mode.

  2. If "Found One MASKROM Device" on flash tool, the board is in MASKROM mode.

  3. If "No Devices found" on flash tool, the board is NOT ready to flash. Please refer to section 2 (Prepare to flash) for retrying.

    Note:Toybrick boards' partitions are all GPT. If you have flashed old MBR partitions images, you should flash new images in MASKROM mode.

Modify configure

Flash tool will flash LINUX images in FashTool\Imags directory default.

If you will flash ANDROID or DUAL-SYSTEMS images, please click right button on the blanck of the tool and select "Load Config" from the pop-up menu, as show in the figure below:

Select the configure file in FlashTool\Windows directory:

  1. config_linux: flash LINUX images
  2. config_android: flash ANDROID images
  3. config_dual: flash DUAL-SYSTEM images.

Start to flash

  1. Download and save images in FlashTool\Windows\Images directory.

  2. Select images what you will flash, and then click "Run" button to start.

    Note:

If flash successfullly, there is no error on the right side of the tool.

If flash failed, there will print error log information in red font on the right side of the tool.

More error information, please see log files in AndroidTool_Release\Log dirctory

Flash on linux

Enter FlashTool/Linux directory:

  1. Double click flash_linux.sh,flash LINUX images
  2. Double click flash_android.sh,flash ANDROID images
  3. Double click flash_dual.sh,flash DUAL-SYSTEM images

Flash on mac

Enter FlashTool/Mac directory:

  1. Double click flash_linux.command,flash LINUX images
  2. Double click flash_android.command,flash ANDROID images
  3. Double click flash_dual.command,flash DUAL-SYSTEM images

Flash on shell

Board in flash mode

Run command as below:

python3 flash.py -q

Note:

  1. If output “loader”,the board is in LOADER mode.
  2. If output “maskrom”,the board is in MASKROM mode.
  3. If output "none", the board is NOT ready to flash. Please refer to section 2 (Prepare to flash) for retrying.

Start to flash

Download and save images in FlashTool\Windows\Images directory, and then enter FlashTool/Shell directory:

cd FlashTool/Shell

Run command as below:

  1. Falsh LINUX images:
python3 flash.py --linux all

Note:This command will flash all LINUX images, include:uboot, trust, boot_linux and rootfs

  1. Flash ANDROID images:
python3 flash.py --android all

Note:This command will flash all ANDROID images, include:uboot, turst, misc, boot, recovery, system, vendor and oem

  1. Flash DUAL-SYSTEM images:
python3 flash.py --dual all

Note:This command will flash all DUAL-SYSTEM images, include:uboot, turst, misc, boot, recovery, system,vendor, oem,boot_linux and rootfs

  1. Flash custom images:To flash boot, vendor and system images as example
python3 flash.py --android boot,vendor,system

Products Store Community Wiki Download About TB


To Top