Android BSP User Guide for rk3588 series 13

From ESS-WIKI
Jump to: navigation, search

Android BSP Version

Android 13.0

Kernel 5.10.157

Compile all

Build ROM-6881 project

$ source build/envsetup.sh
$ lunch rom6881_t-userdebug
$./build.sh -AUCKu

Build U-boot

Build ROM-6881 U-boot

$ source build/envsetup.sh 
$ lunch rom6881_t-userdebug 
$./build.sh -U

Build Kernel

Build ROM-6881 Kernel

$ source build/envsetup.sh
$ lunch rom6881_t-userdebug
$./build.sh -K

Build Android

Build ROM-6881 Android

$ source build/envsetup.sh
$ lunch rom6881_t-userdebug
$ ./build.sh -A

All image in

rockdev/Image-rom6881_t/

The common image files are listed below:

MiniLoaderAll.bin
baseparameter.img
boot-debug.img
boot.img
config.cfg
dtbo.img
misc.img
parameter.txt
pcba_small_misc.img
pcba_whole_misc.img
recovery.img
resource.img
super.img
uboot.img
update.img
vbmeta.img

How to update images?

There are three ways to update images:

(The corresponding tools are in the RKTools/ directory of the source code)

1._Using_AndroidToool.

There is no limitation by this way.

2._Using_storage(such sd_or_USB_disk)with_update.zip_in_it.

There are some limitations:

(1)The device must be able to boot up to Android system.

(2)Only update images from the same os,  eg : 

        Android13.0 upgrade to Android13.0.

(3)Using update.zip to upgrade.

        update.zip comes from the rockdev\image in the publishing system image package and is renamed from PRODUCT-NAME-ota-XX.zip

3._Using_bootup_sd_disk made_by SDDiskTool.

(1)Only update images from the same os,  eg : 

          Android13.0 upgrade to Android13.0.

(2)Using update.img to upgrade.