8,367
edits
Changes
→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 external kernel LICENSE output README.md scripts toolchains u-boot userpatches'''|}</ol></li></ol>
<span id="compile-u-boot"></span>
== Compile u-boot ==