11.荔枝派 zero(全志V3S)-编译最新版kernel

上面是我创建的群聊,欢迎新朋友的加入。

1.下载资源

我懒得下,网速像蜗牛,是群友下载的,分享出来的

完整镜像压缩之后3个G的样子

2.检出分支

解压文件

安装git

sudo apt-get install git

查看当前的内核分支

git branch -a

有蛮多个,不管那么多。直接用最新的

git checkout remotes/origin/zero-5.2.y
检出有点久,等一下

当前版本是5.2了

3.编译

make ARCH=arm licheepi_zero_defconfig
make ARCH=arm menuconfig   #add bluethooth, etc.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules_install

报错

fatal error: openssl/bio.h

解决

sudo apt-get install libssl-dev

原创文章 140 获赞 77 访问量 15万+

猜你喜欢

转载自blog.csdn.net/Jun626/article/details/104332945
今日推荐