Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Build drivers from source for rpi/zh
(view source)
Revision as of 17:24, 11 April 2022
37 bytes added
,
17:24, 11 April 2022
no edit summary
Line 1:
Line 1:
[[Build drivers from source for rpi|English]]
[[Build drivers from source for rpi|English]]
−
本文主要参考资料为[https://www.raspberrypi.org/documentation/linux/kernel/building.md 官方piOS编译方法]
。我们采用交叉编译的方法,5.4.72版本32bitOS为例进行说明。
+
本文主要参考资料为[https://www.raspberrypi.org/documentation/linux/kernel/building.md 官方piOS编译方法]
。我们采用交叉编译的方法。
以下操作均在ubuntu PC上进行。
以下操作均在ubuntu PC上进行。
−
=
===开发环境准备
=
===
+
===开发环境准备===
<code>sudo apt install git bc bison flex libssl-dev make libc6-dev libncurses5-dev</code>
<code>sudo apt install git bc bison flex libssl-dev make libc6-dev libncurses5-dev</code>
Line 14:
Line 14:
<code>sudo apt install crossbuild-essential-arm64</code>
<code>sudo apt install crossbuild-essential-arm64</code>
−
=
===下载标准版本
=
===
+
===下载标准版本===
=====首先,请确认自己的树莓派上的piOS版本:=====
=====首先,请确认自己的树莓派上的piOS版本:=====
Line 61:
Line 61:
修改同路径下的Makefile,增加对应dts编译选项。
修改同路径下的Makefile,增加对应dts编译选项。
−
=
===编译
=
===
+
===编译===
=====编译准备=====
=====编译准备=====
不同树莓派的编译选项不同,区别如下:
不同树莓派的编译选项不同,区别如下:
Line 121:
Line 121:
*树莓派的piOS编译方案:
*树莓派的piOS编译方案:
−
https://www.raspberrypi.org/documentation/linux/kernel/building.md<br />
+
https://www.raspberrypi.org/documentation/linux/kernel/building.md
+
+
=== 本文修改记录 ===
+
+
* 20220411
+
+
独立成篇,增加MV系列的描述。
<br />
Admin
Bureaucrats
,
Administrators
1,602
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Links
VEYE IMAGING Website
VEYE IMAGING WIKI
VEYE IMAGING Github
VEYE IMAGING Forum
Offical Store
TAOBAO(淘宝网店)
AliExpress Shop
Amazon US. Shop
Amazon Canda Shop
WIKI Main Page
Main Page
Support
Support
Tools
Special pages
Printable version