rk3568 kernel compilation
1. Development environment
1.1 Operating system
Ubuntu 20.04
1.2 Development board
RK3568J
1.3 SDK
rk356x_sdk-v1.1.tar.gz
1.4 rkbin
Download link: rkbin
Two, compile
- An error occurs during decompression, which is normal and does not affect compilation
- Select board level information
- Compile the kernel
- Select board-level information and compile the kernel without sudo privileges
- The compilation error reports that python cannot be found. Check whether the python environment is installed. If not, install it. If the error is still reported after installation, check whether the python link is correct and re-link it.
- If you encounter an error during compilation, you can download the corresponding dependencies according to the error message
- There is no 'openssl/bio.h' file when compiling the kernel, and the download depends on it
sudo apt-get install libssl-dev
- Error reporting missing lz4c, install related dependencies
sudo apt-get install liblz4-tool
- There is no 'openssl/bio.h' file when compiling the kernel, and the download depends on it
-
The compilation error reports that the mkimage tool is missing. Just unzip rkbin to the root directory of the sdk. Be careful not to duplicate file names after decompression. It is best to use the command to decompress.
-
So far, the RK3568 kernel has been compiled, and the red font part is a prompt message, which can be ignored.