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

  1. An error occurs during decompression, which is normal and does not affect compilation
    insert image description here
  2. Select board level information
    insert image description here
  3. Compile the kernel
    insert image description here
  4. 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
      insert image description here
    • Error reporting missing lz4c, install related dependencies
      sudo apt-get install liblz4-tool
      insert image description here
  1. 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.
    insert image description here

  2. So far, the RK3568 kernel has been compiled, and the red font part is a prompt message, which can be ignored.
    insert image description here

Guess you like

Origin blog.csdn.net/yy1677/article/details/130215213