8,460
个编辑
更改
→在开发板的linux系统中单独编译内核源码的方法
<ol style="list-style-type: decimal;">
<li><p>首先下载开发板的Linux内核源码</p>
{| class="wikitable" style="width:800px;" |-|<p>'''orangepi@orangepi:~$ git clone --depth=1 -b orange-pi-5.10-rk3588 https://github.com/orangepi-xunlong/linux-orangepi'''</p>|}</li></ol>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''如果从github下载代码有问题,可以去开发板的[http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html 官方工具]中下载内核源码压缩包,然后上传到开发板的linux系统中,再解压即可。'''</big>
[[File:media/image544.png|223x86px]] [[File:media/image545.png|305x87px]]
<big>'''解压内核源码压缩包的命令为:'''
orangepi@orangepi:~$ '''tar zxf orange-pi-5.10-rk3588.tar.gz'''
orangepi@orangepi:~$ '''mv orange-pi-5.10-rk3588 linux-orangepi'''
'''解压后请执行下面的命令和github同步下源码,确保源码为最新的状态:'''
orangepi@orangepi:~$ '''cd linux-orangepi'''
orangepi@orangepi:~/linux-orangepi$ '''git pull'''</big>|}</ol>
<ol start="2" style="list-style-type: decimal;">
<li><p>然后配置下默认的内核配置</p>