Changes

Jump to: navigation, search

Orange Pi Zero 3

99 bytes removed, 10:24, 12 July 2023
Compile the linux kernel
</li>
<li><p>If you choose to display the kernel configuration menu (the second option) in step 3), the kernel configuration interface opened by '''make menuconfig''' will pop up. At this time, you can directly modify the kernel configuration, save and exit after modification. Yes, after exiting, it will start compiling the kernel source code.</p>
<p>[[File:media/image304.png|575x357px]]</p></li></ol>
<!-- -->
<ol style="list-style-type: lower-alpha;">
<li><p>If you do not need to modify the configuration options of the &gt; kernel, when running the build.sh script, pass in &gt; '''KERNEL_CONFIGURE=no''' to temporarily block the pop-up kernel &gt; configuration interface</p>
{| class="wikitable" style="width:800px;"
|-
|}
</li>
<li><p>You can also set '''KERNEL_CONFIGURE=no''' in the &gt; orangepi-build/userpatches/config-default.conf configuration file, &gt; which can permanently disable this function</p></li><li><p>If the following error is displayed when compiling the kernel, it is &gt; because the terminal interface of the Ubuntu PC is too small to &gt; display the make menuconfig interface. Please maximize the &gt; terminal of the Ubuntu PC and run the build.sh script again</p>
<p>[[File:media/image305.png|574x234px]]</p></li></ol>
</li></ol>
<!-- -->
<ol start="7" style="list-style-type: decimal;">
|}
</li>
<li><p>The configuration file used by the kernel by default and the &gt; path where it is stored are as follows</p>
{| class="wikitable" style="width:800px;"
|-
|}
</li>
<li><p>The path of the deb package related to the kernel generated by &gt; compiling</p>
{| class="wikitable" style="width:800px;"
|-
|}
</li>
<li><p>Finally, the compilation command to repeatedly compile the &gt; kernel selected last time will be displayed. Use the following &gt; command to start compiling the kernel source code directly &gt; without selecting through the graphical interface</p>
{| class="wikitable" style="width:800px;"
|-
<li><p>View the deb package related to the kernel generated by compilation</p>
<ol style="list-style-type: lower-alpha;">
<li><p>'''linux-dtb-next-sun50iw9_x.x.x_arm64.deb''' Contains dtb files &gt; used by the kernel</p></li><li><p>'''linux-headers-next-sun50iw9_x.x.x_arm64.deb''' Include kernel &gt; headers</p></li><li><p>'''linux-image-next-sun50iw9_x.x.x_arm64.deb''' Contains kernel &gt; images and kernel modules</p>
{| class="wikitable" style="width:800px;"
|-
<li><p>If the kernel has been modified, the following method can be used to update the kernel and kernel modules of the development board linux system</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Upload the deb package of the compiled linux kernel to the linux &gt; system of the development board</p>
{| class="wikitable" style="width:800px;"
|-
|}
</li>
<li><p>Then restart the development board, and then check whether the &gt; kernel-related modifications have taken effect</p>
{| class="wikitable" style="width:800px;"
|-

Navigation menu