03-Firmware_Unpacking_and_Packing
This section mainly introduces the process of unpacking and repacking RK firmware on Windows or Linux.
Windows
To be tested and improved.
Linux
Obtaining the tools
Network disk path:
Linux-SDK source code path:
Android-SDK source code path:
Unpacking
Place the
Linux_Pack_Firmware
directory in your virtual machine's working directory.
Put the firmware to be unpacked in the
rockdev
directory and rename it toupdate.img
.
Run the script to unpack the firmware.
The unpacked partition images and other files are located in:
After modifying or replacing the unpacked partition images, you can repack them to generate a new firmware.
Packing
After modifying the unpacked images, you can repack them.
Copy the files to the corresponding paths in the
rockdev
directory and delete theupdate.img
used for unpacking.
Modify the
package-file
to update the file paths to the actual locations of the files.
Run the corresponding version script to pack the firmware.
The packed image is located in the
rockdev
directory:
Last updated