Kickpi-Book
  • KICKPI Document
  • K5(A133)
    • A133中文文档
      • 02-KICKPI-K5C硬件介绍
      • 02-KICKPI-K5硬件介绍
      • 10-系统镜像烧录
      • 11-SDK源码编译
      • 12-硬件功能使用说明
      • 13-硬件工厂测试
      • 20-LCD功能调试
      • 21-LRADC按键配置
      • 31-Android10.0 Tablet系统定制
      • 32-Ubuntu16.04 系统定制
      • 33-Kernel 驱动定制
      • 34-K5C主板供电
  • K2B/K2C(H618)
    • H618 English Document
      • 00-Board Function List
      • 01-Quick Start Guide
      • 02-Image Burnning
      • 03-SDK Compilation
      • 04-Hardware Factory Test
      • 13-I2C3-pcf8563rtc
      • 14-Secure Boot
      • 20-Ubuntu2204 system
      • 21-Android12.0 system customization
      • 30-Kernel defconfig configuration
      • 31-Extended pin configuration
      • 33-Linux QT application compilation environment construction
      • 44-Keybox
    • H618 中文文档
      • 02-KICKPI-K2B硬件介绍
      • 03-KICKPI-K2C硬件介绍
      • 10-系统镜像烧录
      • 11-SDK源码编译
      • 12-硬件功能使用说明
      • 13-I2C3-pcf8563rtc
      • 14-Secure Boot
      • 硬件工厂测试
      • 20-Ubuntu2204系统
      • 21-Android12.0 系统定制
      • 30-Kernel defconfig配置
      • 31-扩展引脚配置
      • QT开发环境搭建
      • 33-linux QT应用编译环境搭建
      • 44-Keybox
  • K1/K1B/K3/K8(RK356X/RK3588)
    • RK3568 English Document
      • 02-KICKPI-K1 Hardware introduction
      • 03-KICKPI-K1B Hardware Introduction
      • 04-KICKPI-K3 Hardware Introduction
      • 05-KICKPI-TX66 Hardware Introduction
      • 06-KICKPI-K8 Hardware Introduction
      • 10-System image burning
      • 11-SDK source code compilation
      • 12-Hardware function instructions
      • 13-Hardware Factory Test
      • 14-Hardware Aging Test
      • 20- Linux system customization
      • 21-Android13.0 system customization
      • 22 - Kernel driver customization
      • 30- Linux NPU YOLOV5S object detection
      • 31-Android NPU YOLOV5 object detection
      • 32-Linux Docker
      • 33-Linux QT Environment
      • 40-RK3568 LCD Configuration
      • 50 - Frequently Asked Questions
    • RK3568 中文文档
      • 01-RK芯片对比介绍
      • 02-KICKPI-K1硬件介绍
      • 03-KICKPI-K1B硬件介绍
      • 04-KICKPI-K3硬件介绍
      • 05-KICKPI-TX66硬件介绍
      • 06-KICKPI-K8硬件介绍
      • 10-系统镜像烧录
      • 11-SDK源码编译
      • 12-硬件功能使用说明
      • 13-硬件工厂测试
      • 14-硬件老化测试
      • 20-Linux系统定制
      • 21-Android13.0系统定制
      • 22-Kernel 驱动定制
      • 30-Linux NPU YOLOV5S 目标检测
      • 31-Android NPU YOLOV5 目标检测
      • 32-Linux Docker环境搭建
      • 33-Linux QT环境搭建
      • 40-RK3568 LCD配置
      • 41-固件解包和打包
      • 50-常见问题
  • K7(RK3576)
    • RK3576中文文档
      • 02-KICKPI-K7硬件介绍
      • 10-系统镜像烧录
      • 11-SDK源码编译
      • 12-硬件功能使用说明
      • 13-硬件工厂测试
      • 14-硬件老化测试
      • 20-Android系统定制
      • 21-Linux系统定制
      • 22-Kernel驱动定制
      • 23-Linux NPU YOLOV5S 目标检测
      • 24-Deepseek大模型
      • 32-Linux Docker环境搭建
      • 05-Linux_VNC远程控制
      • 41-固件解包和打包
  • K4B(T113-S3)
    • T113-S3中文文档
      • 01-KICKPI-K4B硬件介绍
      • 10-系统镜像烧录
      • 11-SDK源码编译
      • 12-硬件功能测试
      • 13-硬件工厂测试
      • LCD功能调试
      • 20-Ubuntu20.04系统定制
      • Buildroot_QT5配置
      • Buildroot系统定制
Powered by GitBook
On this page
  • Windows
  • Linux
  • 解包
  • 打包
  1. K7(RK3576)
  2. RK3576中文文档

41-固件解包和打包

​ 本节主要介绍RK的固件在windows或者linux下进行解包和重新打包的过程。

Windows

​ 待测试完善。

Linux

使用的工具获取:

1.网盘路径:

rk3576_data\3-SoftwareData软件资料\Linux_Pack_Firmware.zip

2.Linux-SDK源码路径:

rk3576-linux\tools\linux\Linux_Pack_Firmware

3.Android-SDK源码路径:

rk3576-android14.0\RKTools\linux\Linux_Pack_Firmware

解包

  1. 将Linux_Pack_Firmware放到你的虚拟机工作目录中

$ ls Linux_Pack_Firmware/
rockdev
  1. 将需要解包的固件放置于rockdev目录下,并重命名为:update.img

$ cd Linux_Pack_Firmware/rockdev
$ mv update-rk3576-kickpi-k7-linux-debian--20250403-150845.img update.img
  1. 运行脚本进行解包

$ ./unpack.sh
  1. 解包出的分镜像等文件位于:

$ ls output/
Image  MiniLoaderAll.bin  package-file  parameter.txt

解包出的分镜像进行修改或替换后就可以进行重新打包生成固件

打包

将解包出的镜像修改完成后就可以进行重新打包了。

  1. 拷贝文件到rockdev对应路径,删除之前用于解包的update.img镜像

$ cp -rf output/* ./ 
$ mv parameter.txt Image/
$ mv MiniLoaderAll.bin Image/
$ rm update.img
  1. 修改package-file文件,将文件路径修改为你对应文件放置的路径

# NAME  PATH
package-file    package-file
parameter       Image/parameter.txt
bootloader      Image/MiniLoaderAll.bin
uboot   Image/uboot.img
misc    Image/misc.img
boot    Image/boot.img
recovery        Image/recovery.img
backup  RESERVED
rootfs  Image/rootfs.img
  1. 运行对应版本脚本进行打包

$ ./rk3576-mkupdate.sh
  1. 打包完成的镜像就位于rockdev目录下:

$ ls update.img

Last updated 10 days ago