The SDK can be obtained by email. Send the order number to sales@t-firefly.com and indicate the required SDK name firefly_rk3576_android14.0_git_20241126
1. Enter the SDK root directorycd ~/proj/RK3576_Android14.02. we can download and unzip it from the cloud disk link below to the SDK root directory.7z x rk3576-android14.0-bundle.7z -r -o. && mv rk3576-android14.0-bundle .bundle3. Update the SDK.bundle/update4. Follow the prompts to update the content to FETCH_HEAD, synchronize FETCH_HEAD to the firefly branchgit rebase FETCH_HEAD
After packaging, it will be in rockdev// Generate unified firmware under the directory: (product name )XXX_XXX_date XXX.img
It is also very simple to package the unified firmware update.img under Windows. Copy the generated files to the rockdev \ Image directory of AndroidTool, and then run the mkupdate.bat batch file under the rockdev directory to create up
date.img and store it in rockdev \ Image directory.
In the rockdev/Image-/ directory, find the corresponding firmware and burn it to the machine, then the machine can carry out the full package upgrade and the difference package upgrade,put 'update.zip' into /sdcard/ and restart the full package as prompted.
The v1.zip basic material package has been made, and another v2.zip material package needs to be made to generate the difference package. You need to modify the kernel DTS code or Android code, and then run the command again.
Android14.0 can’t be upgraded directly kernel.img and resource.img
kernel.img and resource.img for Android14.0 are included in boot.img, After compiling the kernel, you need to run the ./mkimage.sh command in the android root directory to repackage boot.img, and then upgrade boot.img of the rockdev// directory.
Compiling kernel generation separately boot.img
Principle of compilation: in the kernel directory, the generated kernel.img And resource.img Replace with old boot.img, so you need to use BOOT_IMG=XXX parameter specification boot.img when compiling. The command is as follows:
When compiling, executing ./mkimage.sh will repackage boot.img and super.img, and copy other related image files to the directory rockdev//. The following lists the image files used by general firmware:
Image
Instruction
boot.img
including ramdis、kernel、dtb
dtbo.img
Device Tree Overlays
MiniLoaderAll.bin
including first level loader
misc.img
including recovery-wipe boot symbol information, after flashing it will enter recovery
parameter.txt
including partition information
recovery.img
including recovery-ramdis、kernel、dtb
super.img
including the contents of odm、vendor、system partitions
uboot.img
including uboot image
vbmeta.img
including avb verification information, used for AVB verification
update.img
including the above img files to be flashed, can be used for the tool to directly flash the whole image package
For details about how to upgrade a partition image file, see USB Firmware Upgrade.