02-Linux_SDK_Compilation
SDK Introduction
Kernel version: 6.1
Debian system version: 12
Ubuntu system version: 2404
Obtain the SDK Source Code
Network disk directory
*Here, * generally refers to the date. The same applies below. The actual names shall be subject to the network disk.
Copy the source code compressed package to the compilation host directory (if the compilation host is a virtual machine, do not compile it in the shared directory).
Verify the integrity of the file using MD5.
If the result is consistent with the content of rk3576-linux-*.md5sum, the file is downloaded completely.
Extract the source code compressed package.
Configure the Environment
Configure the environment before individual compilation or full compilation.
Select the corresponding motherboard and system as needed.
Debian uses the debian/linaro-rootfs.img image by default. If it does not exist, it will be compiled and generated.
Ubuntu uses the ubuntu/ubuntu2204-rootfs.img image by default. If it does not exist, it will be compiled and generated.
If you need to quickly compile Debian, you can use the linaro-rootfs-*.img in the network disk, rename it and save it to debian/linaro-rootfs.img.
If you need to quickly compile Ubuntu, you can use the ubuntu2404-rootfs-*.img in the network disk, rename it and save it to ubuntu/ubuntu-rootfs.img.
Full Compilation
Standard image
Multi-screen recognition image
Individual Compilation
Kernel defconfig Configuration
U-Boot Compilation
Kernel Compilation
Method 1
Method 2
Kernel Multi-screen Recognition Compilation
Debian Compilation
Configure the environment
Compile linaro-rootfs.img
If debian/linaro-rootfs.img does not exist, it will be generated through compilation using this command.
Ubuntu Compilation
Configure the environment
Compile linaro-rootfs.img
If ubuntu/ubuntu-rootfs.img does not exist, it will be generated through compilation using this command.
Other Notes
Firmware Description
The following files will be generated after a full compilation:
The image to be flashed is SDK/rockdev/update-rk3576-kickpi-k7-linux--.img.
DTS Path
Defconfig Path
U-Boot Defconfig Path
U-Boot Defconfig Configuration
Last updated