8,367
edits
Changes
→Download the cross-compilation toolchain
=== Download the cross-compilation toolchain ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''The cross-compilation toolchain will only be downloaded when the orangepi-build compilation image is used on an x64 computer. Compiling the linux image of the development board in the Ubuntu22.04 of the development board will not download the cross-compilation toolchain. At this time, orangepi-build/toolchains will be an empty folder.'''</big>|}
<ol style="list-style-type: decimal;">
</div></li>
<li><p>The image URL of the cross-compilation toolchain in China is the open source software image site of Tsinghua University</p>
<li><p>After '''toolchains''' is downloaded, it will contain multiple versions of cross-compilation toolchains, and the development board will only use two of them</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''ls toolchains/'''</p>
<p>gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu</p>
<p>gcc-linaro-aarch64-none-elf-4.8-2013.11_linux</p>
<p>gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux</p>
<p>gcc-linaro-arm-none-eabi-4.8-2014.04_linux</p>|}</li>
<li><p>The cross-compilation toolchain used to compile the linux kernel source code is</p>
<ol style="list-style-type: lower-alpha;">
<li><p>linux5.10</p>
{| class="wikitable" style="width:800px;" |-|<p>'''gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu'''</p>|}</li></ol>
</li>
<li><p>The cross-compilation tool chain used to compile the u-boot source code is</p>
<ol style="list-style-type: lower-alpha;">
<li><p>v2017.09</p>
{| class="wikitable" style="width:800px;" |-|<p>'''gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu'''</p>|}</li></ol>
</li></ol>
<span id="orangepi-build-complete-directory-structure-description"></span>
=== orangepi-build complete directory structure description ===