如何首次编译RV1126的Kernel
一、获取源码
TB-RV1126Ds:
git clone https://github.com/rockchip-toybrick/kernel.git -b rv1126-develop-4.19
二、获取交叉编译工具链
1、在kernel
同级目录创建prebuilts
文件夹;
2、在prebuilts
目录下创建gcc
文件夹;
3、下载交叉编译工具(linux-x86)到gcc
目录:
git clone https://github.com/rockchip-toybrick/linux-x86.git -b master
三、安装必要的软件库
sudo apt-get update sudo apt-get upgrade sudo apt-get install python3 sudo ap-gett install bison sudo apt-get install flex sudo apt-get install genext2fs sudo apt-get install libssl-dev sudo apt-get install lzop
四、链接python环境
sudo ln -s /usr/bin/python3 /usr/bin/python
五、编译
cd kernel ./make-linux.sh arm