8,367
edits
Changes
→Compile linux image
<ol style="list-style-type: decimal;">
<li><p>Run the '''build.sh''' script, remember to add sudo permission</p>
{| class="wikitable" style="width:800px;" |-| <p>test@test:~/orangepi-build$ '''sudo ./build.sh'''</p>|}</li><li><p>Select '''Full OS image for flashing''', then press Enter</p></li></ol>
<div class="figure">
[[File:media/image313.png|576x128px|选区_242]]
</div></li></ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then select the model of the development board</p>
<li><p>Then select the branch type of the kernel source code, the type of rootfs maintained by different versions of the kernel source code is different</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The current branch can see debian11, ubuntu20.04, ubuntu22.04 > three options</p></li><li><p>The next branch can see debian11, debian12, ubuntu22.04 three > options</p>
<p>[[File:media/image298.png|576x77px]]</p></li></ol>
</li>
<li><p>Then select the type of image</p>
<ol style="list-style-type: lower-alpha;">
<li><p>'''Image with console interface (server)''' Indicates the image of > the server version, which is relatively small</p></li><li><p>'''Image with desktop environment''' Indicates a mirror image with > a desktop, which is relatively large</p>
<div class="figure">
<ol style="list-style-type: lower-alpha;">
<li><p>The storage path of the compiled image</p>
{| class="wikitable" style="width:800px;" |-| <p>[ o.k. ] Done building [ '''output/images/orangepizero3_x.x.x_debian_bullseye_linux6.1.xx_xfce_desktop/orangepizero3_x.x.x_debian_bullseye_linux6.1.xx_xfce_desktop.img''' ]</p>|}</li><li><p>Compilation time</p></li></ol></li></ol>{| class="wikitable" style="width:800px;" |-|
'''[ o.k. ] Runtime [ 19 min ]'''
|}</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li><p>Repeat the command to compile the image, and use the following > command to start compiling the image directly without selecting > through the graphical interface</p>{| class="wikitable" style="width:800px;" |-| <p>[ o.k. ] Repeat Build Options [ '''sudo ./build.sh BOARD=orangepizero3 BRANCH=next BUILD_OPT=image RELEASE=bullseye BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=yes''' ]</p>|}</li></ol></li></ol>
<span id="android-12-tv-system-instructions"></span>