补充内核编译操作说明(如下以coolpi 4b ubuntu22.04 0306系统版本为例):
首先下载内核源码
coolpi@coolpi:~$ git clone https://github.com/yanyitech/coolpi-kernel.git Cloning into 'coolpi-kernel'... remote: Enumerating objects: 8550563, done. remote: Counting objects: 100% (5962/5962), done. remote: Compressing objects: 100% (3084/3084), done. remote: Total 8550563 (delta 2757), reused 5819 (delta 2648), pack-reused 8544601 Receiving objects: 100% (8550563/8550563), 1.98 GiB | 11.07 MiB/s, done. Resolving deltas: 100% (7166058/7166058), done. Checking objects: 100% (33554432/33554432), done. Updating files: 100% (87196/87196), done. coolpi@coolpi:~$额外安装组件包
coolpi@coolpi:~$ sudo apt install -y flex bison libssl-dev coolpi@coolpi:~$ sudo ln -sf /usr/bin/python3 /usr/bin/python开始编译内核
coolpi@coolpi:~$ cd coolpi-kernel coolpi@coolpi:~/coolpi-kernel$ ./build-kernel.sh cp4b