Skip to main content

Linux Build and Flash

The Linux manual uses X3588_Linux_edge_20220630 as an example source package. The actual name may vary by release date. Use a normal user account for compilation. Output images are placed under a directory similar to:

out/rk3588/X3588S/images

Generated files include boot.img, MiniLoaderAll.bin, misc.img, oem.img, parameter.txt, recovery.img, rootfs.ext4, rootfs.img, update.img, and userdata.img.

Extract Source​

tar -xvf X3588_Linux_edge_20220630.tar.gz
cd X3588_Linux_edge_20220630

Help​

cat readme.txt

Build U-Boot​

./edge build -u

This releases U-Boot.img.

Build Linux Kernel​

./edge build -k

kernel.img and resource.img are packed into boot.img and released to the output directory.

Build rootfs​

./edge build -r

Rootfs files are released to the out directory.

Package Firmware​

./build.sh updateimg

This generates unified upgrade firmware update.img and releases it to rockdev.

Image Description​

FileDescription
boot.imgContains kernel.img and resource.img
MiniLoaderAll.binLoader file for download tools
misc.imgMisc device resource
oem.imgUser adaptation package data
parameter.txtPartition file; can change U-Boot, kernel, and filesystem load addresses
recovery.imgRecovery image
rootfs.ext4ext4 partition file
rootfs.imgRoot filesystem image
U-Boot.imgU-Boot firmware
update.imgUnified upgrade image containing U-Boot, kernel, filesystem, etc.
userdata.imgUser data image

Windows Flashing​

Driver path:

SDK\RKTools\windows\Release_DriverAssitant

Run DriverInstall.exe. The manual notes that Pico PC requires AndroidTool_Release_v2.79 or later; the Linux source package includes AndroidTool_Release_v2.81. The driver should be DriverAssitant_v5.1.1.

Tool path example:

RKTools\windows\AndroidTool\AndroidTool_Release_v2.81\AndroidTool.exe

Choose the firmware upgrade tab and select update.img. Hold Recovery, connect OTG and power, wait until the tool detects a MaskRom device, and click upgrade.