Changes

Jump to: navigation, search

Orange Pi Zero 2W

482 bytes added, 10:03, 27 September 2023
orangepi-build complete directory structure description
<li><p>The git warehouse where the linux kernel source code is stored is as follows. Please note that the branch of the linux-orangepi warehouse is switched to</p>
<ol style="list-style-type: lower-alpha;">
<li>Linux5.4</li></ol></li></ol>{| class="wikitable" style="width:800px;" </li></ol>|-|
https://github.com/orangepi-xunlong/linux-orangepi/tree/'''orange-pi-5.4-sun50iw9'''
|}</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Linux6.1</li></ol>{| class="wikitable" style="width:800px;" |-|
https://github.com/orangepi-xunlong/linux-orangepi/tree/'''orange-pi-6.1-sun50iw9'''
|}</ol></li></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>The git warehouse where the u-boot source code is stored is as follows. Please note that the branch of the u-boot-orangepi warehouse is switched to</p>
<ol style="list-style-type: lower-alpha;">
<li>v2018.05</li></ol></li></ol>{| class="wikitable" style="width:800px;" |-|
https://github.com/orangepi-xunlong/u-boot-orangepi/tree/'''v2018.05-h618'''
|}</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>v2021.07</li></ol>{| class="wikitable" style="width:800px;" |-|
https://github.com/orangepi-xunlong/u-boot-orangepi/tree/'''v2021.07-sunxi'''
|}</ol></li></ol></li></ol>
<ol start="2" style="list-style-type: decimal;">
<li><p>When orangepi-build is run for the first time, it will download the cross-compilation tool chain, u-boot and linux kernel source code. After successfully compiling a linux image, the files and folders that can be seen in orangepi-build are:</p>
<li><p>'''toolchains''': Store cross-compilation tool chain</p></li>
<li><p>'''u-boot''': Store the source code of u-boot</p></li>
<li><p>'''userpatches''': Store the configuration files needed to compile the script</p></li></ol></li></ol>{| class="wikitable" style="width:800px;" |-|
test@test:~/orangepi-build$ '''ls'''
'''build.sh &nbsp;&nbsp;&nbsp;&nbsp; external &nbsp;&nbsp;&nbsp;&nbsp; kernel &nbsp;&nbsp;&nbsp;&nbsp; LICENSE &nbsp;&nbsp;&nbsp;&nbsp; output &nbsp;&nbsp;&nbsp;&nbsp; README.md &nbsp;&nbsp;&nbsp;&nbsp; scripts &nbsp;&nbsp;&nbsp;&nbsp; toolchains &nbsp;&nbsp;&nbsp;&nbsp; u-boot &nbsp;&nbsp;&nbsp;&nbsp; userpatches'''|}</ol></li></ol>
<span id="compile-u-boot"></span>
 
== Compile u-boot ==

Navigation menu