Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

19,124 bytes added, 10:25, 15 June 2023
Burn Orange Pi OS (Droid) image toeMMC
• 1 x HDMI input, up to 4K@60FPS
• 1 x MIPI DSI 4 Lane output, up to 4K@60Hz60FPS
|-
== Top view and bottom view of Orange Pi 5 Plus ==
<big>'''Top view:'''</big>
<div class="figure">
[[File:media/image4plus5-img4.jpeg|486x342px|Orange-Pi-5-PLUS-1png]]
</div>
<big>'''Bottom view:'''</big>
<div class="figure">
[[File:media/image5plus5-img5.jpeg|495x329px|Orange-Pi-5-PLUS-2png]]
</div>
<span id="nterface-details-of-orange-pi-5-plus"></span>
 
== Interface details of Orange Pi 5 Plus ==
[[File:media/image6plus5-img6.png|600x553px]]
<div style="margin-left: 100px;">[[File:media/image7plus5-img7.jpeg|576x483px|未标题-1png]]</div>
<span id="section"></span>
# TF card, a class 10 or above high-speed SanDisk card with a minimum capacity of 16GB (32GB or above is recommended)
::[[File:media/image8plus5-img8.png|124x96px]]
<ol start="2" style="list-style-type: decimal;">
<li>TF card reader, used to burn the image into the TF card</li>
[[File:media/image9plus5-img9.png|139x106px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>Display with HDMI interface</li>
[[File:media/image10plus5-img10-1.png|313x205px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li>HDMI to HDMI cable, used to connect the development board to an HDMI monitor or TV for display</li>
[[File:media/image11plus5-img11.png|199x129px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''\Note, if you want to connect a 4K or 8K display, please make sure that the HDMI cable supports 4K or 8K video display.'''</big>
|}
</ol>
<div class="figure">
[[File:media/image12plus5-img12.jpeg|243x166px|IMG_256png]]
</div></ol>
<div class="figure">
[[File:media/image13plus5-img13.jpeg|245x166px|98F5D70E2C9B3673E8ECE4B8ABDDFD80png]]
</div></ol>
<div class="figure">
[[File:media/image14plus5-img14.jpeg|223x203px|IMG_7546png]]
</div></ol>
<li>Power adapter, Orange Pi 5 Plus is recommended to use 5V/4A Type-C power supply for power supply</li>
[[File:media/image15plus5-img15.png|274x194px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''There are two Type-C ports that look the same on the development board. The one next to the network port is the power port, and the other Type-C port has no power supply function. Please don’t don't connect it wrong.'''</big>
<div class="figure">
[[File:media/image16plus5-img16.jpegpng|269x240px|01center]]
</div>
<li>The mouse and keyboard of the USB interface, as long as the mouse and keyboard of the standard USB interface are acceptable, the mouse and keyboard can be used to control the Orange Pi development board</li>
[[File:media/image17plus5-img17.png|311x264px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>USB camera</li>
[[File:media/image18plus5-img18.png|331x191px]]
</ol>
<ol start="11" style="list-style-type: decimal;">
<li>'''5V cooling fan. As shown in the figure below, the development board has an interface for connecting the cooling fan, and the interface specification is''' 2p'''in 2pin 1.25mm pitch'''</li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|}
[[File:media/image19plus5-img19.png|410x171px]]
</ol>
<ol start="12" style="list-style-type: decimal;">
<li>Network cable, used to connect the development board to the Internet</li>
[[File:media/image20plus5-img20.png|143x112px]]
</ol>
<ol start="13" style="list-style-type: decimal;">
<li>The data cable of the Type-C interface, used for burning images, using ADB and other functions</li>
[[File:media/image21plus5-img21.png|143x113px]]
</ol>
<ol start="14" style="list-style-type: decimal;">
<li>Infrared remote control</li>
[[File:media/image22plus5-img22.png|170x173px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<ol start="15" style="list-style-type: decimal;">
<li><p>OV13850 camera with 13 million MIPI interface (common with OPi5/OPi5B)</p>
<p>[[File:media/image23plus5-img23.png|268x151px]]</p></li>
<li><p>OV13855 camera with 13 million MIPI interface (common with OPi5/OPi5B)</p>
<p>[[File:media/image24plus5-img24.png|253x150px]]</p></li>
<li><p>M.2 M-KEY 2280 specification NVMe SSD solid state drive, PCIe interface specification is PCIe3.0x4</p></li>
<p>[[File:media/image25plus5-img25.png|358x104px]]</p></ol>
<ol start="18" style="list-style-type: decimal;">
<li>eMMC expansion module (to be added physical pictures)</li>
<big>'''The position where the eMMC module is inserted on the development board is shown in the figure below:'''</big>
[[File:media/image26plus5-img26.png|317x144pxcenter]]
|}
</ol>
<ol start="19" style="list-style-type: decimal;">
<li><p>RTC battery, the interface is 2pin, 1.25mm pitch</p>
<p>[[File:media/image27plus5-img27.png|250x134px]]</p></li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<big>'''The location of the RTC battery interface on the development board is shown in the figure below:'''</big>
[[File:media/image28plus5-img28.png|344x126pxcenter]]
|}
</ol>
<li>Horn, the interface is 2pin, 1.25mm pitch</li>
[[File:media/image29plus5-img29.png|200x138px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<big>'''The interface position of the speaker on the development board is shown in the figure below:'''</big>
[[File:media/image30plus5-img30.png|312x158pxcenter]]
|}
</ol>
<li><p>3.3V USB to TTL module and DuPont line, when using serial port debugging function, need USB to TTL module and DuPont line to connect the development board and computer</p></li>
[[File:media/image31plus5-img31.png|217x89px|G7U7JZX(V`L$`A6864]38$P]] [[File:media/image32plus5-img32.png|305x110px]]
</ol>
<ol start="23" style="list-style-type: decimal;">
'''http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html'''
|}
::[[File:media/image33plus5-img33.png|361x300px]]
<ol start="2" style="list-style-type: decimal;">
|-
|
<big>'''Note that the Linux image mentioned here specifically refers to the image of Linux distributions such as Debian, Ubuntu, OpenWRT or OPi OS Arch downloaded from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''].'''</big>
|}
# First prepare a TF card with a capacity of 16GB or more. The transmission speed of the TF card must be '''class 10''' or above. It is recommended to use a TF card of SanDisk and other brands
# Then use the card reader to insert the TF card into the computer
# Download the Linux operating system image file compression package that you want to burn from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], and then use the decompression software to decompress it. Among the decompressed files, the file ending with &quot;'''.img'''&quot; is the image file of the operating system. The size is generally above 2GB.
::{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<big>'''Note, if you download the OpenWRT image, you will see the following two types of images in the download link of the OpenWRT image, please download the image file in the &quot;TF card, eMMC and NVME SSD boot image&quot; folder.'''</big>
[[File:media/image34plus5-img34.png|277x88pxcenter]]
|}
<ol start="5" style="list-style-type: decimal;">
<li><p>After entering the balenaEtcher download page, click the green download button to jump to the place where the software is downloaded</p>
<p>[[File:media/image35plus5-img35.png|575x276px]]</p></li>
<li><p>Then you can choose to download the Portable version of balenaEtcher software. The Portable version does not need to be installed, and you can use it by double-clicking to open it</p></li>
[[File:media/image36plus5-img36.png|576x213px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>If the downloaded version of balenaEtcher needs to be installed, please install it before using it. If you downloaded the Portable version of balenaEtcher, just double-click to open it. The balenaEtcher interface after opening is shown in the figure below:</li>
[[File:media/image37plus5-img37.png|483x304px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<big>'''When opening balenaEtcher, if the following error is prompted:'''</big>
[[File:media/image38plus5-img38.png|261x205pxcenter]]
<big>'''Please select balenaEtcher, right-click, and select Run as administrator.'''</big>
<div class="figure">
[[File:media/image39plus5-img39.png|300x104px|图形用户界面, 文本, 应用程序 描述已自动生成center]]
</div>
<div class="figure">
[[File:media/image40plus5-img40.png|501x281px|03]]
</div></ol>
<li>The interface displayed in the process of burning the Linux image by balenaEtcher is shown in the figure below, and the progress bar displays purple, indicating that the Linux image is being burned into the TF card.</li>
[[File:media/image41plus5-img41.png|506x317px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>After burning the Linux image, balenaEtcher will also verify the image burned to the TF card by default to ensure that there is no problem in the burning process. As shown in the figure below, a green progress bar indicates that the image has been burnt, and balenaEtcher is verifying the burnt image.</li>
[[File:media/image42plus5-img42.png|519x325px]]
</ol>
<ol start="11" style="list-style-type: decimal;">
<li>After successful burning, the display interface of balenaEtcher is as shown in the figure below. If the green indicator icon is displayed, it means that the image burning is successful. At this time, you can exit balenaEtcher, and then pull out the TF card and insert it into the TF card slot of the development board.</li>
[[File:media/image43plus5-img43-1.png|523x324px]]
</ol>
<span id="how-to-use-rkdevtool-to-burn-linux-image-to-tf-card"></span>
# First, you need to prepare a data cable with a good quality Type-C interface
::[[File:media/image21plus5-img21.png|193x196px]]
<ol start="2" style="list-style-type: decimal;">
<li><p>Then insert the TF card into the card slot of the development board</p></li>
[[File:media/image44plus5-img44.png|300x87px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>Then download Rockchip '''DriverAssitant_v5.12.zip''' and MiniLoader and the burning tool '''RKDevTool_Release_v2.96.zipRKDevTool_Release_v3zip RKDevTool_Release_v3.15.zip''' from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], please ensure that the version of the downloaded RKDevTool tool is v2.96</p>
<ol style="list-style-type: lower-alpha;">
<li>On the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], first select the official tool, and then enter the following folder.</li>
[[File:media/image45plus5-img45.png|382x97px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then download all the files below</li>
[[File:media/image46plus5-img46.png|392x145px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
</li></ol>
<ol start="5" style="list-style-type: decimal;">
<li>Then download the Linux operating system image file compression package that you want to burn from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], and then use the decompression software to decompress it. Among the decompressed files, the file ending with &quot;'''.img'''&quot; is the image file of the operating system , the size is generally more than 2GB</li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<big>'''Note, if you download the OpenWRT image, you will see the following two types of images in the download link of the OpenWRT image, please download the image file in the &quot;TF card, eMMC and NVME SSD boot image&quot; folder.'''</big>
[[File:media/image34plus5-img34.png|301x95pxcenter]]
|}
</ol>
<li>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li>
[[File:media/image47plus5-img47.png|575x169px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>Click the &quot;'''Driver Installation'''&quot; button</li>
[[File:media/image48plus5-img48.png|300x157px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li>
[[File:media/image49plus5-img49.png|429x223px]]
</ol>
</li></ol>
<li>Then decompress '''RKDevTool_Release_v2.96.zipRKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|575x170px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer has not been connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|402x189px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|400x113px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|382x93px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Finally, connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button. The location of the Type-C power interface is as follows:</li>
[[File:media/image54plus5-img54.png|404x123px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image56plus5-img56.png|455x216px|图片1]]
</div></ol>
<li>Then click the right mouse button and the selection interface shown in the figure below will pop up</li>
[[File:media/image57plus5-img57.png|453x213px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then select the '''import configuration''' option</li>
[[File:media/image58plus5-img58.png|458x215px]]
</ol>
<ol style="list-style-type: lower-roman;">
<li>Then select the '''rk3588_linux_tfcard.cfg''' configuration file in the '''MiniLoader''' folder downloaded earlier, and click '''Open'''</li>
[[File:media/image59plus5-img59.png|483x227px]]
</ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li>Then click '''OK'''</li>
[[File:media/image60plus5-img60.png|483x227px]]
</ol>
<ol start="11" style="list-style-type: lower-alpha;">
<li>Then click the position shown in the figure below</li>
[[File:media/image61plus5-img61.png|486x228px]]
</ol>
<ol start="12" style="list-style-type: lower-alpha;">
<li>Then select '''MiniLoaderAll.bin''' in the '''MiniLoader''' folder downloaded earlier, and then click to '''open'''</li>
[[File:media/image62plus5-img62.png|492x231px]]
</ol>
<ol start="13" style="list-style-type: lower-alpha;">
<li>Then click the position shown in the figure below</li>
[[File:media/image63plus5-img63.png|493x232px]]
</ol>
<ol start="14" style="list-style-type: lower-alpha;">
|}
[[File:media/image64plus5-img64.png|499x234px]]
</ol>
<ol start="15" style="list-style-type: lower-alpha;">
<li>Then please check the '''option to force writing by address'''</li>
[[File:media/image65plus5-img65.png|489x230px]]
</ol>
<ol start="16" style="list-style-type: lower-alpha;">
<li>Then click the execute button to start burning the linux image to the tf card of the development board</li>
[[File:media/image66plus5-img66.png|492x231px]]
</ol>
<ol start="17" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image67plus5-img67.png|492x231px|%O4~FPPAT$0RH{3S~CGJ@@Q(1)]]
</div></ol>
<div class="figure">
[[File:media/image68plus5-img68.png|209x228px|选区_199]]
</div></ol>
<li>Then click &quot;'''Format'''&quot;, a warning box will pop up before formatting, and formatting will start after selecting &quot;'''Yes (Y)'''&quot;</li>
[[File:media/image69plus5-img69.png|304x147px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>After formatting the TF card, the message shown in the figure below will pop up, click OK</li>
[[File:media/image70plus5-img70.png|186x149px]]</ol>
</li></ol>
<ol start="4" style="list-style-type: decimal;">
<li>Download the image file compression package of the Linux operating system that you want to burn from the '''Orange Pi data 's download page''', and then use the decompression software to decompress it. Among the decompressed files, the file ending with &quot;'''.img'''&quot; is the image file of the operating system. The size is generally more than 2GB</li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<big>'''Note, if you download the OpenWRT image, you will see the following two types of images in the download link of the OpenWRT image, please download the image file in the &quot;TF card, eMMC and NVME SSD boot image&quot; folder.'''</big>
[[File:media/image34plus5-img34.png|309x98pxcenter]]
|}
</ol>
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After downloading, install it directly. The interface of &gt; Win32Diskimager is as follows</li>
a) First select the path of the image file
<div class="figure">
[[File:media/image71plus5-img71.png|297x206px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\a8fda8737c5b0b3b38fbb75ef68acfc.pnga8fda8737c5b0b3b38fbb75ef68acfc]]
</div></ol>
|-
|
<big>'''Note that the Linux image mentioned here specifically refers to the image of Linux distributions such as Debian, Ubuntu, OpenWRT or OPi OS Arch downloaded from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], and the Ubuntu PC refers to the personal computer with the Ubuntu system installed.'''</big>
|}
<li>After entering the balenaEtcher download page, click the green download button to jump to the place where the software is downloaded</li>
[[File:media/image35plus5-img35.png|575x276px]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Then choose to download the Linux version of the software</li>
[[File:media/image72plus5-img72.png|575x218px]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li>Download the Linux operating system image file compression package that you want to burn from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], and then use the decompression software to decompress it. Among the decompressed files, the file ending with &quot;'''.img'''&quot; is the image file of the operating system. The size is generally more than 2GB</li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<div class="figure">
[[File:media/image73plus5-img73.png|275x87px|e6986fc9c8fc078e8cb6a9c39b76fb8center]]
</div>
<li>Then double-click '''balenaEtcher-1.14.3-x64.AppImage''' on the graphical interface of Ubuntu PC to open balenaEtcher (no installation required), and the interface after balenaEtcher is opened is shown in the figure below</li>
[[File:media/image74plus5-img74.png|423x251px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image40plus5-img40.png|501x281px|03]]
</div></ol>
<li>The interface displayed in the process of burning the Linux image by balenaEtcher is shown in the figure below, and the progress bar displays purple, indicating that the Linux image is being burned into the TF card</li>
[[File:media/image75plus5-img75.png|576x247px]]
</ol>
<ol start="1211" style="list-style-type: decimal;"><li>The interface displayed in the process of After burning the Linux image , balenaEtcher will also verify the image burned into the TF card by balenaEtcher default to ensure that there is no problem in the burning process. As shown in the figure below, and the a green progress bar displays purple, indicating indicates that the Linux image has been burnt, and balenaEtcher is being burned into verifying the TF cardburnt image</li>
[[File:media/image76plus5-img76.png|576x252px]]
</ol>
<ol start="1312" style="list-style-type: decimal;">
<li><p>After successful burning, the display interface of balenaEtcher is as shown in the figure below. If a green indicator icon is displayed, it means that the image burning is successful. At this time, you can exit balenaEtcher, and then pull out the TF card and insert it into the TF card slot of the development board for use.</p>
<p>[[File:media/image77plus5-img77.png|576x340px]]</p></li></ol>
<span id="how-to-burn-linux-image-to-emmc"></span>
|-
|
<big>'''Note that the Linux image mentioned here specifically refers to the image of Linux distributions such as Debian, Ubuntu, OpenWRT or OPi OS Arch downloaded from the''' [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</big>
|}
# The development board reserves the expansion interface of the eMMC module. Before programming the system to the eMMC, you first need to purchase an eMMC module that matches the eMMC interface of the development board. Then install the eMMC module to the development board. The location of the eMMC interface is as follows:
::[[File:media/image78plus5-img78-1.png]][[File:plus5-img78-2.png]] ::[[File:plus5-img78-3.png|307x141px]]
<ol start="2" style="list-style-type: decimal;">
<li>It is also necessary to prepare a data cable with a good quality Type-C interface</li>
[[File:media/image21plus5-img21.png|150x152px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then download Rockchip '''DriverAssitant_v5.12.zip''' and '''MiniLoader''' and the burning tool RKDevTool_Release_v2.96.zipRKDevTool_Release_v3.15.zip from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], please make sure that the version of the downloaded RKDevTool tool is v2.96.</p>
<ol style="list-style-type: lower-alpha;">
<li>On the download page of Orange Pi, first select the official tool, and then enter the following folder</li>
<div class="figure">
[[File:media/image79plus5-img79.png|408x99px|c40e71d1a66216e12b3b4297138f749]]
</div></ol>
<div class="figure">
[[File:media/image80plus5-img80.png|337x138px|2feec28318eaa60c0514000158b889a]]
</div></ol>
</li></ol>
<ol start="4" style="list-style-type: decimal;">
<li>Then download the Linux operating system image file compression package that you want to burn from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], and then use the decompression software to decompress it. Among the decompressed files, the file ending with &quot;'''.img'''&quot; is the image file of the operating system , the size is generally more than 2GB</li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<div class="figure">
[[File:media/image73plus5-img73.png|340x108px|e6986fc9c8fc078e8cb6a9c39b76fb8center]]
</div>
<li>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li>
[[File:media/image47plus5-img47.png|496x146px]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li>Click the &quot;'''Driver Installation'''&quot; button</li>
[[File:media/image48plus5-img48.png|284x149px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li>
[[File:media/image49plus5-img49.png|296x154px]]
</ol>
</li></ol>
<li>Then decompress RKDevTool_Release_v3.15.zip, this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|484x143px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer has not been connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|442x208px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|403x114px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|418x94px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</li>
[[File:media/image54plus5-img54.png|407x124px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then place the mouse cursor in the area below</li>
[[File:media/image81plus5-img81-1.png|458x215px]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click the right mouse button and the selection interface shown in the figure below will pop up</li>
[[File:media/image57plus5-img57.png|460x216px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then select the '''import configuration''' option</li>
[[File:media/image58plus5-img58.png|458x215px]]
</ol>
<ol style="list-style-type: lower-roman;">
<li>Then select the '''rk3588_linux_emmc.cfg''' configuration file in the '''MiniLoader''' folder downloaded earlier, and click '''Open'''</li>
[[File:media/image82plus5-img82.png|466x219px]]
</ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li>Then click '''OK'''</li>
[[File:media/image83plus5-img83.png|468x220px]]
</ol>
<ol start="11" style="list-style-type: lower-alpha;">
<li>Then click the position shown in the figure below</li>
[[File:media/image84plus5-img84.png|462x217px]]
</ol>
<ol start="12" style="list-style-type: lower-alpha;">
<li>Then select '''MiniLoaderAll.bin''' in the '''MiniLoader''' folder downloaded earlier, and then click to '''open'''</li>
[[File:media/image85plus5-img85.png|463x217px]]
</ol>
<ol start="13" style="list-style-type: lower-alpha;">
<li>Then click the position shown in the figure below</li>
[[File:media/image86plus5-img86.png|459x216px]]
</ol>
<ol start="14" style="list-style-type: lower-alpha;">
<big>'''Before burning the image, it is recommended to rename the linux image to be burned to orangepi.img or other shorter names, so that you can see the percentage value of the burning progress when burning the image.'''</big>
[[File:media/image64plus5-img64.png|499x234px]]
|}
</ol>
<li>Then please check the option to '''force writing by address'''</li>
[[File:media/image87plus5-img87.png|501x235px]]
</ol>
<ol start="16" style="list-style-type: lower-alpha;">
<li>Then click the execute button to start burning the linux image to the eMMC of the development board</li>
[[File:media/image88plus5-img88.png|502x236px]]
</ol>
<ol start="17" style="list-style-type: lower-alpha;">
<li>The log displayed after burning the linux image is shown in the figure below</li>
[[File:media/image89plus5-img89.png|500x235px]]
</ol>
<ol start="18" style="list-style-type: lower-alpha;">
<li>After burning the linux image into the eMMC, the linux system will start automatically.</li>{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note, after burning the image into eMMC, if the test finds that it cannot be started, please clear the SPIFlash and try again. For the method of clearing SPIFlash, please refer to the method of using RKDevTool to clear SPIFlash.'''</big>|}</ol>
</li></ol>
<span id="using-the-dd-command-to-burn-the-linux-image-into-emmc"></span>
|-
|
<big>'''Note that the Linux image mentioned here specifically refers to the image of Linux distributions such as Debian, Ubuntu, OpenWRT or OPi OS Arch downloaded from the Orange Pi data 's download page.'''</big>
|}
# The development board reserves the expansion interface of the eMMC module. Before programming the system to the eMMC, you first need to purchase an eMMC module that matches the eMMC interface of the development board. Then install the eMMC module to the development board. The location of the eMMC interface is as follows:
::[[File:media/image78plus5-img78-1.png]][[File:plus5-img78-2.png]] ::[[File:plus5-img78-3.png|312x143px]]
<ol start="2" style="list-style-type: decimal;">
<li><p>After using the TF card to start the linux system, we first upload the decompressed linux image file (Debian, Ubuntu image or OPi Arch image downloaded from the official website) to the TF card. For the method of [[Orange Pi 5 Plus#The method of uploading files to the Linux system of the development board|'''uploading the linux image file to the development board,''']] please refer to the description in the section of the method of uploading files to the development board Linux system.</p></li>
<li><p>After uploading the image to the linux system of the development board, we enter the storage path of the image file in the command line of the linux system of the development board. For example, I store the linux image of the development board in the '''/home/orangepi/Desktop''' directory Download it, and then enter the /'''/home/orangepi/Desktop''' directory to see the uploaded image file.</p></li>
{| class="wikitable" style="width:800px;"
|-
|
<big>'''Note that the Linux image mentioned here specifically refers to the image of Linux distributions such as Debian, Ubuntu, OpenWRT or OPi OS Arch downloaded from the''' [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''].</big>
|}
# First, you need to prepare an M-Key 2280 specification NVMe SSD solid state drive, and the specification of the PCIe interface in the M.2 slot of the development board is PCIe3.0x4.
::[[File:media/image25plus5-img25.png|306x89px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then insert the NVMe SSD into the M.2 PCIe interface of the development board shown in the figure below, and fix it</li>
[[File:media/image90plus5-img90.png|274x110px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming</li>
[[File:media/image91plus5-img91.png|416x115px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image92plus5-img92.png|355x174px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image93plus5-img93.png|356x179px|IMG_256]]
</div></ol>
<li>Then please wait patiently for the burning to complete. After the burning is completed, the display will be as follows (a '''Done''' will be displayed in the lower left corner):</li>
[[File:media/image94plus5-img94.png|406x199px]]
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<div class="figure">
[[File:media/image73plus5-img73.png|284x90px|e6986fc9c8fc078e8cb6a9c39b76fb8center]]
</div>
# First, you need to prepare an M-Key 2280 specification NVMe SSD solid state drive, and the specification of the PCIe interface in the M.2 slot of the development board is PCIe3.0x4.
::[[File:media/image25plus5-img25.png|375x108px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then insert the NVMe SSD into the M.2 PCIe interface of the development board shown in the figure below, and fix it</li>
[[File:media/image90plus5-img90.png|349x140px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming</li>
[[File:media/image91plus5-img91.png|395x109px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>Burning the linux image to SPIFlash+NVMe SSD needs to be done with a TF card, so first you need to burn the linux image to the TF card, and then use the TF card to start the development board to enter the linux system. For the method of burning the Linux image to the TF card, please refer to the instructions in the two sections of [[Orange Pi 5 Plus#Method of burning Linux image to TF card based on Windows PC|'''the method of burning the Linux image to the TF card based on the Windows PC''']] and [[Orange Pi 5 Plus#Method of burning Linux image to TF card based on Ubuntu PC|'''the method of burning the Linux image to the TF card based on the Ubuntu PC''']].</p></li>
<li><p>After booting into the linux system in the TF card, please confirm that the NVMe SSD has been recognized by the linux system of the development board. If the NVMe SSD is recognized normally, use the '''sudo fdisk -l'''command to see nvme-related information</p></li>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image95plus5-img95.png|506x249px|IMG_256]]
</div>
<div class="figure">
[[File:media/image96plus5-img96.png|406x207px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image97plus5-img97.png|406x205px|IMG_256]]
</div></ol>
<li>Then enter the '''/usr/lib/linux-u-boot-legacy-orangepi5plus_1.x.x_arm64''' directory, select '''rkspi_loader.img''', and click '''Open''' to open</li>
[[File:media/image98plus5-img98.png|575x162px]]
</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>The interface after opening '''rkspi_loader.img''' is as follows:</li>
[[File:media/image99plus5-img99.png|379x181px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image100plus5-img100.png|379x171px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image101plus5-img101.png|385x155px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image102plus5-img102.png|389x264px|IMG_256]]
</div></ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click'''Flash'''</li>
<div class="figure">
[[File:media/image103plus5-img103.png|394x268px|IMG_256]]
</div></ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then click'''Yes, I’m sure'''</li>
<div class="figure">
[[File:media/image104plus5-img104.png|396x269px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image105plus5-img105.png|393x269px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image106plus5-img106.png|397x272px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image107plus5-img107.png|395x225px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image108plus5-img108.png|386x204px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image109plus5-img109.png|386x261px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image110plus5-img110.png|381x191px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image100plus5-img100.png|379x171px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image101plus5-img101.png|385x155px|IMG_256]]
</div></ol>
<li>Then select the device name of the NVMe SSD '''/dev/nvme0n1''', and click '''Select'''</li>
[[File:media/image111plus5-img111.png|386x264px]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image112plus5-img112.png|389x264px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image113plus5-img113.png|392x268px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image114plus5-img114.png|390x267px|IMG_256]]
</div></ol>
<li>The display of the burning process is as follows:</li>
[[File:media/image115plus5-img115.png|393x212px]]
<div class="figure">
[[File:media/image116plus5-img116.png|395x205px|IMG_256]]
</div></ol>
<li>After the burning is completed, the display is as follows:</li>
[[File:media/image117plus5-img117.png|398x227px]]
</ol>
<ol start="12" style="list-style-type: lower-alpha;">
<li><p>Then you need to expand the capacity of the rootfs partition in the NVMe SSD. The steps are as follows:</p>
<ol style="list-style-type: lower-alphanone;"><li>a) open first '''GParted''', if the system does not have Gparted pre-installed, please use the apt command to install it</li> {| class="wikitable" style="width:800px;" |-| orangepi@orangepi:~$ '''sudo apt-get install -y gparted'''|}
<div class="figure">
[[File:media/image118plus5-img118.png|590x317px|IMG_256]]
</div></ol>
<ol start="2" style="list-style-type: lower-alphanone;"><li>b) Then enter the password orangepi of the linux system, and then click '''Authenticate'''</li>
[[File:media/image119plus5-img119.png|356x173px]]
</ol>
<ol start="3" style="list-style-type: lower-alphanone;"><li>c) Then click '''Fix'''</li>
[[File:media/image120plus5-img120.png|375x276px]]
</ol>
<ol start="4" style="list-style-type: lower-alphanone;"><li>d) Then select NVMe SSD</li>
<div class="figure">
[[File:media/image121plus5-img121.png|452x187px|IMG_256]]
</div></ol>
<ol start="5" style="list-style-type: lower-alphanone;"><li>e) The display interface after selecting NVMe SSD is as follows:</li>
<div class="figure">
[[File:media/image122plus5-img122.png|451x187px|IMG_256]]
</div></ol>
<ol start="6" style="list-style-type: lower-alphanone;"><li>f) Then select the '''/dev/nvme0n1p2''' partition, then right-click, and then select '''Resize/Move'''</li>
<div class="figure">
[[File:media/image123plus5-img123.png|448x345px|IMG_256]]
</div></ol>
<ol start="7" style="list-style-type: lower-alphanone;"><li>g) Then drag the capacity to the maximum at the position shown in the figure below</li>
[[File:media/image124plus5-img124.png|339x210px]]
</ol>
<ol start="8" style="list-style-type: lower-alphanone;"><li>h) and click '''Resize/Move'''</li>
[[File:media/image125plus5-img125.png|339x212px]]
</ol>
<ol start="9" style="list-style-type: lower-romannone;"><li>i) Then click the green one in the picture below'''<span style="color:green"></span>'''</li>
[[File:media/image126plus5-img126.png|425x166px]]
</ol>
<ol start="10" style="list-style-type: lower-alphanone;"><li>j) Click again '''Apply'''</li>
[[File:media/image127plus5-img127.png|378x276px]]
</ol>
<ol start="11" style="list-style-type: lower-alphanone;"><li>k) Then click '''Close''' to close</li>
[[File:media/image128plus5-img128.png|383x234px]]
</ol>
</li></ol>
<!-- -->
<ol start="10" style="list-style-type: decimal;">
<li><p>Step '''9)''' is to clone the system in the TF card to the NMVe SSD. We can also directly burn the linux image file to the NVMe SSD. Here are the steps:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Upload the linux image file to the linux system of the development board</p></li>
<div class="figure">
[[File:media/image129plus5-img129.png|575x361px|图片1]]
</div></ol>
# First, you need to prepare an M-Key 2280 specification NVMe SSD solid state drive, and the specification of the PCIe interface in the M.2 slot of the development board is PCIe3.0x4.
::[[File:media/image25plus5-img25.png|261x75px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then insert the NVMe SSD into the M.2 PCIe interface of the development board shown in the figure below, and fix it</li>
[[File:media/image90plus5-img90.png|259x104px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming</li>
[[File:media/image91plus5-img91.png|340x94px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li>Then you need to prepare a data cable with good quality Type-C interface</li>
[[File:media/image21plus5-img21.png|123x124px]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then download the Rockchip driver '''DriverAssitant_v5.12.zip''' and MiniLoader and the burning tool '''RKDevTool_Release_v3.15.zip''' from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p>
<ol style="list-style-type: lower-alpha;">
<li>On the download page of Orange Pi, first select the official tool, and then enter the following folder</li>
<div class="figure">
[[File:media/image79plus5-img79.png|371x90px|c40e71d1a66216e12b3b4297138f749]]
</div></ol>
<div class="figure">
[[File:media/image80plus5-img80.png|340x140px|2feec28318eaa60c0514000158b889a]]
</div></ol>
</li></ol>
<ol start="6" style="list-style-type: decimal;">
<li>Then download the Linux operating system image file compression package that you want to burn from the Orange Pi data 's download page, and then use the decompression software to decompress it. Among the decompressed files, the file ending with &quot;'''.img'''&quot; is the image file of the operating system , the size is generally more than 2GB</li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<div class="figure">
[[File:media/image73plus5-img73.png|340x108px|e6986fc9c8fc078e8cb6a9c39b76fb8center]]
</div>
<li>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', then find '''DriverInstall.exe''' executable file in the decompressed folder and open it</li>
[[File:media/image47plus5-img47.png|429x126px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>Click the &quot;'''Driver Installation'''&quot; button</li>
[[File:media/image48plus5-img48.png|300x157px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li>
[[File:media/image49plus5-img49.png|324x168px]]
</ol>
</li></ol>
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|455x135px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer is not connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|436x205px]]
</ol>
<ol start="11" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|446x126px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board. The position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|424x103px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button. The location of the Type-C power interface is as follows:</li>
[[File:media/image54plus5-img54.png|439x134px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the MASKROM mode at this time, and the interface of the burning tool will prompt &quot;'''Found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image130.jpeg|452x212px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-4img130.jpg未标题-4png]]
</div></ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then place click the right mouse cursor button and the selection interface shown in the area figure belowwill pop up</li>
[[File:media/image57plus5-img57.png|453x213px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then select the '''Import configuration''' option</li>
[[File:media/image58plus5-img58.png|458x215px]]
</ol>
<ol style="list-style-type: lower-roman;">
<li>Then enter the MiniLoader folder downloaded earlier, then select the '''rk3588_linux_pcie.cfg''' configuration file, and click '''Open'''</li>
[[File:media/image131plus5-img131.png|462x217px]]
</ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li>Then click '''OK'''</li>
[[File:media/image132plus5-img132.png|468x220px]]
</ol>
<ol start="11" style="list-style-type: lower-alpha;">
<li>Then click the location shown in the figure below</li>
[[File:media/image133plus5-img133.png|480x225px]]
</ol>
<ol start="12" style="list-style-type: lower-alpha;">
<li>Then select '''MiniLoaderAll.bin''' in the '''MiniLoader''' folder downloaded earlier, and then click to '''open'''</li>
[[File:media/image62plus5-img62.png|484x227px]]
</ol>
<ol start="13" style="list-style-type: lower-alpha;">
<li>Then click the position shown in the figure below</li>
[[File:media/image134plus5-img134.png|486x228px]]
</ol>
<ol start="14" style="list-style-type: lower-alpha;">
<li>Then enter the '''MiniLoader''' folder downloaded earlier, select '''rkspi_loader.img,''' and click '''Open'''</li>
[[File:media/image135plus5-img135.png|501x235px]]
</ol>
<ol start="15" style="list-style-type: lower-alpha;">
<li>Then click the location shown in the figure below</li>
[[File:media/image136plus5-img136.png|501x235px]]
</ol>
<ol start="16" style="list-style-type: lower-alpha;">
|}
[[File:media/image64plus5-img64.png|499x234px]]
</ol>
<ol start="17" style="list-style-type: lower-alpha;">
<li>Then please check the option to '''force write by address'''</li>
[[File:media/image137plus5-img137.png|487x229px]]
</ol>
<ol start="18" style="list-style-type: lower-alpha;">
<li>Click the Execute button again to start burning the u-boot+linux image to SPIFlash+SSD</li>
[[File:media/image138plus5-img138.png|489x230px]]
</ol>
<ol start="19" style="list-style-type: lower-alpha;">
<li>The display log after burning the image is shown in the figure below</li>
[[File:media/image139plus5-img139.png|490x230px]] {| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''If there is a problem with burning, please clear the SPIFlash first and then try burning again. For the method of clearing SPIFlash, please refer to the instructions in the section of using RKDevTool to clear SPIFlash.'''</big>|}
</ol>
<ol start="20" style="list-style-type: lower-alpha;">
<div class="figure">
::[[File:media/image140plus5-img140.png|329x112px|25566f72fb1f4567c78af07e73b5134]]
</div>
# The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming
::[[File:media/image91plus5-img91.png|389x107px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then you need to prepare a data cable with good quality Type-C interface</li>
[[File:media/image21plus5-img21.png|152x154px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then download the Rockchip driver '''DriverAssitant_v5.12.zip''' and MiniLoader and the burning tool '''RKDevTool_Release_v3.15.zip''' from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p>
<ol style="list-style-type: lower-alpha;">
<li>On the download page of Orange Pi, first select the official tool, and then enter the following folder</li>
<div class="figure">
[[File:media/image73plus5-img73.png|340x108px|e6986fc9c8fc078e8cb6a9c39b76fb8]]
</div></ol>
<div class="figure">
[[File:media/image80plus5-img80.png|401x165px|2feec28318eaa60c0514000158b889a]]
</div></ol>
<div class="figure">
[[File:media/image140plus5-img140.png|329x112px|25566f72fb1f4567c78af07e73b5134]]
</div></ol>
<li>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li>
[[File:media/image47plus5-img47.png|472x139px]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li>Click the &quot;'''Driver Installation'''&quot; button</li>
[[File:media/image48plus5-img48.png|276x145px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li>
[[File:media/image49plus5-img49.png|292x151px]]
</ol>
</li></ol>
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|467x138px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer has not been connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|402x189px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|424x120px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board. The position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|444x100px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</li>
[[File:media/image54plus5-img54.png|402x123px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''Found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image130.jpeg|452x212px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-4img130.jpg未标题-4png]]
</div></ol>
<li>Then click the right mouse button and the selection interface shown in the figure below will pop up</li>
[[File:media/image57plus5-img57.png|453x213px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then select the '''Import configuration''' option</li>
[[File:media/image58plus5-img58.png|458x215px]]
</ol>
<ol style="list-style-type: lower-roman;">
<li>Then select the '''rk3588_linux_spiflash.cfg''' configuration file in the MiniLoader folder downloaded earlier, and click '''Open'''</li>
[[File:media/image141plus5-img141.png|465x218px]]
</ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li>Then click '''OK'''</li>
[[File:media/image142plus5-img142.png|466x219px]]
</ol>
<ol start="11" style="list-style-type: lower-alpha;">
<li>Then click the location shown in the figure below</li>
[[File:media/image143plus5-img143.png|467x219px]]
</ol>
<ol start="12" style="list-style-type: lower-alpha;">
<li>Then select '''MiniLoaderAll.bin''' in the '''MiniLoader''' folder downloaded earlier, and click '''Open'''</li>
[[File:media/image144plus5-img144.png|469x220px]]
</ol>
<ol start="13" style="list-style-type: lower-alpha;">
<li>Then click the location shown in the figure below</li>
[[File:media/image145plus5-img145.png|452x212px]]
</ol>
<ol start="14" style="list-style-type: lower-alpha;">
</li>
[[File:media/image64plus5-img64.png|456x214px]]
</ol>
<ol start="15" style="list-style-type: lower-alpha;">
<li>Then please make sure that the option to '''force writing by address''' is ticked</li>
[[File:media/image146plus5-img146.png|463x217px]]
</ol>
<ol start="16" style="list-style-type: lower-alpha;">
<li>Click the '''Execute''' button again to start burning the OpenWRT image into SPIFlash</li>
[[File:media/image147plus5-img147.png|463x218px]]
</ol>
<ol start="17" style="list-style-type: lower-alpha;">
<li>The display log after burning the OpenWRT image is shown in the figure below</li>
[[File:media/image148plus5-img148.png|465x219px]] {| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''If there is a problem with burning, please clear the SPIFlash first and then try burning again. For the method of clearing SPIFlash, please refer to the instructions in the section of using RKDevTool to clear SPIFlash.'''</big>|}
</ol>
<ol start="18" style="list-style-type: lower-alpha;">
<li><p>First prepare a TF card with a capacity of 16GB or greater. The transmission speed of the TF card must be class10 or above. It is recommended to use a TF card of SanDisk and other brands</p></li>
<li><p>Then use the card reader to insert the TF card into the computer</p></li>
<li><p>Then download the SDDiskTool programming tool from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], '''<span style="color:#FF0000">please make sure that the version of the SDDiskTool tool is the latest v1.72</span>'''</p></li>
<li><p>Then download the Android12 image from the Orange Pi download page</p>
<ol style="list-style-type: lower-alpha;">
<li>After opening the download link of the Android image, you can see the following two types of Android images, please select the image in the '''TF card and eMMC boot image''' folder to download</li>
[[File:media/image149plus5-img149.png|240x98px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
c) The image with box is a image dedicated to the TV box
[[File:media/image150plus5-img150.png|255x97px]]
</ol>
</li></ol>
<li><p>Then use decompression software to decompress '''SDDiskTool_v1.72.zip''', this software does not need to be installed, just find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it</p></li>
[[File:media/image151plus5-img151.png|575x138px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>After opening SDDiskTool, if the TF card is recognized normally, the inserted disk device will be displayed in the &quot;'''Select Removable Disk Device'''&quot; column. '''<span style="color:#FF0000">Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn</span>''' If there is no display, you can try to unplug the TF card</li>
[[File:media/image152plus5-img152.png|267x228px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>After confirming the drive letter, you can format the TF card first, click the restore disk button in '''SDDiskTool''', or use the SD Card Formatter mentioned above to format the TF card</li>
[[File:media/image153plus5-img153.png|247x212px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
c. Finally click the &quot;'''Start Create'''&quot; button to start burning the Android image to the TF card
[[File:media/image154plus5-img154.png|346x292px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>After burning, you can exit the SDDiskTool software, and then you can pull out the TF card from the computer and insert it into the development board to start</li>
[[File:media/image155plus5-img155.png|304x258px]]
</ol>
<span id="how-to-burn-android-image-into-emmc"></span>
# The development board reserves an eMMC expansion interface. Before programming the system to eMMC, you first need to purchase an eMMC module that matches the eMMC interface of the development board. Then install the eMMC module to the development board. The location of the eMMC interface is as follows:
::[[File:media/image78plus5-img78-1.png]][[File:plus5-img78-2.png]] ::[[File:plus5-img78-3.png|307x141px]]
<ol start="2" style="list-style-type: decimal;">
<li><p>It is also necessary to prepare a data cable with a good quality Type-C interface</p>
<p>[[File:media/image21plus5-img21.png|134x136px]]</p></li><li><p>Then download Rockchip driver '''DriverAssitant_v5.12.zip''' and burning tool '''RKDevTool_Release_v3.15.zip''' from [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p></li><li><p>Then download the Android image from [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''].</p></li>
<ol style="list-style-type: lower-alpha;">
<li>After opening the download link of the Android image, you can see &gt; the following two types of Android images, please select the image &gt; in the '''TF card and eMMC startup image''' folder to download</li>
<div class="figure">
[[File:media/image156plus5-img156.png|240x98px|4db492fa03e0cf83396c36286128350]]
</div></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After entering the TF card and eMMC boot image folder, you can see &gt; the following three images, the difference between them is:</li>
<ol style="list-style-type: lower-alpha;">
<li><p>The first image is dedicated to HDMI display and supports 8K &gt; display. If you don’t use LCD screen, please download the image &gt; without lcd</p></li>
<li><p>If you want to use lcd screen, please choose image with lcd</p></li>
<li><p>The image with box is a image dedicated to the TV box</p></li>
[[File:media/image150plus5-img150.png|255x97px]]
</ol>
</ol>
<li><p>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</p></li>
[[File:media/image47plus5-img47.png|575x169px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>Click the &quot;'''Driver Installation'''&quot; button</li>
[[File:media/image48plus5-img48.png|300x157px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;driver installed successfully&quot;, then click &quot;OK&quot;</li>
[[File:media/image49plus5-img49.png|315x164px]]
</ol>
</li></ol>
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|454x134px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer has not been connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|442x208px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|439x124px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|456x103px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on</li>
[[File:media/image54plus5-img54.png|441x135px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Upgrade Firmware'''&quot; column of the burning tool</li>
[[File:media/image157plus5-img157.png|442x208px]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Firmware'''&quot; button to select the path of the Android image that needs to be burned</li>
[[File:media/image158plus5-img158.png|444x209px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li><p>Finally, click the &quot;'''Upgrade'''&quot; button to start burning, and the log during the burning process is shown in the figure below. After burning is completed, the Android system will start automatically.</p>
<p>[[File:media/image159plus5-img159.png|449x211px]]</p></li></ol>
</li></ol>
<span id="how-to-burn-android-12-image-into-emmc-via-tf-card"></span>
# The development board reserves an eMMC expansion interface. Before programming the system to eMMC, you first need to purchase an eMMC module that matches the eMMC interface of the development board. Then install the eMMC module to the development board. The location of the eMMC interface is as follows:
::[[File:media/image78plus5-img78-1.png]][[File:plus5-img78-2.png]] ::[[File:plus5-img78-3.png|392x180px]]
<ol start="2" style="list-style-type: decimal;">
<li><p>You also need to prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be class10 or above. It is recommended to use a TF card of SanDisk and other brands</p></li>
<li><p>Then use the card reader to insert the TF card into the computer</p></li>
<li><p>Then download the SDDiskTool programming tool from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], '''<span style="color:#FF0000">please ensure that the version of the SDDiskTool tool is the latest v1.72</span>'''</p></li><li><p>Then download the Android image from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p>
<ol style="list-style-type: lower-alpha;">
<li>After opening the download link of the Android image, you can see the following two types of Android images, please '''select the image in the TF card and eMMC startup image''' folder to download</li>
<div class="figure">
[[File:media/image156plus5-img156.png|240x98px|4db492fa03e0cf83396c36286128350]]
</div></ol>
<li><p>The mirror with box is a mirror dedicated to the TV box</p></li>
[[File:media/image150plus5-img150.png|255x97px]]</ol>
</li></ol>
</li></ol>
<li><p>Then use decompression software to decompress the compressed package of the downloaded Android image. Among the decompressed files, the file ending with &quot;.img&quot; is the Android image file, and the size is more than 1GB</p></li>
<li><p>Then use decompression software to decompress '''SDDiskTool_v1.72.zip''', this software does not need to be installed, just find '''SD_Firmware_Tool.ex''' in the decompressed folder and open it</p></li>
<li>
[[File:media/image151plus5-img151.png|429x103px]]</li></ol><ol start="98" style="list-style-type: decimal;">
<li>After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in the &quot;'''Select Removable Disk Device'''&quot; column. '''<span style="color:#FF0000">Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn</span>''', if there is no display, you can try to unplug the TF card</li>
[[File:media/image152plus5-img152.png|267x228px]]
</ol>
<ol start="109" style="list-style-type: decimal;">
<li>After confirming the drive letter, you can format the TF card first, click the '''restore disk''' button in '''SDDiskTool,''' or use the '''SD Card Formatter''' mentioned above to format the TF card</li>
[[File:media/image153plus5-img153.png|247x212px]]
</ol>
<ol start="1110" style="list-style-type: decimal;">
<li><p>Then start to write the Android image into the TF card</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Finally click the &quot;'''Start Create'''&quot; button to start burning</p></li>
[[File:media/image160plus5-img160.png|290x246px]]
</ol>
</li></ol>
<ol start="1211" style="list-style-type: decimal;">
<li><p>After the burning is completed, the display is as shown in the figure below, and then you can exit SDDiskTool</p></li>
<li>
[[File:media/image161plus5-img161.png|285x243px]]</li></ol><ol start="1412" style="list-style-type: decimal;">
<li><p>Then pull out the TF card from the computer and insert it into the development board. After the development board is powered on, it will automatically start burning the Android image in the TF card to the eMMC of the development board.</p></li>
<li><p>If the development board is connected to an HDMI display, you can also see the progress bar of burning the Android image to eMMC from the HDMI display</p></li>
<li>
[[File:media/image162plus5-img162.png|430x247px]]</li></ol><ol start="1714" style="list-style-type: decimal;">
<li><p>When the HDMI monitor displays the following information, it means that the burning of the Android image into the eMMC has been completed. At this time, the TF card can be pulled out, and then the Android system in the eMMC will start.</p>
<p>[[File:media/image163plus5-img163.png|576x389px]]</p></li></ol>
<span id="how-to-burn-android-image-to-spiflashnvme-ssd"></span>
# First, you need to prepare an M-Key 2280 specification NVMe SSD solid state drive, and the specification of the PCIe interface in the M.2 slot of the development board is PCIe3.0x4.
::[[File:media/image25plus5-img25.png|361x104px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then insert the NVMe SSD into the M.2 PCIe interface of the development board and fix it</li>
[[File:media/image90plus5-img90.png|355x143px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming</li>
[[File:media/image91plus5-img91.png|415x114px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li>It is also necessary to prepare a data cable with a good quality Type-C interface</li>
[[File:media/image21plus5-img21.png|150x152px]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then download Rockchip driver '''DriverAssitant_v5.12.zip''' and burning tool '''RKDevTool_Release_v3.15.zip''' from [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p></li><li><p>Then download the Android12 image from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p>
<ol style="list-style-type: lower-alpha;">
<li>After opening the download link of the Android image, you can see the following two types of Android images, please select the image in the '''SPIFlash-NVME SSD boot image''' folder to download</li>
[[File:media/image164plus5-img164.png|234x91px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>The image with box is a image dedicated to the TV box</p></li>
[[File:media/image165plus5-img165.png|241x70px]]
</ol>
</li></ol>
<li>Then use the decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li>
[[File:media/image47plus5-img47.png|575x169px]]
</ol>
:8. After opening DriverInstall.exe, the steps to install the Rockchip driver are as followsa. Click the &quot;'''Driver Install'''&quot; button
::[[File:media/image48plus5-img48.png|300x157px]]
:::a. After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, then click the &quot;'''OK'''&quot; button
::::[[File:media/image49plus5-img49.png|429x223px]]
:9. Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it
::[[File:media/image50plus5-img50.png|421x124px]]
<ol start="10" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer is not connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|442x208px]]
</ol>
<ol start="12" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|418x118px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|443x100px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</li>
[[File:media/image54plus5-img54.png|449x137px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''Found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then click the &quot;Upgrade Firmware&quot; column of the burning tool</li>
[[File:media/image157plus5-img157.png|442x208px]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click the &quot;Firmware&quot; button to select the Android image to be burned</li>
[[File:media/image158plus5-img158.png|447x210px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Finally, click the &quot;Upgrade&quot; button to start burning. The burning process is shown in the figure below. After the burning is completed, the Android system will automatically start.</li>
[[File:media/image166plus5-img166.png|450x210px]]
</ol>
</li></ol>
# First prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be class10 or above. It is recommended to use a TF card of SanDisk and other brands
# Then use the card reader to insert the TF card into the computer
# Then download the SDDiskTool programming tool from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], '''<span style="color:#FF0000">please make sure that the version of the SDDiskTool tool is the latest v1.72</span>.'''# Then download the Orange Pi OS (Droid) image from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], open the download link of the Orange Pi OS (Droid) image, and you can see the following two types of images, please select the image below
::[[File:media/image167plus5-img167.png|286x49px]]
<ol start="5" style="list-style-type: decimal;">
<li><p>Then use decompression software to decompress '''SDDiskTool_v1.72.zip''', this software does not need to be installed, just find '''SD_Firmware_Tool.ex''' in the decompressed folder and open it</p></li>
[[File:media/image151plus5-img151.png|486x117px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in the &quot;'''Select Removable Disk Device'''&quot; column. '''<span style="color:#FF0000">Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn</span>''' , if there is no display, you can try to unplug the TF card</li>
[[File:media/image152plus5-img152.png|248x212px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>After confirming the drive letter, you can format the TF card first, click the '''restore disk''' button in SDDiskTool, or use the '''SD Card Formatter''' mentioned above to format the TF card</li>
[[File:media/image153plus5-img153.png|261x224px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li><p>Finally, click the &quot;'''Start Create'''&quot; button to start burning the Orange Pi OS (Droid) image to the TF card</p></li>
[[File:media/image154plus5-img154.png|279x236px]]
</ol>
</li></ol>
<li>After burning, you can exit the SDDiskTool software, and then you can pull out the TF card from the computer and insert it into the development board to start</li>
[[File:media/image155plus5-img155.png|304x258px]]
</ol>
<span id="how-to-burn-orange-pi-os-droid-image-into-emmc"></span>
<span id="burn-orange-pi-os-droid-image-toemmc"></span>
=== Burn Orange Pi OS (Droid) image toeMMC to eMMC ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
# The development board reserves an eMMC expansion interface. Before programming the system to eMMC, you first need to purchase an eMMC module that matches the eMMC interface of the development board. Then install the eMMC module to the development board. The location of the eMMC interface is as follows:
::[[File:media/image78plus5-img78-1.png]][[File:plus5-img78-2.png]] ::[[File:plus5-img78-3.png|324x149px]]
<ol start="2" style="list-style-type: decimal;">
<li>It is also necessary to prepare a data cable with a good quality Type-C interface</li>
[[File:media/image21plus5-img21.png|127x129px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then download Rockchip driver DriverAssitant_v5.12.zip and burning tool '''RKDevTool_Release_v3.15.zip''' from [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p></li><li><p>Then download the Orange Pi OS (Droid) image from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p></li>
[[File:media/image167plus5-img167.png|286x49px]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then use decompression software to decompress '''DriverAssitant_v5.12.zip''', then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</p></li>
[[File:media/image47plus5-img47.png|575x169px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>Click the &quot;Driver Installation&quot; button</li>
[[File:media/image48plus5-img48.png|300x157px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;driver installed successfully&quot;, and then click the &quot;OK&quot; button.</li>
[[File:media/image49plus5-img49.png|318x165px]]
</ol>
</li></ol>
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|575x170px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer is not connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|442x208px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|468x132px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|479x108px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on</li>
[[File:media/image54plus5-img54.png|457x140px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Upgrade Firmware'''&quot; column of the burning tool</li>
[[File:media/image157plus5-img157.png|461x217px]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Firmware'''&quot; button to select the path of the Orange Pi OS (Droid) image that needs to be burned</li>
[[File:media/image158plus5-img158.png|453x213px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Finally, click the &quot;'''Upgrade'''&quot; button to start burning, and the log during the burning process is shown in the figure below. After burning, the Orange Pi OS (Droid) system will start automatically.</li>
[[File:media/image168plus5-img168.png|456x214px]]
</ol>
</li></ol>
# The development board reserves an eMMC expansion interface. Before programming the system to eMMC, you first need to purchase an eMMC module that matches the eMMC interface of the development board. Then install the eMMC module to the development board. The location of the eMMC interface is as follows:
::[[File:media/image78plus5-img78.png|342x157px]]
<ol start="2" style="list-style-type: decimal;">
<li><p>You also need to prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be class10 or above. It is recommended to use a TF card of SanDisk and other brands</p></li>
<li><p>Then use the card reader to insert the TF card into the computer</p></li>
<li><p>Then download the SDDiskTool programming tool from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''], '''<span style="color:#FF0000">please ensure that the version of the SDDiskTool tool is the latest v1.72</span>.'''</p></li><li><p>Then download the Orange Pi OS (Droid) image from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p></li>
[[File:media/image167plus5-img167.png|286x49px]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li><p>Then use decompression software to decompress '''SDDiskTool_v1.72.zip''', this software does not need to be installed, just find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it</p></li>
[[File:media/image151plus5-img151.png|454x109px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in the &quot;'''Select Removable Disk Device'''&quot; column. '''<span style="color:#FF0000">Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn</span>''', if there is no display, you can try to unplug the TF card.</li>
[[File:media/image152plus5-img152.png|267x228px]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li>After confirming the drive letter, you can format the TF card first, click the restore disk button in '''SDDiskTool''', or use the '''SD Card Formatter''' mentioned above to format the TF card</li>
[[File:media/image153plus5-img153.png|267x228px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
d. Finally click the &quot;'''Start Create'''&quot; button to start burning
[[File:media/image160plus5-img160.png|289x246px]]
</ol>
<ol start="11" style="list-style-type: decimal;">
<li>After the burning is completed, the display is as shown in the figure below, and then you can exit SDDiskTool</li>
[[File:media/image161plus5-img161.png|285x243px]]
</ol>
<ol start="12" style="list-style-type: decimal;">
<li><p>If the development board is connected to an HDMI display, you can also see the progress bar of burning the Orange Pi OS (Droid) image to eMMC from the HDMI display</p></li>
[[File:media/image162plus5-img162.png|430x247px]]
</ol>
<ol start="14" style="list-style-type: decimal;">
<li>When the HDMI monitor displays the following information, it means that the burning of the Orange Pi OS (Droid) image to the eMMC has been completed. At this time, the TF card can be pulled out, and then the Orange Pi OS (Droid) system in the eMMC will start to start .</li>
[[File:media/image163plus5-img163.png|576x389px]]
</ol>
<span id="burn-orange-pi-os-droid-image-to-spiflashnvme-ssd"></span>
# First, you need to prepare a 2280 specification NVMe SSD solid state drive. The specification of the PCIe interface in the M.2 slot of the development board is PCIe3.0x4.
::[[File:media/image25plus5-img25.png|314x91px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then insert the NVMe SSD into the M.2 PCIe interface of the development board and fix it</li>
[[File:media/image90plus5-img90.png|323x130px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>The position of the SPI Flash on the development board is shown in the figure below, no other settings are required before starting the programming</li>
[[File:media/image91plus5-img91.png|382x105px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li>It is also necessary to prepare a data cable with a good quality Type-C interface</li>
[[File:media/image21plus5-img21.png|143x145px]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then download the Rockchip driver '''DriverAssitant_v5.12.zip''' and the burning tool '''RKDevTool_Release_v3.15.zip''' from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page'''],</p></li>
<li><p>Then download the Orange Pi OS (Droid) image, open the download link of the Orange Pi OS (Droid) image and you can see the following two types of images, please select the image with '''spi-nvme''' to download</p></li>
[[File:media/image169plus5-img169.png|352x62px]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<li>Then use the decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</li>
[[File:media/image47plus5-img47.png|423x124px]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>Click the &quot;Driver Installation&quot; button</li>
[[File:media/image48plus5-img48.png|268x140px]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>After waiting for a period of time, a pop-up window will prompt &quot;'''driver installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</li>
[[File:media/image49plus5-img49.png|301x156px]]
</ol>
</li></ol>
<li>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</li>
[[File:media/image50plus5-img50.png|455x134px]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>After opening the '''RKDevTool''' burning tool, because the computer is not connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</li>
[[File:media/image51plus5-img51.png|442x208px]]
</ol>
<ol start="11" style="list-style-type: decimal;">
<div class="figure">
[[File:media/image52.jpeg|435x123px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></ol>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p></li>
[[File:media/image53plus5-img53.png|460x103px]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</li>
[[File:media/image54plus5-img54.png|440x134px]]
</ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>If the previous steps are successful, the development board will enter the '''MASKROM''' mode at this time, and the interface of the burning tool will prompt &quot;'''found a MASKROM device'''&quot;</li>
[[File:media/image55plus5-img55.png|457x215px]]
</ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Upgrade Firmware'''&quot; column of the burning tool</li>
[[File:media/image157plus5-img157.png|457x215px]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click the &quot;'''Firmware'''&quot; button to select the Orange Pi OS (Droid) image to be burned</li>
[[File:media/image158plus5-img158.png|472x222px]]
</ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li><p>Finally, click the &quot;'''Upgrade'''&quot; button to start burning. The burning process is shown in the figure below. After the burning is completed, the Orange Pi OS (Droid) system will automatically start.</p>
<p>[[File:media/image170plus5-img170.png|476x225px]]</p></li></ol>
</li></ol>
<span id="how-to-use-rkdevtool-to-clear-spiflash"></span>
<ol style="list-style-type: decimal;">
<li><p>The position of SPI Flash on the development board is shown in the figure below</p>
<p>[[File:media/image91plus5-img91.png|389x107px]]</p></li>
<li><p>First, you need to prepare a data cable with a good quality Type-C interface</p>
<p>[[File:media/image21plus5-img21.png|152x154px]]</p></li><li><p>Then download the Rockchip driver '''DriverAssitant_v5.12.zip''' and '''MiniLoader''' and the burning tool '''RKDevTool_Release_v3.15.zip''' from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''Orange Pi data 's download page''']</p>
<ol style="list-style-type: lower-alpha;">
<li><p>On the Orange Pi data 's download page, first select the '''official tool''', and then enter the following folder</p><p>[[File:media/image171plus5-img171.png|486x155px]]</p></li>
<li><p>Then download all the files below</p>
<p>[[File:media/image172plus5-img172.png|389x175px]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
</li>
<li><p>Then use the decompression software to decompress '''DriverAssitant_v5.12.zip''', and then find the '''DriverInstall.exe''' executable file in the decompressed folder and open it</p>
<p>[[File:media/image47plus5-img47.png|472x139px]]</p></li>
<li><p>After opening '''DriverInstall.exe''', the steps to install the Rockchip driver are as follows</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Click the &quot;'''Driver Installation'''&quot; button</p>
<p>[[File:media/image48plus5-img48.png|276x145px]]</p></li>
<li><p>After waiting for a period of time, a pop-up window will prompt &quot;'''The driver is installed successfully'''&quot;, and then click the &quot;'''OK'''&quot; button.</p>
<p>[[File:media/image49plus5-img49.png|292x151px]]</p></li></ol>
</li>
<li><p>Then decompress '''RKDevTool_Release_v3.15.zip''', this software does not need to be installed, just find '''RKDevTool''' in the decompressed folder and open it</p>
<p>[[File:media/image50plus5-img50.png|467x138px]]</p></li>
<li><p>After opening the '''RKDevTool''' burning tool, because the computer has not been connected to the development board through the Type-C cable at this time, the lower left corner will prompt &quot;'''No device found'''&quot;</p>
<p>[[File:media/image51plus5-img51.png|402x189px]]</p></li>
<li><p>Then you can start to clear the contents of the SPI FLASH</p>
<ol style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image173.jpeg|424x120px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-1img173.jpg未标题-1png]]
</div></li>
<li><p>Make sure the development board is not connected to the power supply</p></li>
<li><p>Then press and hold the MaskROM button on the development board, the position of the MaskROM button on the development board is shown in the figure below:</p>
<p>[[File:media/image53plus5-img53.png|444x100px]]</p></li>
<li><p>Then connect the power supply of the Type-C interface to the development board, and power on, and then release the MaskROM button</p>
<p>[[File:media/image54plus5-img54.png|402x123px]]</p></li>
<li><p>If the previous steps are smooth, at this time the development board will enter the '''Maskrom''' mode, and it will be prompted &quot;'''Find a Maskrom device'''&quot; on the interface of the recording tool</p>
<p>[[File:media/image55plus5-img55.png|457x215px]]</p></li>
<li><p>Then please select '''advanced features'''</p>
<p>[[File:media/image174plus5-img174.png|458x138px]]</p></li>
<li><p>Then click the position shown in the figure below</p>
<p>[[File:media/image175plus5-img175.png|459x216px]]</p></li>
<li><p>Then select '''MiniLoaderAll.bin''' in the '''MiniLoader''' folder downloaded earlier, and then click Open</p>
<p>[[File:media/image144plus5-img144.png|469x220px]]</p></li>
<li><p>Then click '''download'''</p>
<p>[[File:media/image176plus5-img176.png|472x222px]]</p></li>
<li><p>The display after downloading '''MiniLoaderAll.bin''' is shown in the figure below</p>
<p>[[File:media/image177plus5-img177.png|474x223px]]</p></li>
<li><p>Then select the storage device as '''SPINOR'''</p>
<p>[[File:media/image178plus5-img178.png|467x220px]]</p></li>
<li><p>Then click '''switch storage'''</p>
<p>[[File:media/image179plus5-img179.png|464x218px]]</p></li>
<li><p>Then click '''Erase All''' to start erasing SPIFlash</p>
<p>[[File:media/image180plus5-img180.png|467x220px]]</p></li>
<li><p>The display log after erasing SPIFlash is shown in the figure below</p>
<p>[[File:media/image181plus5-img181.png|450x212px]]</p></li></ol>
</li></ol>
<div class="figure">
[[File:media/image182plus5-img182.jpegpng|262x234px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\01.jpg01center]]
</div>
<div class="figure">
::[[File:media/image183plus5-img183.png|576x115px|07]]
</div>
<ol start="2" style="list-style-type: decimal;">
<li><p>The corresponding relationship between GND, RXD and TXD pins of the debugging serial port of the development board is shown in the figure below:</p>
<p>[[File:media/image184plus5-img184.png|485x174px]]</p></li>
<li><p>The GND, TXD and RXD pins of the USB to TTL module need to be connected to the debugging serial port of the development board through a DuPont line</p>
<ol style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image185plus5-img185.png|524x189px|08]]
</div>
</li>
<li><p>After executing the putty command, the following interface will pop up</p>
<p>[[File:media/image186plus5-img186.png|367x321px]]</p></li>
<li><p>First select the setting interface of the serial port</p>
<p>[[File:media/image187plus5-img187.png|359x352px]]</p></li>
<li><p>Then set the parameters of the serial port</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Set the Serial line to connect to as /dev/ttyUSB0 (modify to the &gt; corresponding node name, generally /dev/ttyUSB0)</p></li><li><p>Set Speed(baud) to '''1500000''' (the baud rate of the serial &gt; port)</p></li>
<li><p>Set Flow control to None</p>
<div class="figure">
[[File:media/image188plus5-img188.png|317x312px|09]]
</div></li></ol>
<div class="figure">
[[File:media/image189plus5-img189.png|345x340px|10]]
</div></li></ol>
</li>
<li><p>After starting the development board, you can see the Log information output by the system from the opened serial port terminal</p>
<p>[[File:media/image190plus5-img190.png|287x208px]]</p></li></ol>
<span id="how-to-use-the-debugging-serial-port-on-windows-platform"></span>
=== How to use the debugging serial port on Windows platform ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''There are many serial port debugging software that can be used under Windows, such as SecureCRT, MobaXterm, etc. The following demonstrates how to use MobaXterm. This software has a free version and can be used without buying a serial number.'''</big>|} 
<ol style="list-style-type: decimal;">
<li><p>Download MobaXterm</p>
</li>
<li><p>After entering the MobaXterm download page, click '''GET XOBATERM NOW!'''</p>
<p>[[File:media/image191plus5-img191.png|576x334px]]</p></li>
<li><p>Then choose to download the Home version</p>
<p>[[File:media/image192plus5-img192.png|353x231px]]</p></li>
<li><p>Then select Portable portable version, no need to install after downloading, just open it and use it</p>
<p>[[File:media/image193plus5-img193.png|575x259px]]</p></li></ol>
</li>
<li><p>After downloading, use decompression software to decompress the downloaded compressed package, you can get the executable software of MobaXterm, and then double-click to open</p>
<p>[[File:media/image194plus5-img194.png|576x81px]]</p></li>
<li><p>After opening the software, the steps to set up the serial port connection are as follows</p>
<ol style="list-style-type: lower-alpha;">
<div class="figure">
[[File:media/image195plus5-img195.png|575x438px|11]]
</div></ol>
<div class="figure">
[[File:media/image196plus5-img196.png|575x291px|12]]
</div></li></ol>
<span id="ubuntudebian-server-and-xfce-desktop-system-instructions"></span>
 
== Instructions for using the 5v pin in the 40pin interface of the development board to supply power ==
 
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''The power supply method we recommend for the development board is to use the 5V/4A or 5V/5A Type-C interface power cord to plug into the Type-C power interface of the development board for power supply. If you need to use the 5V pin in the 40pin interface to power the development board, please make sure that the power cable and power adapter used can meet the power supply requirements of the development board. If the use is unstable, please switch back to the Type-C power supply.'''</big>
|}
 
<ol style="list-style-type: decimal;">
<li><p>First, you need to prepare a power cord as shown in the figure below</p>
<p>[[File:5plus-1.png]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''The power cord shown in the picture above can be bought on Taobao, please search and buy by yourself.'''</big>
|}
</li>
<li><p>Use the 5V pin in the 40pin interface to supply power to the development board. The connection method of the power line is as follows</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The USB A port of the power cord shown in the above picture needs to be plugged into the 5V/4A or 5V/5A power adapter connector '''(please do not plug into the USB port of the computer for power supply, nor can the general mobile phone charging head, because the development board Without the PD function, the general mobile phone charging head can only output the lowest 5V/2A)'''</p></li>
<li><p>The red DuPont line needs to be plugged into the 5V pin of the development board 40pin</p></li>
<li><p>The black DuPont line needs to be inserted into the GND pin of the 40pin interface</p></li>
<li><p>The positions of the 5V pin and the GND pin of the 40pin interface in the development board are shown in the figure below, '''remember not to reverse the connection'''</p>
<p>[[File:5plus-2.png]]</p></li></ol>
</li>
</ol>
= '''Ubuntu/Debian Server and Xfce desktop system instructions''' =
<li><p>'''<span style="color:#FF0000">root@orangepi:~#</span>''' The prompt indicates that this command is entered in the '''linux system of the development board''', and the '''<span style="color:#FF0000">#</span>''' at the end of the prompt indicates that the current user of the system is the root user, who can execute any desired command</p></li>
<li><p>'''<span style="color:#FF0000">test@test:~$</span>''' prompt indicates that this command is entered in the Ubuntu PC or Ubuntu virtual machine, not in the linux system of the development board. The '''<span style="color:#FF0000">$</span>''' at the end of the prompt indicates that the current user of the system is an ordinary user. When executing privileged commands, you need to add '''sudo'''</p></li>
<li><p>'''<span style="color:#FF0000">root@test:~#</span>''' prompt indicates that this command is entered in the Ubuntu PC or Ubuntu virtual machine, not in the linux system of the development board. The '''<span style="color:# FF0000">#</span>''' at the end of the prompt indicates that the current user of the system is the root user and can execute any command you want</p></li></ol>
</li>
<li><p>What are the commands that need to be entered?</p>
<ol style="list-style-type: decimal;">
<li><p>By default, the Linux system automatically logs in to the terminal, and the default login user name is '''<span style="color:#FF0000">orangepi</span>'''</p>
<p>[[File:media/image197plus5-img197.png|387x253px]]</p></li>
<li><p>Use the following command to set the root user to automatically log in to the terminal</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image198plus5-img198.png|576x324px|1]]
</div></li>
<div class="figure">
[[File:media/image199plus5-img199.png|569x320px|IMG_256]]
</div></ol>
</li>
<li><p>Then restart the system, it will automatically use the root user to log in to the desktop</p>
<p>[[File:media/image200plus5-img200.png|362x152px]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''sudo systemctl start lightdm.service'''</p>
orangepi@orangepi:~$ '''sudo systemctl enable lightdm.service'''
|}
</li>
<ol style="list-style-type: decimal;">
<li><p>There is a red, green and blue three-color light on the development board, and its location is shown in the figure below:</p>
<p>[[File:media/image201plus5-img201.png|374x77px]]</p></li>
<li><p>'''<span style="color:#FF0000">As long as the development board is powered on, the red LED light will always be on, which is controlled by the hardware and cannot be turned off by the software. The red LED light can be used to determine whether the power supply of the development board is turned on normally.</span>'''</p></li>
<li><p>The green and blue LED lights will keep blinking after the kernel boots, which is controlled by software.</p></li>
<p>root@orangepi:/sys/class/leds/blue_led# '''echo heartbeat &gt; trigger'''</p>
|}
</li></ol>
 
<li><p>If you don't want the LED light to flash after booting, you can use the following method to turn off the green light and blue light</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First run '''orangepi-config''', normal users remember to add sudo permission</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''sudo orangepi-config'''</p>
|}
</li>
<li><p>Then select '''System'''</p>
<p>[[File:5plus-51.png]]</p>
</li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:5plus-52.png]]</p>
</li>
<li><p>Then use the arrow keys of the keyboard to navigate to the position shown in the figure below, and then use the space to select the '''opi5plus-disable-leds''' configuration</p>
<p>[[File:5plus-53.png]]</p>
</li>
<li><p>Then select '''<Save>''' to save</p>
<p>[[File:5plus-54.png]]</p>
</li>
<li><p>Then select '''<Back>'''</p>
<p>[[File:5plus-55.png]]</p>
</li>
<li><p>Then select '''<Reboot>''' to restart the system to make the configuration take effect</p>
<p>[[File:5plus-56.png]]</p>
</li>
<li><p>After restarting, you can see that only the red light on the development board is always on, and the green and blue lights will not flash</p>
</li></ol>
</li></ol>
<li><p>'''Try another router (I have encountered many problems with the router, such as the router cannot assign the IP address normally, or the IP address has been'''</p>
<p>'''assigned normally but cannot be seen in the router);'''</p></li>
<li><p>'''If there is no router to replace, you can only connect to an HDMI display or use the debugging serial port to check the IP address.'''</p></li></ol><p>'''In addition, it should be noted that the development board DHCP automatically assigns an IP address without any settings.'''</p></li></ol>
</big>
|}
|}
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''Please do not connect to WIFI by modifying the /etc/network/interfaces configuration file. There will be problems connecting to the WIFI network in this way.'''</big>
|}
<span id="the-server-image-connects-to-wifi-through-commands"></span>
==== The server image connects to WIFI through commands ====
<div class="figure">
[[File:media/image202plus5-img202.png|575x250px|选区_011]]
</div></li>
</li>
<li><p>Enter the nmtui command to open the interface as shown below</p>
<p>[[File:media/image203plus5-img203.png|345x215px]]</p></li>
<li><p>Select '''Activate a connect''' and press Enter</p>
<p>[[File:media/image204plus5-img204.png|349x216px]]</p></li>
<li><p>Then you can see all the searched WIFI hotspots</p>
<p>[[File:media/image205plus5-img205.png|358x226px]]</p></li>
<li><p>Select the WIFI hotspot you want to connect to, then use the Tab key to position the cursor on '''Activate''' and press Enter</p>
<p>[[File:media/image206plus5-img206.png|357x226px]]</p></li>
<li><p>Then a dialog box for entering a password will pop up, enter the corresponding password in '''Password''' and press Enter to start connecting to WIFI</p>
<p>[[File:media/image207plus5-img207.png|352x225px]]</p></li>
<li><p>After the WIFI connection is successful, a &quot;*&quot; will be displayed in front of the connected WIFI name</p>
<p>[[File:media/image208plus5-img208.png|349x223px]]</p></li>
<li><p>You can view the IP address of wifi through the '''ip addr show wlan0''' command</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<ol style="list-style-type: decimal;">
<li><p>Click the network configuration icon in the upper right corner of the desktop (please do not connect the network cable when testing WIFI)</p>
<p>[[File:media/image209plus5-img209.png|377x166px]]</p></li>
<li><p>Click '''More networks''' in the pop-up drop-down box to see all scanned WIFI hotspots, and then select the WIFI hotspot you want to connect to</p>
<p>[[File:media/image210plus5-img210.png|576x353px]]</p></li>
<li><p>Then enter the password of the WIFI hotspot, and then click '''Connect''' to start connecting to WIFI</p>
<p>[[File:media/image211plus5-img211.png|320x163px]]</p></li>
<li><p>After connecting to WIFI, you can open the browser to check whether you can access the Internet. The entrance of the browser is shown in the figure below</p>
<p>[[File:media/image212plus5-img212.png|576x308px]]</p></li>
<li><p>If you can open other web pages after opening the browser, it means that the WIFI connection is normal</p>
<p>[[File:media/image213plus5-img213.png|574x222px]]</p></li></ol>
<span id="how-to-set-a-static-ip-address"></span>
</li>
<li><p>Then select '''Edit a connection''' and press Enter</p>
<p>[[File:media/image214plus5-img214.png|234x234px]]</p></li>
<li><p>Then select the network interface that needs to set a static IP address, such as setting the static IP address of the Ethernet interface to select '''Wired connection 1''' or '''Wired connection 2'''</p>
<p>[[File:media/image215plus5-img215.png|306x121px]]</p></li>
<li><p>Then select '''Edit''' via the '''Tab''' key and press the Enter key</p>
<p>[[File:media/image216plus5-img216.png|356x142px]]</p></li>
<li><p>Then use the Tab key to move the cursor to the &lt;'''Automatic'''&gt; position shown in the figure below to configure IPv4</p>
<p>[[File:media/image217plus5-img217.png|576x215px]]</p></li>
<li><p>Then press Enter, select '''Manual''' through the up and down arrow keys, and press Enter to confirm</p>
<p>[[File:media/image218plus5-img218.png|575x212px]]</p></li>
<li><p>The display after selection is shown in the figure below</p>
<p>[[File:media/image219plus5-img219.png|575x215px]]</p></li>
<li><p>Then move the cursor to &lt;'''Show'''&gt; via the Tab key</p>
<p>[[File:media/image220plus5-img220.png|576x215px]]</p></li>
<li><p>Then press Enter, and the following setting interface will pop up after entering</p>
<p>[[File:media/image221plus5-img221.png|576x386px]]</p></li>
<li><p>Then you can set the IP address (Addresses), gateway (Gateway) and DNS server address in the position shown in the figure below (there are many other setting options in it, please explore by yourself), '''<span style="color:#FF0000">please set according to your specific needs, The values set in the image below are just an example</span>'''</p>
<p>[[File:media/image222plus5-img222.png|575x217px]]</p></li>
<li><p>After setting, move the cursor to '''&lt;OK&gt;''' in the lower right corner, and press Enter to confirm</p>
<p>[[File:media/image223plus5-img223.png|575x114px]]</p></li>
<li><p>Then click '''&lt;Back&gt;''' to return to the previous selection interface</p>
<p>[[File:media/image224plus5-img224.png|278x341px]]</p></li>
<li><p>Then select '''Activate a connection''', then move the cursor to '''&lt;OK&gt;''', and finally click Enter</p>
<p>[[File:media/image225plus5-img225.png|226x224px]]</p></li>
<li><p>Then select the network interface that needs to be set, such as '''Wired connection 2''', then move the cursor to '''&lt;Deactivate&gt;''', and press the Enter key to disable '''Wired connection 2'''</p>
<p>[[File:media/image226plus5-img226.png|417x159px]]</p></li>
<li><p>Then re-select and enable '''Wired connection 2''', so that the static IP set earlier will take effect</p>
<p>[[File:media/image227plus5-img227.png|414x160px]]</p></li>
<li><p>Then you can exit nmtui through the '''&lt;Back&gt;''' and '''Quit''' buttons</p>
<p>[[File:media/image228plus5-img228.png|260x224px]] [[File:media/image229plus5-img229.png|225x225px]]</p></li>
<li><p>Then through '''ip addr show,''' you can see that the IP address of the network port has changed to the static IP address set earlier</p>
{| class="wikitable" style="width:800px;"
'''(PCIE+USB port)'''
| [[File:media/image230plus5-img230.png]]
| '''<span style="color:#FF0000">Debian</span>'''
'''(PCIE+USB port)'''
| [[File:media%20/image231plus5-img231.png]]
| '''<span style="color:#FF0000">Debian</span>'''
'''(PCIE+USB port)'''
| [[File:media/image232plus5-img232.png]]
| '''<span style="color:#FF0000">Debian</span>'''
<ol start="2" style="list-style-type: decimal;">
<li><p>Then insert the module into the M.2 E-Key interface of the development board and fix it. The position is shown in the figure below:</p>
<p>[[File:media/image233plus5-img233.png|296x133px]]</p></li><li><p>Then open use the '''lspci''' command, if you can see the configuration information of the WIFI module in the Linux system, it means that the steps are as follows:module is in good contact</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First run '''AX200 displays as follows</p>{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi-config:~$ ''', normal users remember to add lspci | grep "Network"'''sudo''' permission</p><p>0002:21:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)</p>|}</li><li><p>AX210 displays as follows</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''sudo orangepi-configlspci | grep "Network"'''</p><p>0002:21:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)</p>
|}
</li>
<li><p>Then select '''System'''RTL8852 display as shown below</p><p>[[File{| class="wikitable" style="width:media/image234.png|374x173px]]</p></li><li><p>Then select '''Hardware'''</p>800px;" <p>[[File:media/image235.png|373x162px]]</p></li><li><p>Then use the arrow keys of the keyboard to navigate to the position shown in the figure below, and then use the space to select the '''wifi-pcie''' configuration</p><p>[[File:media/image236.png|298x40px]]</p></li><li><p>Then select orangepi@orangepi:~$ '''&lt;Save&gt;lspci | grep "Network"''' to save</p><p>[[File0002:21:media/image23700.png|297x80px]]0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)</p></li><li><p>Then select '''&lt;Back&gt;'''</p><p>[[File:media/image238.png|255x71px]]</p></li>}<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p><p>[[File:media/image239.png|256x113px]]</p></li></ol>
</li>
<li><p>If everything is normal after restarting the system, Then use the following command to see that there will be an additional WIFI device node. If you can't see it, please check if there is any problem with the previous configuration</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''ip addr showa'''</p>
|}
</li>
<div class="figure">
[[File:media/image240plus5-img240.png|437x262px|953iring_001]]
</div>
<div class="figure">
[[File:media/image241plus5-img241.png|575x292px|13]]
</div></li></ol>
<big><p>'''Note that when entering the password, the specific content of the entered password will not be displayed on the screen, please do not think that there is any fault, just press Enter after inputting.'''</p></big>
[[File:media/image242plus5-img242.png|576x192pxcenter]]
|}
</li></ol>
<li>After successfully logging in to the system, the display is as shown in the figure below</li>
[[File:media/image243plus5-img243.png|575x353px]]
</ol>
<span id="how-to-use-adb"></span>
<big>'''If there is no adb tool in your Windows system, you can use the adb program in the RKDevTool software (this software is useful in the section on [[Orange Pi 5 Plus#How to use RKDevTool to burn Linux image to TF card|'''how to use RKDevTool to burn the Linux image to the TF card''']]).'''</big>
[[File:media/image244plus5-img244.png|576x131px]]
<big>'''An example using adb in Windows looks like this:'''</big>
[[File:media/image245plus5-img245.png|576x335px800px]]
|}
</li></ol>
<ol style="list-style-type: decimal;">
<li><p>First prepare a good quality Type-C data cable</p>
<p>[[File:media/image21plus5-img21.png|125x126px]]</p></li>
<li><p>Then connect the development board and Ubuntu PC through the Type-C data cable. The position of the Type-C interface of the development board is shown in the figure below:</p>
<div class="figure">
[[File:media/image173.jpeg|323x91px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-1img173.jpg未标题-1png]]
</div></li>
<big>'''If there is no adb tool in your Windows system, you can use the adb program in the RKDevTool software (this software is useful in the section on [[Orange Pi 5 Plus#How to use RKDevTool to burn Linux image to TF card|'''how to use RKDevTool to burn the Linux image to the TF card''']]).'''</big>
[[File:media/image244plus5-img244.png|576x131px]]
<big>'''An example using adb in Windows looks like this:'''</big>
[[File:media/image246plus5-img246.png|576x304px800px]]
|}
</ol>
<div class="figure">
[[File:media/image247plus5-img247.png|576x453px|截图 2022-12-03 19-04-40]]
</div></li>
<div class="figure">
[[File:media/image248plus5-img248.png|575x128px|图片565]]
</div></ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then choose to '''save the password''', and then click '''OK'''</p>
<p>[[File:media/image249plus5-img249.png|249x181px]]</p></li>
<li><p>Then choose to '''always trust this host''', and then click '''OK'''</p></li>
<div class="figure">
[[File:media/image250plus5-img250.png|278x150px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image251plus5-img251.png|533x330px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image252plus5-img252.png|529x414px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image253plus5-img253.png|472x171px|IMG_256]]
</div>
[[File:media/image254plus5-img254.png|384x276px]]
</li></ol>
<div class="figure">
[[File:media/image255plus5-img255.png|355x279px|IMG_256]]
</div>
<div class="figure">
[[File:media/image256plus5-img256.png|451x357px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image248plus5-img248.png|575x128px|图片565]]
</div></ol>
<div class="figure">
[[File:media/image257plus5-img257.png|207x146px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image258plus5-img258.png|221x109px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image259plus5-img259.png|449x332px|IMG_256]]
</div></ol>
<div class="figure">
[[File:media/image260plus5-img260.png|461x340px|IMG_256]]
</div></ol>
<ol style="list-style-type: decimal;">
<li><p>There are two HDMI output interfaces on the development board, and their locations are shown in the figure below:</p>
<p>[[File:media/image261plus5-img261.png|333x92px]]</p></li>
<li><p>By default, the Linux system configures HDMI_TX1 to support 8K display, and HDMI_TX2 supports only 4K display by default (only one HDMI_TX interface can support 8K display at a time). If you want to set HDMI_TX2 to support 8K display, please follow the steps below:</p>
<ol style="list-style-type: lower-alpha;">
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|362x167px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|362x157px]]</p></li>
<li><p>Then use the arrow keys of the keyboard to navigate to the &gt; position shown in the figure below, and then use the '''space''' &gt; to select '''hdmi2-8k''' configuration</p>
<p>[[File:media/image262plus5-img262.png|361x66px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|363x105px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|362x110px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the &gt; configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|276x121px]]</p></li></ol>
</li>
<li><p>Then use HDMI to HDMI cable to connect Orange Pi development board and HDMI display</p>
<p>[[File:media/image11plus5-img11.png|199x129px]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
<ol style="list-style-type: decimal;">
<li><p>The location of the HDMI In interface on the development board is as follows:</p>
<p>[[File:media/image265plus5-img265.png|351x112px]]</p></li>
<li><p>First use the HDMI to HDMI cable shown in the figure below to connect the HDMI output of other devices to the HDMI In interface of the development board</p>
<p>[[File:media/image11plus5-img11.png|199x129px]]</p></li>
<li><p>The HDMI In function of the Linux system is disabled by default, and the opening method is as follows:</p>
<ol style="list-style-type: lower-alpha;">
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|362x167px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|362x157px]]</p></li>
<li><p>Then use the arrow keys of the keyboard to navigate to the position shown in the figure below, and then use the '''space''' to select the '''hdmirx''' configuration</p>
<p>[[File:media/image266plus5-img266.png|359x82px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|363x105px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|362x110px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|276x121px]]</p></li></ol>
</li>
<li><p>Restart the system and open a terminal on the desktop, then run the '''test_hdmiin.sh''' script</p>
<div class="figure">
[[File:media/image267plus5-img267.png|576x324px|1]]
</div></li></ol>
<ol style="list-style-type: lower-alpha;">
<li><p>HDMI to VGA Converter</p>
<p>[[File:media/image268plus5-img268.png|155x104px]]</p></li>
<li><p>A VGA cable</p>
<p>[[File:media/image269plus5-img269.png|148x133px]]</p></li>
<li><p>A monitor or TV that supports VGA interface</p></li></ol>
</li>
<li><p>The HDMI to VGA display test is as follows:</p>
<p>[[File:media/image270plus5-img270.png|575x341px]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
<ol style="list-style-type: decimal;">
<li><p>First open '''Display''' in '''Settings'''</p>
<p>[[File:media/image271plus5-img271.png|576x370px]]</p></li>
<li><p>Then you can see the current resolution of the system</p>
<p>[[File:media/image272plus5-img272.png|288x191px]]</p></li>
<li><p>Click the drop-down box of Resolution to see all resolutions currently supported by the monitor</p>
<p>[[File:media/image273plus5-img273.png|353x233px]]</p></li>
<li><p>Then select the resolution you want to set, and click Apply</p>
<p>[[File:media/image274plus5-img274.png|351x234px]]</p></li>
<li><p>After the new resolution is set, select '''Keep the configuration'''</p>
<p>[[File:media/image275plus5-img275.png|462x251px]]</p></li></ol>
<span id="how-to-use-bluetooth"></span>
<ol style="list-style-type: decimal;">
<li><p>Click on the Bluetooth icon in the upper right corner of the desktop</p>
<p>[[File:media/image276plus5-img276.png|386x149px]]</p></li>
<li><p>Then select the adapter</p>
<p>[[File:media/image277plus5-img277.png|375x165px]]</p></li>
<li><p>If there is a prompt on the following interface, please select '''Yes'''</p>
<p>[[File:media/image278plus5-img278.png|248x85px]]</p></li>
<li><p>Then set the '''Visibility Setting''' to '''Always visible''' in the Bluetooth adapter setting interface, and then close it</p>
<p>[[File:media/image279plus5-img279.png|243x229px]]</p></li>
<li><p>Then open the configuration interface of the Bluetooth device</p>
<p>[[File:media/image280plus5-img280.png|438x179px]]</p></li>
<li><p>Click '''Search''' to start scanning the surrounding Bluetooth devices</p>
<p>[[File:media/image281plus5-img281.png|322x217px]]</p></li></ol>
<!-- -->
<ol start="6" style="list-style-type: decimal;">
<li><p>Then select the Bluetooth device you want to connect to, and then click the right mouse button to pop up the operation interface for this Bluetooth device, select '''Pair''' to start pairing, and the demonstration here is to pair with an Android phone</p>
<p>[[File:media/image282plus5-img282.png|338x263px]]</p></li>
<li><p>When pairing, a pairing confirmation box will pop up in the upper right corner of the desktop, just select '''Confirm''' to confirm, and the phone also needs to confirm at this time</p>
<p>[[File:media/image283plus5-img283.png|417x152px]]</p></li>
<li><p>After pairing with the mobile phone, you can select the paired Bluetooth device, then right-click and select '''Send a File''' to start sending a picture to the mobile phone</p>
<p>[[File:media/image284plus5-img284.png|439x259px]]</p></li>
<li><p>The interface for sending pictures is as follows</p>
<p>[[File:media/image285plus5-img285.png|437x253px]]</p></li></ol>
<span id="usb-interface-test"></span>
Support 2.4G WIFI+BT4.0
| [[File:me%20dia/image286plus5-img286.png]]
|-
| 2
Support 2.4G +5G WIFI
| [[File:me%20dia/image287plus5-img287.png]]
|-
| 3
Support BitTorrent 4.2
| [[File:med%20ia/image288plus5-img288.jpeg|tb_image_s hare_1670833201123png]]
|}
</li>
<li><p>You can also see the bluetooth icon on the desktop. At this time, the bluetooth is not turned on, so a red '''<span style="color:#FF0000">x</span>''' will be displayed</p>
<p>[[File:media/image289plus5-img289.png|576x157px]]</p></li>
<li><p>Click '''Turn Bluetooth On''' to turn on Bluetooth</p>
<p>[[File:media/image290plus5-img290.png|576x262px]]</p></li>
<li><p>The display after turning on Bluetooth is as follows</p>
<p>[[File:media/image291plus5-img291.png|576x164px]]</p></li>
<li><p>For the test method of Bluetooth, please refer to the section on [[Orange Pi 5 Plus#How to use E-Key PCIe WIFI6+Bluetooth module|'''Bluetooth usage''']], so I won't go into details here</p></li></ol>
<ol style="list-style-type: decimal;">
<li><p>First, you need to prepare a USB camera that supports the UVC protocol as shown in the figure below or similar, and then insert the USB camera into the USB port of the Orange Pi development board</p>
<p>[[File:media/image18plus5-img18.png|277x160px]]</p></li>
<li><p>Through the v4l2-ctl command, you can see that the device node information of the USB camera is '''/dev/video0'''</p>
{| class="wikitable" style="width:800px;"
</li>
<li><p>In the desktop system, Cheese can be used to directly open the USB camera. The method of opening Cheese is shown in the figure below:</p>
<p>[[File:media/image292plus5-img292.png|474x302px]]</p>
<p>The interface after Cheese turns on the USB camera is shown in the figure below:</p>
<p>[[File:media/image293plus5-img293.png|480x282px]]</p></li>
<li><p>Method of using fswebcam to test USB camera</p>
<ol style="list-style-type: lower-alpha;">
</li>
<li><p>After installing fswebcam, you can use the following command to take pictures</p>
<ol style="list-style-type: lower-alphanone;"><li><p>a) -d option is used to specify the device node of the USB camera</p></li><li><p>b) --no-banner is used to remove the watermark of the photo</p></li><li><p>c) -r option is used to specify the resolution of the photo</p></li><li><p>d) -S option is used to set the number of previous frames to skip</p></li><li><p>e) ./image.jpg is used to set the name and path of the generated photo</p>
{| class="wikitable" style="width:800px;"
|-
<ol style="list-style-type: decimal;">
<li><p>First open the file manager</p>
<p>[[File:media/image294plus5-img294.png|257x126px]]</p></li>
<li><p>Then find the following file (if there is no audio file in the system, you can upload an audio file to the system yourself)</p>
<div class="figure">
[[File:media/image295plus5-img295.jpeg|236x186px|图片10png]]
</div></li>
<li><p>Then select the audio.wav file, right click and select open with vlc to start playing</p>
<p>[[File:media/image296plus5-img296.png|241x195px]]</p></li>
<li><p>How to switch between different audio devices such as HDMI playback and headphone playback</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First open the volume control interface</p>
<p>[[File:media/image297plus5-img297.png|294x161px]]</p></li>
<li><p>When playing audio, the audio device options that the playback software can use will be displayed in '''Playback''', as shown in the figure below, where you can set which audio device to play to</p>
<p>[[File:media/image298plus5-img298.png|575x303px]]</p></li></ol>
</li></ol>
<ol style="list-style-type: decimal;">
<li><p>First insert the earphone into the earphone jack of the development board</p>
<p>[[File:media/image299plus5-img299.png|365x89px]]</p></li>
<li><p>Then you can use the '''aplay -l''' command to view the sound card devices supported by the linux system. From the output below, you can see that '''card 3''' is the sound card device of es8388, that is, the sound card device of the headset</p>
{| class="wikitable" style="width:800px;"
<ol style="list-style-type: decimal;">
<li><p>First, you need to prepare a speaker as shown in the figure below. The specification of the speaker seat on the development board is 2pin 1.25mm pitch</p>
<p>[[File:media/image29plus5-img29.png|229x158px]]</p></li>
<li><p>The position of the speaker interface on the development board is as follows. After preparing the speaker, please insert it into the speaker interface of the development board</p>
<p>[[File:media/image300plus5-img300.png|325x184px]]</p></li>
<li><p>The speaker and earphone use the same sound card. Before using the speaker, please make sure that the earphone jack is not plugged into the earphone (if the earphone is plugged in, the audio will be played to the earphone). Then use the '''aplay''' command to play the audio file that comes with the system. If the speaker can hear the sound, it means that the hardware can be used normally.</p>
{| class="wikitable" style="width:800px;"
<ol style="list-style-type: decimal;">
<li><p>There is an onboard MIC on the development board, the location is as follows:</p>
<p>[[File:media/image301plus5-img301.png|339x112px]]</p></li>
<li><p>Running the '''test_record.sh main''' command will record a piece of audio through the onboard MIC, and then play it to HDMI_TX1 and the headset.</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
::[[File:media/image302plus5-img302.jpeg|575x166px|5725d46c4ff256fbd1d42ed5ba883f9fpng]]
</div>
<ol style="list-style-type: decimal;">
<li><p>Please refer to the figure below for the order of the 40 pin expansion interface pins on the Orange Pi 5 Plus development board:</p>
<p>[[File:media/image303plus5-img303.png|567x418px]]</p></li>
<li><p>The functions of the 40 pin interface pins on the Orange Pi 5 Plus development board are shown in the table below</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The following is the complete pin diagram of 40 pin</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p>
<p>The following is a color map containing some of the content in the above table:</p>
<p>[[File:media/image305plus5-img305.png|575x199px]]</p></li>
<li><p>The table below is the picture of the left half of the complete &gt; table above, so you can see it clearly</p>
<p>[[File:media/image306plus5-img306.png|576x287px]]</p></li>
<li><p>The table below is the picture of the right half of the complete &gt; table above, so you can see it clearly</p>
<p>[[File:media/image307plus5-img307.png|575x263px]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
<div class="figure">
[[File:media/image308plus5-img308.png|575x403px|876iring_001]]
</div>
<div class="figure">
[[File:media/image308plus5-img308.png|575x403px|876iring_001]]
</div></li></ol>
<div class="figure">
[[File:media/image309plus5-img309.png|575x145px|874iring_001]]
</div></li>
<div class="figure">
[[File:media/image310plus5-img310.png|575x127px|874iring_002]]
</div></li>
<div class="figure">
[[File:media/image311plus5-img311.png|575x131px|875iring_001]]
</div></li>
<div class="figure">
[[File:media/image311plus5-img311.png|575x131px|875iring_001]]
</div></li>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the figure below, the SPIs available for Orange Pi 5 Plus are SPI0 and SPI4</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The corresponding pins of SPI0 and SPI4 in 40pin are shown in the table below. SPI4_M1 and SPI4_M2 can only use one of them at the same time, and they cannot be used at the same time. They are all the same SPI4, but they are connected to different pins. Please don't think that they are two different sets of SPI buses.</p></li>
| '''<span style="color:#FF0000">none</span>'''
|-
| '''dtbo confi gurationconfiguration'''| '''spi 0spi0-m2-cs0-spidev'''
'''spi 0spi0-m2-cs1-spidev'''
'''spi0-m2 -cs0-cs1-spidev'''
| '''spi 4spi4-m1-cs0-spidev'''
'''spi 4spi4-m1-cs1-spidev'''
'''spi4-m1 -cs0-cs1-spidev'''
| '''spi4-m 2m2-cs0-spidev'''
|}
</ol>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|389x180px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|389x169px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the position shown in the figure below, and then use the '''space''' to select the SPI configuration you want to open</p>
<p>[[File:media/image312plus5-img312.png|388x132px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|391x113px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|404x123px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|332x146px]]</p></li></ol>
</li>
<li><p>After restarting, enter the system and first check whether there is a '''spidevx.x''' device node in the linux system. If it exists, it means that the SPI has been set up and can be used directly.</p>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the available i2c for Orange Pi 5 Plus is i2c2, i2c4, i2c5 and i2c8, a total of four sets of i2c buses.</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The corresponding pins of the 4 groups of I2C buses in 40pin are shown in the table below. I2C2_M0 and I2C2_M4 can only use one of them at the same time, and they cannot be used at the same time. They are all the same I2C2, but they are connected to different pins. Please don’t think that they are two different sets of I2C2 buses.</p></li>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|397x184px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|401x174px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the position shown in the figure below, and then use the '''space''' to select the I2C configuration you want to open</p>
<p>[[File:media/image313plus5-img313.png|406x153px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|380x109px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|355x108px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|323x142px]]</p></li></ol>
</li>
<li><p>After starting the linux system, first confirm that there are device nodes that need to use I2C under '''/dev'''</p>
<div class="figure">
[[File:media/image314plus5-img314.png|336x170px|521iring_001]]
</div>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the uarts available for Orange Pi 5 Plus are uart1, uart3, uart4, uart6, uart7 and uart8, a total of 6 sets of uart buses</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The corresponding pins of the 6 groups of UART buses in 40pin are shown in the following table:</p></li>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|403x186px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|413x179px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the position shown in the figure below, and then use the space to select the UART configuration you want to open</p>
<p>[[File:media/image315plus5-img315.png|408x144px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|405x117px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|401x122px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|320x141px]]</p></li></ol>
</li>
<li><p>After entering the linux system, first confirm whether there is a device node corresponding to uart under /dev</p>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the available PWM for Orange Pi 5 Plus includes six channels of PWM: pwm0, pwm1, pwm11, pwm12, pwm13 and pwm14</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The corresponding pins of PWM in 40pin are shown in the table below. Only one of PWM0_M0 and PWM0_M2, PWM1_M0 and PWM1_M2, PWM14_M0 and PWM14_M2 can be used at the same time, and they cannot be used at the same time. They are all the same PWM, but they are connected to different pins. Please don’t think that they are two different PWM bus.</p></li>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|416x192px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|457x198px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the position shown in the figure below, and then use the space to select the PWM configuration you want to open</p>
<p>[[File:media/image316plus5-img316.png|279x222px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|368x106px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|370x112px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|303x133px]]</p></li></ol>
</li>
<li><p>After opening a pwm, there will be an extra pwmchipX in '''/sys/class/pwm/''' (X is a specific number), for example, after opening pwm14, check the pwmchipX under '''/sys/class/pwm/''' two became three</p>
<div class="figure">
[[File:media/image317plus5-img317.png|576x77px|985iring_001]]
</div></li>
<li><p>Then it can be known from the table below that the base address of the pwm14 register is febf0020, and then look at the output of the '''ls /sys/class/pwm/ -l''' command, you can see that pwmchip2 is linked to febf0020.pwm, so pwm14 corresponds to pwmchip as pwmchip2</p>
<p>[[File:media/image318plus5-img318.png|575x287px]]</p></li>
<li><p>Then use the following command to make pwm14 output a 50Hz square wave (please switch to the root user first, and then execute the following command)</p></li>
root@orangepi:~# '''echo 1 &gt; /sys/class/pwm/pwmchip2/pwm0/enable'''
[[File:media/image319plus5-img319.png|575x346px]]
|}
</ol>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the available CAN bus for Orange Pi 5 Plus is CAN0 and CAN1, a total of two CAN buses</p>
<p>[[File:media/image320plus5-img320.png|574x137px]]</p></li>
<li><p>In the linux system, the CAN in the 40 pin is closed by default, and it needs to be opened manually before it can be used. The detailed steps are as follows:</p>
<ol style="list-style-type: lower-alpha;">
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|374x173px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|370x160px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the &gt; position shown in the figure below, and then use the space to &gt; select the CAN configuration you want to open ('''can0-m0''' and &gt; '''cam1-m0''' are optional for OPi 5 Plus)</p>
<p>[[File:media/image321plus5-img321.png|370x61px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img63.png|332x96px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|341x103px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the &gt; configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|283x125px]]</p></li></ol>
</li>
<li><p>After entering the Linux system, use the '''sudo ifconfig -a''' command, if you can see the CAN device node, it means that the CAN has been opened correctly</p>
<ol style="list-style-type: decimal;">
<li><p>The CANalyst-II analyzer used in the test is shown in the figure below</p>
<p>[[File:media/image322plus5-img322.png|165x134px]]</p></li>
<li><p>CANalyst-II analyzer data download link</p>
{| class="wikitable" style="width:800px;"
</li>
<li><p>First install the software USBCANToolSetup</p>
<p>[[File:media/image323plus5-img323.png|553x94px]]</p></li>
<li><p>The shortcut after installation of USBCANToolSetup is</p>
<p>[[File:media/image324plus5-img324.png|59x80px]]</p></li>
<li><p>In addition, you need to install the USB driver</p>
<p>[[File:media/image325plus5-img325.png|553x112px]]</p></li>
<li><p>The end of the USB interface of the CANalyst-II analyzer needs to be connected to the USB interface of the computer</p>
<p>[[File:media/image326plus5-img326.png|137x121px]]</p></li>
<li><p>To test the CAN function, you need to prepare a CAN transceiver as shown in the figure below. The main function of the CAN transceiver is to convert the TTL signal of the CAN controller into the differential signal of the CAN bus</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The CANL pin of the CAN transceiver needs to be connected to the H interface of the analyzer</p></li>
<li><p>The CANL pin of the CAN transceiver needs to be connected to the L interface of the analyzer</p>
<p>[[File:media/image327plus5-img327.png|243x78px]]</p></li></ol>
</li>
<li><p>Then you can open the USB-CAN software</p>
<p>[[File:media/image328plus5-img328.png|553x267px]]</p></li>
<li><p>Then click to start the device</p>
<p>[[File:media/image329plus5-img329.png|553x238px]]</p></li>
<li><p>Then click OK</p>
<p>[[File:media/image330plus5-img330.png|279x110px]]</p></li>
<li><p>Set the baud rate to 1000k bps</p>
<p>[[File:media/image331plus5-img331.png|322x268px]]</p></li>
<li><p>After successful opening, the USB-CAN software will display the serial number and other information</p>
<p>[[File:media/image332plus5-img332.png|553x262px]]</p></li>
<li><p>Development board receives CAN message test</p>
<ol style="list-style-type: lower-alpha;">
</li>
<li><p>Then send a message to the development board in the USB-CAN software</p>
<p>[[File:media/image333plus5-img333.png|553x188px]]</p></li>
<li><p>If the message sent by the analyzer can be received in the development board, it means that the CAN bus can be used normally</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image334plus5-img334.jpeg|483x377px|未标题-5png]]
</div></li></ol>
|-
|
<p>root@orangepi:~# '''git clone --recursive https://github.com/orangepi-xunlong/wiringOP-Python -b next'''</p>
root@orangepi:~# '''cd wiringOP-Python'''
<p>Cloning into 'root@orangepi:~/wiringOP-Python# '...</p><p>remote: Enumerating objects: 602, done.</p><p>remote: Counting objects: 100% (40/40), done.</p><p>remote: Compressing objects: 100% (28/28), done.</p><p>remote: Total 602 (delta 20), reused 26 (delta 12), pack-reused 562</p><p>Receiving objects: 100% (602/602), 309.30 KiB | 1.23 MiB/s, done.</p><p>Resolving deltas: 100% (349/349), done.</p><p>Submodule 'wiringOP' (https://github.com/orangepigit submodule update --init -xunlong/wiringOP.git) registered for path 'wiringOP'</p><p>Cloning into '/root/test/wiringOP-Python/wiringOP'...</p><p>remote: Enumerating objects: 654, done.</p><p>remote: Counting objects: 100% (273/273), done.</p><p>remote: Compressing objects: 100% (33/33), done.</p><p>remote: Total 654 (delta 244), reused 245 (delta 238), pack-reused 381</p><p>Receiving objects: 100% (654/654), 360.54 KiB | 1.73 MiB/s, done.</p><p>Resolving deltas: 100% (424/424), done.</p><p>Submodule path 'wiringOP': checked out '85f1331cd8fda668115461ec1c06cb342057eb03'</p>
|}
</li>
<div class="figure">
[[File:media/image308plus5-img308.png|415x291px|876iring_001]]
</div>
<div class="figure">
[[File:media/image309plus5-img309.png|419x106px|874iring_001]]
</div></li>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the figure below, the SPIs available for Orange Pi 5 Plus are SPI0 and SPI4</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li><li><p>The corresponding pins of SPI0 and SPI4 in 40pin are shown in the table below. SPI4_M1 and SPI4_M2 can only use one of them at the same time, and they cannot be used at the same time. They are all the same SPI4, but they are connected to different pins. Please don't think that they are two different sets of SPI buses.</p></li></ol>
{| class="wikitable" style="width:800px;"
| '''<span style="color:#FF0000">none</span>'''
|-
| '''dtbo confi gurationconfiguration'''| '''spi 0spi0-m2-cs0-spidev'''
'''spi 0spi0-m2-cs1-spidev'''
'''spi0-m2 -cs0-cs1-spidev'''
| '''spi 4spi4-m1-cs0-spidev'''
'''spi 4spi4-m1-cs1-spidev'''
'''spi4-m1 -cs0-cs1-spidev'''
| '''spi4-m 2m2-cs0-spidev'''
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>In the linux system, the SPI in the 40 pin is closed by default, and it needs to be opened manually before it can be used. The detailed steps are as follows:</p>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|413x191px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|419x182px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the &gt; position shown in the figure below, and then use the space to &gt; select the SPI configuration you want to open</p>
<p>[[File:media/image312plus5-img312.png|415x141px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|415x120px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|414x126px]]</p></li><li><p>g. Then select '''&lt;Reboot&gt;''' to restart the system to make the &gt; configuration take effect</p><p>[[File:media/image239plus5-img239.png|293x129px]]</p></li></ol>
</li>
<li><p>After restarting, enter the system and first check whether there is a '''spidevx.x''' device node in the linux system. If it exists, it means that the SPI has been set up and can be used directly.</p>
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the available i2c for Orange Pi 5 Plus is i2c2, i2c4, i2c5 and i2c8, a total of four sets of i2c buses.</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The corresponding pins of the 4 groups of I2C buses in 40pin are shown in the table below. I2C2_M0 and I2C2_M4 can only use one of them at the same time, and they cannot be used at the same time. They are all the same I2C2, but they are connected to different pins. Please don’t think that they are two different sets of I2C2 buses.</p></li>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|382x176px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|385x167px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the &gt; position shown in the figure below, and then use the space to &gt; select the I2C configuration you want to open</p>
<p>[[File:media/image313plus5-img313.png|381x144px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|347x100px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|325x98px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the &gt; configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|254x112px]]</p></li></ol>
</li>
<li><p>After starting the linux system, first confirm that there is a device node corresponding to i2c under '''/dev'''</p>
</li>
<li><p>Then connect an i2c device to the i2c pin of the 40 pin connector, here we take the ds1307 RTC module as an example</p>
<p>[[File:media/image335plus5-img335.png|124x106px]]</p></li>
<li><p>Then use the '''i2cdetect -y''' command, if the address of the connected i2c device can be detected, it means that i2c can be recognized normally.</p>
{| class="wikitable" style="width:800px;"
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the uarts available for Orange Pi 5 Plus are uart1, uart3, uart4, uart6, uart7 and uart8, a total of 6 sets of uart buses</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The corresponding pins of the 6 groups of UART buses in 40pin are shown in the following table:</p></li>
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|404x186px]]</p></li>
<li><p>Then select '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|403x175px]]</p></li>
<li><p>Then use the arrow keys on the keyboard to navigate to the position shown in the figure below, and then use the '''space''' to select the UART configuration you want to open</p>
<p>[[File:media/image315plus5-img315.png|350x124px]]</p></li>
<li><p>Then select '''&lt;Save&gt;''' to save</p>
<p>[[File:media/image263plus5-img263.png|334x96px]]</p></li>
<li><p>Then select '''&lt;Back&gt;'''</p>
<p>[[File:media/image264plus5-img264.png|336x102px]]</p></li>
<li><p>Then select '''&lt;Reboot&gt;''' to restart the system to make the configuration take effect</p>
<p>[[File:media/image239plus5-img239.png|235x103px]]</p></li></ol>
</li>
<li><p>After entering the linux system, first confirm whether there is a device node corresponding to uart under /dev</p>
<div class="figure">
[[File:media/image336plus5-img336.png|527x211px|IMG_2561200px]]
</div></ol>
<div class="figure">
[[File:media/image95plus5-img95.png|507x249px|IMG_2561200px]]
</div></li>
<div class="figure">
[[File:media/image337plus5-img337.png|429x263px|IMG_256]]
</div></ol>
</li>
<li><p>Then select the AppImage version balenaEtcher, click the right mouse button, and then click Execute to open balenaEtcher</p>
<p>[[File:media/image338plus5-img338.png|145x118px]]</p></li></ol>
</li></ol>
|-
|
<p>'''Debian11 &gt; > Ubuntu 22.04> Debian12'''</p>
|}
</li>
</li>
<li><p>Then what to do is to wait patiently. When you see the printing information below the terminal output, it means that the pagoda has been installed. The entire installation process takes about 9 minutes. There may be some differences according to the difference in network speed</p>
<p>[[File:media/image339plus5-img339.png|363x237px]]</p></li>
<li><p>At this time, enter the '''panel address''' displayed above in the browser to open the login interface of the pagoda Linux panel, and then enter the '''username''' and '''password''' displayed above in the corresponding position to log in to the pagoda.</p>
<p>[[File:media/image340plus5-img340.png|576x241px]]</p></li>
<li><p>After successfully logging in to the pagoda, the following welcome interface will pop up. First, please take the intermediate user notice to read to the bottom, and then you can choose &quot;I have agreed and read&quot; User Agreement &quot;, and then click&quot; Enter the panel &quot; You can enter the pagoda</p>
<p>[[File:media/image341plus5-img341.png|576x213px1500px]]</p></li>
<li><p>After entering the pagoda, you will first prompt that you need to bind the account of the pagoda official website. If you do n’t have an account, you can go to the official website of the pagoda '''(https://www.bt.cn)''' to register one</p>
<p>[[File:media/image342plus5-img342.png|576x218px1500px]]</p></li>
<li><p>The final display interface is shown in the figure below. You can intuitively see some status information of the development board Linux system, such as load status, CPU usage, memory usage, and storage space usage</p>
<p>[[File:media/image343plus5-img343.png|574x283px]]</p></li>
<li><p>Test the SSH terminal login of the pagoda</p>
<ol style="list-style-type: lower-alpha;">
<li><p>After opening the SSH terminal of the pagoda, you will first prompt that you need to enter the password of the development board system. At this time, enter '''orangepi''' in the password box (the default password, if you have modification, please fill in the modified one).</p>
<p>[[File:media/image344plus5-img344.png|475x330px]]</p></li>
<li><p>The display after successful login is shown in the figure below</p>
<p>[[File:media/image345plus5-img345.png|575x206px]]</p></li></ol>
</li>
<li><p>Software such as Apache, MySQL, and PHP can be installed in the software store of the pagoda. You can also deploy various applications in one click. Please explore it yourself</p>
<p>[[File:media/image346plus5-img346.png|575x279px1500px]]</p></li>
<li><p>Pagoda command line tool test</p>
<div class="figure">
[[File:media/image347plus5-img347.png|388x343px|815iring_001]]
</div></li>
|-
|
<big>'''Note that before installing the Chinese input method, please make sure that the Linux system used in the development board is the desktop version system。system.'''</big>
|}
</li>
<li><p>Then select '''zh_CN.UTF-8 UTF-8''' in the pop-up interface (through the upper and lower direction keys on the keyboard to move up and down, select it through the space key, and finally move the cursor to '''&lt;OK&gt;''' through the Tab key, and then press Enter key.)</p>
<p>[[File:media/image348plus5-img348.png|575x296px1500px]]</p></li>
<li><p>Then set the default '''locale''' as '''zh_CN.UTF-8'''</p>
<p>[[File:media/image349plus5-img349.png|575x160px1500px]]</p></li>
<li><p>After exiting the interface,'''locale''' will be set. The output displayed by the command line is shown below</p>
{| class="wikitable" style="width:800px;"
</li>
<li><p>Then open '''Input Method'''</p>
<p>[[File:media/image350plus5-img350.png|575x361px]]</p></li>
<li><p>Then choose '''OK'''</p>
<p>[[File:media/image351plus5-img351.png|295x212px]]</p></li>
<li><p>Then choose '''Yes'''</p>
<p>[[File:media/image352plus5-img352.png|303x192px]]</p></li>
<li><p>Then choose '''fcitx'''</p>
<p>[[File:media/image353plus5-img353.png|307x220px]]</p></li>
<li><p>Then choose '''OK'''</p>
<p>[[File:media/image354plus5-img354.png|305x216px]]</p></li>
<li><p>'''<span style="color:#FF0000">Then restart the Linux system to make the configuration effective</span>'''</p></li>
<li><p>Then Open '''Fcitx configuration'''</p>
<p>[[File:media/image355plus5-img355.png|575x376px]]</p></li>
<li><p>Then click the “+” of the position shown in the figure below</p>
<p>[[File:media/image356plus5-img356.png|280x187px]]</p></li>
<li><p>Then search '''Google Pinyin''' and click '''OK'''</p>
<p>[[File:media/image357plus5-img357.png|291x196px]]</p></li>
<li><p>Then put '''Google Pinyin''' to the forefront</p>
<p>[[File:media/image358plus5-img358.png|299x202px]]</p><p>[[File:media/image359plus5-img359.png|300x202px]]</p></li>
<li><p>Then open the '''Geany''' Editor and test the Chinese input method.</p>
<p>[[File:media/image360plus5-img360.png|349x212px]]</p></li>
<li><p>Chinese input method test is shown below</p>
<p>[[File:media/image361plus5-img361.png|575x325px]]</p></li>
<li><p>You can switch between Chinese and English input methods through '''Ctrl+Space''' shortcut</p></li>
<li><p>If the entire system is required as Chinese, the variables in '''/etc/default/locale''' can be set to '''zh_CN.UTF-8'''</p>
</li>
<li><p>Then '''restart the system''' to see the system display as Chinese</p>
<p>[[File:media/image362plus5-img362.png|576x356px]]</p></li></ol>
<span id="ubuntu-20.04-system-installation-method"></span>
<ol style="list-style-type: decimal;">
<li><p>First open '''Language Support'''</p>
<p>[[File:media/image363plus5-img363.png|575x351px]]</p></li>
<li><p>Then find the '''<span class="mark">Chinese (China)</span>''' option</p>
<p>[[File:media/image364plus5-img364.png|318x311px]]</p></li>
<li><p>Then use the left mouse button to select '''<span class="mark">Chinese (China)</span>''' and hold it down, and then drag it up to the beginning. The display after dragging is shown in the figure below:</p>
<p>[[File:media/image365plus5-img365.png|324x320px]]</p></li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
<ol start="4" style="list-style-type: decimal;">
<li><p>Then select the '''<span class="mark">Apply System-Wide</span>''' to apply the Chinese settings to the entire system</p>
<p>[[File:media/image366plus5-img366.png|321x316px]]</p></li>
<li><p>Then set the '''Keyboard input method system''' as '''fcitx'''</p>
<p>[[File:media/image367plus5-img367.png|327x320px]]</p></li>
<li><p>'''<span style="color:#FF0000">Then restart the linux system to make the configuration effective</span>'''</p></li>
<li><p>After re -entering the system, please choose '''<span class="mark">not to ask me again</span>''' at the interface below, and then determine whether the standard folder should be updated in Chinese according to your preference</p>
<p>[[File:media/image368plus5-img368.png|303x247px]]</p></li>
<li><p>Then you can see that the desktop is displayed as Chinese</p>
<p>[[File:media/image369plus5-img369.png|575x383px]]</p></li>
<li><p>Then we can open the '''Geany''' test in the Chinese input method. The way to open the way is shown in the figure below</p>
<p>[[File:media/image370plus5-img370.png|576x292px]]</p></li>
<li><p>After opening '''Geany''', the default is an English input method. We can switch into Chinese input method through the '''Ctrl+Space''' shortcut keys, and then we can enter Chinese</p>
<p>[[File:media/image371plus5-img371.png|575x308px]]</p></li></ol>
<span id="ubuntu-22.04-installation-method"></span>
<ol style="list-style-type: decimal;">
<li><p>First open '''Language Support'''</p>
<p>[[File:media/image363plus5-img363.png|575x351px]]</p></li>
<li><p>Then find the '''<span class="mark">Chinese (China)</span>''' option</p>
<p>[[File:media/image372plus5-img372.png|249x242px]]</p></li>
<li><p>Then please use the mouse to select '''<span class="mark">Chinese (China)</span>''' and hold it down, and then drag it up to the beginning. The display after the dragging is shown in the figure below:</p>
<p>[[File:media/image373plus5-img373.png|267x262px]]</p></li>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''Note that this step is not very easy to drag, please try a few more times。times.'''</big>
|}
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>Then select the '''Apply System-Wide''' to apply the Chinese settings to the entire system</p>
<p>[[File:media/image374plus5-img374.png|287x282px]]</p></li>
<li><p>'''<span style="color:#FF0000">Then restart the linux system to make the configuration effective</span>'''</p></li>
<li><p>After re-entering the system, please choose '''<span class="mark">not to ask me again</span>''' at the interface below, and then determine whether the standard folder should be updated to Chinese according to your preference</p>
<p>[[File:media/image368plus5-img368.png|303x247px]]</p></li>
<li><p>Then you can see that the desktop is displayed as Chinese</p>
<p>[[File:media/image369plus5-img369.png|575x383px]]</p></li>
<li><p>Then open the Fcitx5 configuration program</p>
<p>[[File:media/image375plus5-img375.png|575x349px]]</p></li>
<li><p>Then choose to use Pinyin input method</p>
<p>[[File:media/image376plus5-img376.png|338x267px]]</p></li>
<li><p>The interface after selecting is shown below, then click OK</p>
<p>[[File:media/image377plus5-img377.png|366x290px]]</p></li>
<li><p>Then we can open the '''Geany''' to test Chinese input method.The way to open is shown in the figure below</p>
<p>[[File:media/image370plus5-img370.png|576x292px]]</p></li>
<li><p>After opening '''Geany''', the default is an English input method. We can switch into Chinese input method through the '''Ctrl+Space''' shortcut keys, and then we can enter Chinese</p>
<p>[[File:media/image378plus5-img378.png|434x308px]]</p></li></ol>
<span id="how-to-remotely-log-in-to-the-linux-system-desktop-method"></span>
|-
|
<big>'''Ubuntu Gnome Wayland image does not support nomachine NoMachine and VNC described here to remotely log in to the desktop.'''</big>
|}
|-
|
<big>'''Make sure the Ubuntu or Debian system installed on the development board is a <span style="color:#FF0000">desktop version</span>. In addition, nomachine NoMachine also provides detailed documents. It is strongly recommended to read this document to be familiar with the use of nomachineNoMachine. The document links are shown below:'''
'''https://knowledgebase.nomachine.com/DT10R00166'''</big>
|-
|
<big>'''Nomachine NoMachine supports Windows, Mac, Linux, iOS, and Android platforms, so we can remotely log in to control Orange PI development boards through Nomachine NoMachine on multiple devices. The following demonstrates the Linux system desktop of the Orange PI development board through Nomachine NoMachine in Windows. For installation methods for other platforms, please refer to the official documentation of Nomachine。NoMachine.'''</big>
|}
|}
[[File:media/image379plus5-img379.png|575x227px]]
</ol>
</li></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>In addition, you can also download the installation package of '''NoMachine''' in the '''official tools'''</p>
<p>[[File:media/image380plus5-img380.png|70x86px]]</p>
<p>First Enter the '''<span class="mark">remote login software-Nomachine</span>''' Folder</p>
<p>[[File:media/image381plus5-img381.png|256x46px]]</p>
<p>Then download the arm64 version of the deb installation package</p>
<p>[[File:media/image382plus5-img382.png|180x109px]]</p></li>
<li><p>Then upload the downloaded '''nomachine_x.x.x_x_arm64.deb''' to the Linux system of the development board</p></li>
<li><p>Then use the following command to install '''NoMachine''' in the Linux system in the development board</p>
|}
</li></ol>
</li></ol>
<ol start="2" style="list-style-type: decimal;">
<li>Then download the NoMachine software Windows version of the installation package, the download address is shown below</li>
|}
[[File:media/image383plus5-img383.png|575x163px]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then install nomachine in Windows. '''Please restart the computer after installation'''</p></li>
<li><p>Then open '''NoMachine''' in Window</p>
<p>[[File:media/image384plus5-img384.png|76x66px]]</p></li>
<li><p>After Nomachine is started, it will automatically scan other devices installed in the local area network. After entering the main interface of Nomachine, you can see that the development board is already in the connected device list, and then click the location shown in the red box below in the figure below. You can start logging in to the Linux system desktop of the development board</p>
<p>[[File:media/image385plus5-img385.png|321x92px]]</p></li>
<li><p>Then click '''OK'''</p>
<p>[[File:media/image386plus5-img386.png|269x184px]]</p></li>
<li><p>Then enter the username and password of the linux system in the corresponding position in the figure below, and then click '''OK''' to start logging in</p>
<p>[[File:media/image387plus5-img387-1.png|303x204px]]</p></li>
<li><p>Then click OK in the next interface</p></li>
<li><p>Finally, you can see the desktop of the development board Linux system</p>
<p>[[File:media/image388plus5-img388.png|411x246px]]</p></li></ol>
<span id="use-vnc-remote-login"></span>
<li><p>The steps of using MobaxTerm software to connect the development board Linux system desktop are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li>First click the session, then select VNC, then fill in the IP &gt; address and port of the development board, and finally click &gt; OK to confirm</li>
<div class="figure">
[[File:media/image389plus5-img389.png|490x349px|图片1208]]
</div></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>Then enter the password of the previously set VNC</p>
<p>[[File:media/image390plus5-img390.png|221x105px]]</p></li><li><p>The interface after the login is successfully displayed as shown in &gt; the figure below, and then you can remotely operate the desktop of &gt; the linux system remotely</p></li>
[[File:media/image391plus5-img391.png|405x293px]]
</ol>
</li></ol>
|-
|
<big><p>'''Use CTRL+D shortcut key to exit Python's interactive mode。mode.'''</p></big>
|}
</li>
<li><p>Debian Bullseye's compilation tool and operating environment without Java default</p>
<ol style="list-style-type: lower-alpha;">
<li><p>You can use the following command to install openjdk. The latest &gt; version in Debian Bullseye is openjdk-17</p>
{| class="wikitable" style="width:800px;"
|-
|-
|
<big><p>'''Use CTRL+D shortcut key to exit Python's interactive mode。mode.'''</p></big>
|}
</li>
|-
|
<big><p>'''Use CTRL+D shortcut key to exit Python's interactive mode。mode.'''</p></big>
|}
</li>
<p>QMake version 3.1</p>
<p>Using Qt version '''<span style="color:#FF0000">5.15.2</span>''' in /usr/lib/aarch64-linux-gnu</p>
|}
</li>
<li><p>The QT version that comes with Debian12 is '''5.15.8'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''install_qt.sh'''</p>
<p>......</p>
<p>QMake version 3.1</p>
<p>Using Qt version '''<span style="color:#FF0000">5.15.8</span>''' in /usr/lib/aarch64-linux-gnu</p>
|}
</li></ol>
</li>
<li><p>Then you can see the lax icon of QT Creator in '''Applications'''</p>
<p>[[File:media/image392plus5-img392.png|576x270px]]</p>
<p>You can also use the following command to open QT Creator</p>
{| class="wikitable" style="width:800px;"
|-
|
<big><p>'''During the startup process of QT and QT applications, if the error below is prompted, please ignore it directly. This error will not affect the operation of the application.'''</p>
</li>
<li><p>The interface after the QT Creator is opened is shown below</p>
<p>[[File:media/image393plus5-img393.png|576x306px]]</p></li>
<li><p>The version of QT Creator is shown below</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The default version of QT Creator in '''Ubuntu20.04''' is shown &gt; below</p><p>[[File:media/image394plus5-img394.png|576x308px]]</p></li><li><p>The default version of QT Creator in '''Ubuntu22.04''' is shown &gt; below</p><p>[[File:media/image395plus5-img395.png|575x307px]]</p></li>
<li><p>The default version of QT Creator in '''Debian11''' is shown below</p>
<p>[[File:mediaplus5-img396.png]]</p></li><li><p>The default version of QT Creator in '''Debian12''' is as follows</image396p><p>[[File:plus5-img396-1.png|575x309px]]</p></li></ol>
</li>
<li><p>Then set the QT</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First open '''Help'''-&gt;'''About Plugins...'''</p>
<p>[[File:media/image397plus5-img397.png|573x164px]]</p></li>
<li><p>Then remove the hook of '''ClangCodeModel'''</p>
<p>[[File:media/image398plus5-img398.png|575x359px]]</p></li>
<li><p>'''<span style="color:#FF0000">After setting, you need to restart Qt Creator</span>'''</p></li>
<li><p>Then make sure that the GCC compiler used by QT Creator, if the &gt; default is CLANGClang, please modify it to GCC</p>{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Debian12 please skip this step.'''</big>|}<p>[[File:media/image399plus5-img399.png|576x315px]]</p><p>[[File:media/image400plus5-img400.png|575x307px]]</p></li></ol>
</li>
<li><p>Then you can open an example code</p>
<p>[[File:media/image401plus5-img401.png|575x312px]]</p></li>
<li><p>After clicking the example code, you will automatically open the corresponding description document. You can carefully look at the instructions for the use</p>
<p>[[File:media/image402plus5-img402.png|576x218px]]</p></li>
<li><p>Then click '''Configure Project'''</p>
<p>[[File:media/image403plus5-img403.png|575x304px]]</p></li>
<li><p>Then click the sample code under the green triangle compilation and run in the lower left corner</p>
<p>[[File:media/image404plus5-img404.png|575x312px]]</p></li>
<li><p>After waiting for a while, the interface shown in the figure below will pop up. At this time, it means that QT can compile and run normally</p>
<p>[[File:media/image405plus5-img405.png|576x308px]]</p></li>
<li><p>Reference information</p>
{| class="wikitable" style="width:800px;"
# The current active version of ROS 1 is shown below. The recommended version is '''Noetic Ninjemys'''
::[[File:media/image406plus5-img406.png|345x235px]]
::[[File:media/image407plus5-img407.png|576x210px]]
::{| class="wikitable" style="width:800px;"
'''http://wiki.ros.org/noetic/Installation'''
|}
<p>[[File:media/image408plus5-img408.png|312x176px]]</p></li>
<li><p>Then install Ros1 with the following script</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image409plus5-img409.png|575x275px|图片4]]
</div></li>
<div class="figure">
[[File:media/image410plus5-img410.png|576x275px|图片5]]
</div></ol>
<ol start="9" style="list-style-type: decimal;">
<li><p>At this time, press the direction button on the keyboard to control the small turtles up, down, left and right</p>
<p>[[File:media/image411plus5-img411.png|575x296px]]</p></li></ol>
<span id="ubuntu20.04-the-method-of-installing-ros-2-galactic"></span>
<ol style="list-style-type: decimal;">
<li><p>The current active version of ROS 2 is shown below. The recommended version is '''Galactic Geochelone'''</p>
<p>[[File:media/image412plus5-img412.png|576x271px]]</p><p>[[File:media/image413plus5-img413.png|575x265px]]</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image414plus5-img414.png|576x324px|1]]
</div></li>
<div class="figure">
[[File:media/image415plus5-img415.png|576x324px|Screenshot from 2023-05-20 17-42-58]]
</div></li>
<big><p>'''If you compile the code you copy here, if you have any problems, go to the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''official tool'''] to download the source code and upload it to the Linux system of the development board for testing'''</p></big>
<p>[[File:media/image416plus5-img416.png|253x41pxcenter]]</p>
|}
<ol style="list-style-type: lower-alpha;">
<li><p>10.1 -inch MIPI LCD display+touch screen (this screen and OPI5/OPI5B universal)</p>
<p>[[File:media/image417plus5-img417.png|338x252px]]</p></li>
<li><p>Screen divert plate+31pin to 40pin line</p>
<div class="figure">
[[File:media/image418plus5-img418.png|230x199px|DD9A8F44-0D8F-4f06-9473-B539DEED850C]]
</div></li>
<div class="figure">
[[File:media/image419plus5-img419.png|443x41px|C2164119-6EC3-49ae-9A95-BE323F51FAE1]]
</div></li>
<li><p>12pin touch screen row line</p>
<p>[[File:media/image420plus5-img420.png|344x50px]]</p></li></ol>
</li>
<li><p>According to the figure below, the 12PIN touch screen row, 31PIN to 40PIN ducts, and 30pin MIPI cables get on the screen dial board. Pay attention to <span style="color:#FF0000">line of the touch screen the blue insulation face under</span>. If you get an error, it will cause no display or unable to touch</p>
<p>[[File:media/image421plus5-img421.png|574x142px]]</p></li>
<li><p>Place the connected rotor connected to the puzzle on the MIPI LCD screen according to the figure below, and connect the MIPI LCD screen and the rotary board through 31PIN to 40Pin row</p></li>
[[File:media/image422plus5-img422.png|382x563px]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>Then connect the touch screen and the rotor board through the 12PIN touch screen line, pay attention to the orientation of the insulating surface.</p>
<p>[[File:media/image423plus5-img423.png|253x161px]]</p></li>
<li><p>Finally connect to the LCD interface of the development board through the 30PIN MIPI duct</p>
<p>[[File:media/image424plus5-img424.png|405x225px]]</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
<big><p>'''Note that the touch interface below is not used for the LCD MIPI screen. It is currently a spare interface and cannot be used'''</p></big>
<p>[[File:media/image425plus5-img425.png|334x70pxcenter]]</p>
|}
</li></ol>
<ol style="list-style-type: decimal;">
<li><p>The Linux image defaults to the configuration of the mipi lcd screen by default. If you need to use the mipi lcd screen, you need to open it manually。manually.</p></li>
<li><p>The position of the development board MIPI LCD screen interface is shown below:</p>
<p>[[File:media/image426plus5-img426.png|428x77px]]</p></li>
<li><p>The steps of opening the MIPI LCD configuration are shown below:</p>
<ol style="list-style-type: lower-alpha;">
</li>
<li><p>Then choose '''System'''</p>
<p>[[File:media/image234plus5-img234.png|379x175px]]</p></li>
<li><p>Then choos '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|379x164px]]</p></li>
<li><p>Then use the keyboard orientation to position the '''opi5plus-lcd''', and then use the '''space''' to select</p>
<p>[[File:media/image427plus5-img427.png|349x57px]]</p></li>
<li><p>Then select &lt;Save&gt;</p>
<p>[[File:media/image428plus5-img428.png|263x123px]]</p></li>
<li><p>Then sele '''&lt;Back&gt;'''</p>
<p>[[File:media/image429plus5-img429.png|264x116px]]</p></li>
<li><p>Then select the '''&lt;Reboot&gt;''' restart system to make the configuration effective</p>
<p>[[File:media/image430plus5-img430.png|226x105px]]</p></li></ol>
</li>
<li><p>After starting, you can see the display of the LCD screen as shown below (the default is vertical screen):</p></li>
[[File:media/image431plus5-img431.png|169x244px]]
</ol>
<span id="the-server-version-of-the-image-rotation-display-direction-method"></span>
|-
|
<big><p>'''Note that if/boot/orangepienv.txt is configured in the default default exiArgs = CMA = 128M, fbcon = rotate: 3 The configuration can be added to the extensraargs = cma = 128m (need to be separated by spaces).'''</p></big>
|}
</li></ol>
<ol style="list-style-type: decimal;">
<li><p>First open '''Display''' settings in the Linux system</p>
<p>[[File:media/image432plus5-img432.png|339x234px]]</p></li>
<li><p>Then select the direction you want to rotate in the '''Rotation'''</p>
<ol style="list-style-type: lower-alpha;">
<li><p>'''Inverted''': Flipting up and down is equivalent to rotating 180 &gt; degrees</p></li>
<li><p>'''Right''': Rotate 90 degrees to the right</p>
<p>[[File:media/image433plus5-img433.png|330x208px]]</p></li></ol>
</li>
<li><p>Then click '''Apply'''</p>
<p>[[File:media/image434plus5-img434.png|330x207px]]</p></li>
<li><p>Then click '''Keep this configuration'''</p>
<p>[[File:media/image435plus5-img435.png|458x258px]]</p></li>
<li><p>At this time, the screen display has been rotated, and then the '''Display''' program is turned off</p></li>
<li><p>The above steps will only select the display direction, and it will not rotate the direction of touch. Use set_lcd_rotate.sh script to rotate the direction of touch. After this script is set, it will be automatically restarted, and then you can test whether the touch can be used normally</p>
|}
</li>
<li><p>Set the '''bootlogo''' variable to '''true''' in'''/boot/orangepiEnv.txt''' to turn the opening and the logo</p>
{| class="wikitable" style="width:800px;"
|-
<ol style="list-style-type: lower-alpha;">
<li><p>OV13850 camera at 13 million MIPI interface</p>
<p>[[File:media/image23plus5-img23.png|268x151px]]</p></li>
<li><p>13 million MIPI interface OV13855 camera</p>
<p>[[File:media/image24plus5-img24.png|253x150px]]</p><p>The rotary board used by OV13850 and OV13855 cameras is the same as the FPC cable, but the two cameras are different from the position on the rotary board. The FPC lines are shown in the figure below. Please note that the FPC line is directed. It is marked that the '''TO MB''' must be inserted into the camera interface of the development board. It is marked that the end of '''TO CAMERA''' needs to be inserted on the camera transfer board。board.</p></li>
[[File:media/image436plus5-img436.png|373x78px]]
</ol>
There are a total of 3 cameras on the camera to connect to the board, which can only be used one at the same time, as shown in the figure below, among which:
<li><p>The No. 3 interface is not used, just ignore it.</p></li>
[[File:media/image437plus5-img437-1.png|288x172px]]
</ol>
Orange Pi 5 Plus development board has a total of 1 camera interface, which is shown below:
[[File:media/image438plus5-img438.png|408x95px]]
The method of the camera inserted in the development board interface is shown below:
[[File:media/image439plus5-img439.png|332x154px]]
After connecting the camera to the development board, we can use the following method to test the camera:
</li>
<li><p>Then select '''System'''</p>
<p>[[File:media/image234plus5-img234.png|399x184px]]</p></li>
<li><p>Then choose '''Hardware'''</p>
<p>[[File:media/image235plus5-img235.png|403x175px]]</p></li><li><p>Then use the keyboard to locate the position shown in the figure below, and then use the camera you want to open in the space. Among them, '''opi5plus-ov13850''' means using an OV13850 camera, '''opi5plus-ov13855''' indicates the use of OV13855 camera。camera.</p><p>[[File:media/image440plus5-img440.png|400x37px]]</p></li>
<li><p>Then choose '''&lt;Save&gt;'''</p>
<p>[[File:media/image441plus5-img441.png|338x109px]]</p></li>
<li><p>Then choose '''&lt;Back&gt;'''</p>
<p>[[File:media/image442plus5-img442.png|338x86px]]</p></li>
<li><p>Then select the'''&lt;Reboot&gt;''' restart system to make the configuration effective</p>
<p>[[File:media/image239plus5-img239.png|316x139px]]</p></li>
<li><p>Then open a terminal in the desktop system and run the script below</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image443plus5-img443.png|576x324px|1]]
</div></li></ol>
<div class="figure">
[[File:media/image444plus5-img444.jpeg|199x183px|IMG_256png]]
</div></li>
<li><p>Then press the button on the infrared receiver on the development board to press the button on the remote control. The position of the infrared receiver on the development board is as shown in the figure below:</p>
<p>[[File:media/image445plus5-img445.png|346x92px]]</p></li>
<li><p>Then you can see that '''evtest''' will print the received key value</p>
{| class="wikitable" style="width:800px;"
<ol style="list-style-type: decimal;">
<li><p>A RTC battery interface is reserved on the development board, which is shown below:</p>
<p>[[File:media/image28plus5-img28.png|344x126px]]</p></li>
<li><p>The RTC battery that needs to be purchased is shown below. The interface is 2pin, 1.25mm spacing</p>
<p>[[File:media/image27plus5-img27.png|152x81px]]</p></li>
<li><p>The RTC chip used on the development board is Hym8563TS. This chip has the following characteristics:</p>
<ol style="list-style-type: lower-alpha;">
<ol style="list-style-type: decimal;">
<li><p>The development board is used for interfaces that connect the heat sink fan. The interface specifications are '''2pin 1.25mm''' spacing, '''<span class="mark">5V voltage driver</span>''', and the position of the fan interface is shown in the figure below:</p>
<p>[[File:media/image19plus5-img19.png|410x171px]]</p></li>
<li><p>The fan on the development board can adjust the speed and switch through PWM, and the PWM pins used are '''PWM3_IR_M1'''</p></li>
<li><p>The Linux system uses the [https://github.com/orangepi-xunlong/linux-orangepi/blob/orange-pi-5.10-rk3588/drivers/hwmon/pwm-fan.c '''pwm-fan'''] driver to control the fan by default. The DTS configuration used is shown below:</p>
<span id="the-method-of-shutting-down-and-restarting-the-development-board"></span>
== The method of shutting down and restarting How to use the development board ZFS file system ==
<ol style="list-style-type: decimal;"><li><p>In the process of running the Linux system, if the Type-C power supply is directly out of power, it may cause the file system to lose certain data or damage. Therefore, please use the '''poweroff''' command to turn off the linux system of the development board before power off. Then Unplug the power supply.</p>{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|<pbig>'''The latest version of Ubuntu20.04, Ubuntu22.04, Debian11 and Debian12 desktop version systems have pre-installed zfs, you can use it directly.''' '''The pre-installed zfs version in Ubuntu20.04 and Ubuntu22.04 desktop systems is 2.1.6.''' '''The pre-installed zfs version in Debian11 and Debian12 desktop systems is 2.1.11.''' '''After the system starts, please first confirm whether the zfs kernel module has been loaded. If you can see zfs-related content using the lsmod command, it means that the system has pre-installed zfs.''' orangepi@orangepi:~$ '''sudo powerofflsmod | grep "zfs"'''</pbigzfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2801664 &nbsp;&nbsp;&nbsp; 0 zunicode &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 327680 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs zzstd &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 471040 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs zlua &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 139264 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs zcommon &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 69632 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs znvpair &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 61440 &nbsp;&nbsp;&nbsp; 2 &nbsp; zfs,zcommon zavl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16384 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs icp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 221184 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs spl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 77824 &nbsp;&nbsp;&nbsp; 6 &nbsp; zfs,icp,zzstd,znvpair,zcommon,zavl
|}
</li>
<li><p>In addition, the development board is equipped with a switch button, and you can also '''short press''' the switch button on the development board to turn off.</p>
<p>[[File:media/image446.png|444x98px]]</p></li>
=== How to install ZFS ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''Note Before installing zfs, please ensure that the Linux desktop system will pop up image used is the confirmation box shown latest version. In addition, if zfs is already installed in the figure below after pressing the buttonssystem, there is no need to install it again. You '''</big>|}Before installing zfs, you need to click install the Shut Down option kernel header file first. '''For the method of installing the kernel header file''', please refer to shut downthe instructions in the section on the method of installing the kernel header file. In Ubuntu20.04, Ubuntu22.04 and Debian11 systems, zfs cannot be installed directly through apt, because the default apt source zfs version is lower than 2.1.6, and there is a problem of incompatibility with rk linux5.10 kernel. This problem is fixed in zfs version 2.1.6 and later. To solve this problem, we provide a zfs deb package that can be installed normally, which can be downloaded from the '''official tool''' of the development board. Open the '''official tool''', and then enter the '''zfs-related deb package folders used by Ubuntu and Debian systems'''. You can see three types of deb packages: Ubuntu20.04, Ubuntu22.04 and Debian11. Please download the required version. <p>[[File:5plus-3.png]]</bigpAfter downloading the zfs deb packages of the corresponding version, please upload them to the Linux system of the development board. For the upload method, please refer to the description in [[Orange Pi 5 Plus#The method of uploading files to the Linux system of the development board|'''the section of the method of uploading files to the Linux system of the development board''']].
[[FileAfter the upload is complete, use the '''cd''' command in the command line of the development board linux system to enter the deb package directory, and then use the following command to install the zfs deb package.{| class="wikitable" style="width:media800px;" |-|orangepi@orangepi:~$ '''sudo apt install ./image447*.png|256x240px]]deb'''
|}
</ol><ol start="3" style="list-style-type: decimal;"><li><p>After shutting downthe installation is complete, press use the switch button on following command to see the development board to turn on.</p><p>[[Filezfs-related kernel modules:media/image446.png|444x98px]]</p></li><li><p>Restart the command of the Linux system.</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''sudols /lib/modules/5.10.110-rockchip-rk3588/updates/dkms/icp.ko spl.ko zavl.ko zcommon.ko zfs.ko zlua.ko znvpair.ko zunicode.ko zzstd.ko''' '''reboot'''</p>
|}
</li></ol>
<span id="ubuntu22.04-gnome-wayland-desktop-Then restart the Linux system-instructions"></span> = '''Ubuntu22.04 Gnome Wayland Desktop system instructions''' =to see that the zfs kernel module will be automatically loaded:
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>orangepi@orangepi:~$ '''ubuntu22.04 gnome image default pre -installed PanFork Mesa user space library, pre -installed Kodi player and Chromium browser support hard solution video.lsmod | grep "zfs"''' zfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2801664 &nbsp;&nbsp;&nbsp; 0 zunicode &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 327680 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs zzstd &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 471040 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs zlua &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 139264 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs zcommon &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 69632 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs znvpair &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 61440 &nbsp;&nbsp;&nbsp; 2 &nbsp; zfs,zcommon zavl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16384 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs icp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 221184 &nbsp;&nbsp;&nbsp; 1 &nbsp; zfs
'''It should be noted that this image needs to be used under Wayland. If you need to use X11spl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 77824 &nbsp;&nbsp;&nbsp; 6 &nbsp; zfs, select the XFCE type image.'''</big>icp,zzstd,znvpair,zcommon,zavl
|}
<span id="ubuntu22In Debian12, the default version of zfs is 2.04-gnome-desktop-1.11, so we can install zfs directly through the following command. Again, please make sure that the system-adaptation-situation"></span>== Ubuntu22has installed the deb package of the kernel header file before installation.04 GNOME desktop system adaptation situation ==
{| class="wikitable" style="width:800px;"
|-
| style="text-alignorangepi@orangepi: left;"| ~$ '''Functionsudo apt install -y zfsutils-linux zfs-dkms'''| } === Methods of creating ZFS pools ==={| class="wikitable" style="textbackground-aligncolor:#ffffdc;width: left800px;"| '''Ubuntu22.04 Gnome Wayland'''
|-
| style="text-align: left;"<big>'''ZFS is based on storage pools, we can add multiple physical storage devices to the pool, and then allocate storage space from this pool.''' '''The following content is demonstrated based on the development board connected to an NVMe SSD and a USB flash drive.'''</big>| } 1) First, we can use the '''HDMI TX1videolsblk'''command to view all storage devices on the development board. The current development board is connected to an NVMe SSD and a U disk. The output is as follows: <p>[[File:5plus-4.png]]</p> 2) Then enter the following command to create a ZFS pool, including two storage devices, NVMe SSD and U disk {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="textorangepi@orangepi:~$ '''sudo zpool create -alignf pool1 /dev/nvme0n1 /dev/sda'''|} 3) Then use the '''zpool list''' command to see that the system has created a ZFS pool named '''pool1''', and the size of the ZFS pool pool1 is the size of the NVME SSD plus the size of the U disk <p>[[File: left;"| 5plus-5.png]]</p> 4) Then execute '''df -h''' to see that '''pool1''' is mounted to the '''HDMI TX1 Audio/pool1'''directory {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="textorangepi@orangepi:~$ '''df -align: lefth''' <br>Filesystem &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size &nbsp;&nbsp;&nbsp; Used Avail Use% Mounted on <br>tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.6G &nbsp;&nbsp;&nbsp; 18M 1.6G 2% /run <br>/dev/mmcblk0p2 &nbsp;&nbsp;&nbsp; 29G &nbsp;&nbsp;&nbsp; 6.0G 22G 22% / <br>tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7.7G &nbsp;&nbsp;&nbsp; 46M 7.7G 1% /dev/shm <br>tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.0M &nbsp;&nbsp;&nbsp; 4.0K 5.0M 1% /run/lock <br>tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7.7G &nbsp;&nbsp;&nbsp; 944K 7.7G 1% /tmp <br>/dev/mmcblk0p1 &nbsp;&nbsp;&nbsp; 1022M &nbsp;&nbsp;&nbsp; 115M 908M 12% /boot <br>/dev/zram1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 188M &nbsp;&nbsp;&nbsp; 4.5M 169M 3% /var/log <br>tmpfs &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.6G &nbsp;&nbsp;&nbsp;"| 80K 1.6G 1% /run/user/1000 <br>'''HDMI TX2 videopool1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 489G &nbsp;&nbsp;&nbsp; 9.3M 489G 1% /pool1'''<br>|}5) Use the following command to see that the file system type of pool1 is zfs {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="text-alignorangepi@orangepi: left;"~$ '''mount | grep pool1''' pool1 on /pool1 type '''HDMI TX2 Audiozfs'''(rw,xattr,noacl)|}6) Then we can test copying a file to the ZFS pool {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="textorangepi@orangepi:~$ '''sudo cp -align: left;"| v /usr/local/test.mp4 /pool1/''' 'HDMI RX video/usr/local/test.mp4'-> '/pool1/test.mp4'| } === Test the data deduplication function of ZFS ===1) The data deduplication function of ZFS is disabled by default, we need to execute the following command to enable it {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="text-alignorangepi@orangepi: left;"| ~$ '''HDMI RX Audiosudo zfs set dedup=on pool1'''| }2) Then do a simple test, first enter pool1, and then execute the following command to generate a random file with a size of 1G {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="text-alignorangepi@orangepi:~$ '''cd /pool1/ '''<br>root@orangepi: left;"| /pool1$ '''USB2sudo dd if=/dev/urandom of=test.0X21g bs=1M count=1024'''<br>1024+0 records in <br>1024+0 records out <br>1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.04367 s, 213 MB/s <br>| }3) Then use the following command to copy 1000 random files of size 1G {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| styleroot@orangepi:/pool1$ '''for ((i="text-align: left0; i<1000; i++)); do sudo cp test.1g $i.test.1g;"done'''| }4) Then use '''USB3.0X2du -lh''' to see that there are currently 1002G of data in the pool, but in fact the size of the ZFS pool is only '''504GB'''(the total capacity of SSD+U disk), which cannot hold such a large amount of data {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="textroot@orangepi:/pool1$ '''du -align: left;"lh''' 1002G| }5) Then use the '''zpool list'''2command to see that only 1.01G is actually occupied, because these 1001 files are all duplicates, indicating that the data deduplication function is effective.5G PCIe network port X2 <p>[[File:5plus-6.png]]</p> === Test the data compression function of ZFS === 1) Because the stored data is different, the disk space saved by compression will also be different, so we choose to compress relatively large plain text files for compression testing, and execute the following commands to pack the '''/var/log/''' and '''/etc/'''directories into a tarball {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="text-alignorangepi@orangepi:~$ '''cd /pool1/''' root@orangepi: left;"| /pool1$ '''2sudo tar -cf text.5G PCIe network port lighttar /var/log/ /etc/'''| style="text}2) Then the file size that can be seen through the '''ls -align: left;"| lh''' command and the space occupied in the ZFS pool are both '''OK27M''' <p>[[File:5plus-7.png]]</p> 3) Then we enable compression in the ZFS pool pool1 {| class="wikitable" style="width:800px;"
|-
| styleroot@orangepi:/pool1$ '''sudo zfs set compression="text-align: left;"lz4 pool1'''| }4) Then execute the following command again to package the '''/var/log/''' and '''Debug serial port/etc/'''directories into a tar package {| class="wikitable" style="text-alignwidth: left800px;"| '''OK'''
|-
| style="root@orangepi:/pool1$ '''sudo tar -cf text-align: left;".tar /var/log/ /etc/'''| }5) At this time, you can see that the size of the '''RTC chiptext.tar'''file is still 27M, but it only occupies 9.47M in the ZFS pool, indicating that the file is compressed <p>[[File:5plus-8.png]]</p> == The method of shutting down and restarting the development board == | <ol style="textlist-style-aligntype: leftdecimal;"| ><li><p>In the process of running the Linux system, if the Type-C power supply is directly out of power, it may cause the file system to lose certain data or damage. Therefore, please use the '''OKpoweroff'''command to turn off the linux system of the development board before power off. Then Unplug the power supply.</p>{| class="wikitable" style="width:800px;"
|-
| style="text-align<p>orangepi@orangepi: left;"~$ '''sudo poweroff'''</p>| }</li><li><p>In addition, the development board is equipped with a switch button, and you can also '''FAN Fan interfaceshort press'''the switch button on the development board to turn off.</p><p>[[File:plus5-img446.png]]</p></li> {| class="wikitable" style="textbackground-aligncolor:#ffffdc;width: left800px;"| '''OK'''
|-
| style="text-align: left;"| <big>'''eMMC Extension portsNote that the Linux desktop system will pop up the confirmation box shown in the figure below after pressing the buttons. You need to click the Shut Down option to shut down.'''</big> [[File:plus5-img447.png| center]]|}</ol><ol start="3" style="textlist-style-aligntype: leftdecimal;"><li><p>After shutting down, press the switch button on the development board to turn on.</p><p>[[File:plus5-img446.png]]</p></li><li><p>Restart the command of the Linux system.</p>{| '''OK'''class="wikitable" style="width:800px;"
|-
| style<p>orangepi@orangepi:~$ '''sudo''' '''reboot'''</p>|}</li></ol> <span id="textubuntu22.04-align: left;gnome-wayland-desktop-system-instructions"| ></span> = '''AP6275P-WIFIUbuntu22.04 Gnome Wayland Desktop system instructions'''= {| class="wikitable" style="textbackground-aligncolor:#ffffdc;width: left800px;"| '''OK'''
|-
| <big>'''ubuntu22.04 gnome image default pre -installed PanFork Mesa user space library, pre -installed Kodi player and Chromium browser support hard solution video.''' '''It should be noted that this image needs to be used under Wayland. If you need to use X11, select the XFCE type image.'''</big>|} <span id="ubuntu22.04-gnome-desktop-system-adaptation-situation"></span>== Ubuntu22.04 GNOME desktop system adaptation situation == {| class="wikitable" style="width:800px;"|-| style="text-align: left;"| '''Function'''| style="text-align: left;"| '''Ubuntu22.04 Gnome Wayland'''|-| style="text-align: left;"| '''HDMI TX1video'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''HDMI TX1 Audio'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''HDMI TX2 video'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''HDMI TX2 Audio'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''HDMI RX video'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''HDMI RX Audio'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''USB2.0X2'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''USB3.0X2'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''2.5G PCIe network port X2'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''2.5G PCIe network port light'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''Debug serial port'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''RTC chip'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''FAN Fan interface'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''eMMC Extension ports'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''AP6275P-WIFI'''| style="text-align: left;"| '''OK'''|-| style="text-align: left;"| '''AP6275P-BT'''
| style="text-align: left;"| '''OK'''
|-
<ol style="list-style-type: lower-alpha;">
<li><p>First open the settings</p>
<p>[[File:media/image448plus5-img448.png|243x181px]]</p></li>
<li><p>Then select about, if the '''Wayland''' description settings displayed by '''Windowing System''' in a column are correct</p>
<p>[[File:media/image449plus5-img449.png|362x303px]]</p></li></ol>
</li>
<li><p>When the '''Log Out''' is out of the system, it will enter the login interface below</p>
<p>[[File:media/image450plus5-img450.png|258x108px]]</p></li>
<li><p>Please click the location shown below before logging in to the system again</p>
<p>[[File:media/image451plus5-img451.png|259x108px]]</p></li>
<li><p>Then select '''Ubuntu on Wayland''' and enter the password login system</p>
<p>[[File:media/image452plus5-img452.png|218x312px]]</p></li></ol>
<span id="switch-the-method-of-default-audio-equipment"></span>
<ol style="list-style-type: decimal;">
<li><p>Open the settings first</p>
<p>[[File:media/image448plus5-img448.png|221x164px]]</p></li>
<li><p>Then select '''Sound''', and then select the audio device you want to use in '''Output Device'''</p>
<p>[[File:media/image453plus5-img453.png|375x314px]]</p></li></ol>
<span id="gpu-test-method"></span>
<p>orangepi@orangepi:~$ '''glmark2'''</p>
|}
<p>[[File:media/image454plus5-img454.png|381x258px]]</p></li>
<li><p>glmark2 running score test is generally more than 1,000 points</p>
<p>[[File:media/image455plus5-img455.png|331x222px]]</p></li>
<li><p>Run '''gpu_load.sh''' script to view the current load of the GPU</p>
{| class="wikitable" style="width:800px;"
<p>orangepi@orangepi:~$ '''gpu_load.sh'''</p>
|}
<p>[[File:media/image456plus5-img456.png|529x281px]]</p></li></ol>
<span id="chromium-browser-hard-solution-to-play-video-test-method"></span>
<ol style="list-style-type: decimal;">
<li><p>First open the chromium browser</p>
<p>[[File:media/image457plus5-img457.png|576x324px]]</p></li>
<li><p>Then enter '''chrome://gpu''' in the Chromium browser to view the support of GPU and video decoding</p>
<p>[[File:media/image458plus5-img458.png|337x197px]]</p></li>
<li><p>Then you can open a video website to play a video file, or enter the following path name player to play a test video file in the browser.</p>
{| class="wikitable" style="width:800px;"
<div class="figure">
[[File:media/image459plus5-img459.png|576x324px|Screenshot from 2023-05-22 15-01-46]]
</div></li></ol>
<ol style="list-style-type: decimal;">
<li><p>First log in the system</p>
<p>[[File:media/image460plus5-img460.png|231x153px]] [[File:media/image461plus5-img461.png|266x118px]]</p></li>
<li><p>When the login system will enter the login interface below</p>
<p>[[File:media/image450plus5-img450.png|258x108px]]</p></li>
<li><p>Then click the location shown in the figure below</p>
<p>[[File:media/image451plus5-img451.png|259x108px]]</p></li>
<li><p>Then select '''Kodi Wayland''', then enter the password login system</p>
<p>[[File:media/image462plus5-img462.png|262x273px]]</p></li>
<li><p>The interface after Kodi is opened is displayed as shown below</p>
<div class="figure">
[[File:media/image463plus5-img463.png|461x259px|Screenshot from 2023-03-03 14-31-20]]
</div></li>
<li><p>Then click Settings</p>
<p>[[File:media/image464plus5-img464.png|343x149px]]</p></li>
<li><p>Then select '''Player'''</p>
<p>[[File:media/image465plus5-img465.png|474x268px]]</p></li>
<li><p>Then select '''Videos''', and then click '''Standard''' in the lower left corner</p>
<p>[[File:media/image466plus5-img466.png|477x268px]]</p></li>
<li><p>After clicking twice, it will be switched to the '''Expert''' mode. The specific display is shown in the figure below</p>
<p>[[File:media/image467plus5-img467.png|441x249px]]</p></li>
<li><p>Then open the '''Allow using DRM PRIME decoder''' in the P'''rocessing''' settings</p>
<p>[[File:media/image468plus5-img468.png|442x250px]]</p></li>
<li><p>Then let's introduce a system's own test video test. You can also upload the video you want to play to the system, and then import and play</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First enter the main interface, then select '''Movies'''</p>
<p>[[File:media/image469plus5-img469.png|424x239px]]</p></li>
<li><p>Then choose '''Add videos...'''</p>
<p>[[File:media/image470plus5-img470.png|429x242px]]</p></li>
<li><p>Then choose '''Browse'''</p>
<p>[[File:media/image471plus5-img471.png|428x270px]]</p></li>
<li><p>Then choose '''Root filesystem'''</p>
<p>[[File:media/image472plus5-img472.png|414x169px]]</p></li>
<li><p>Then choose '''usr'''</p>
<p>[[File:media/image473plus5-img473.png|416x273px]]</p></li>
<li><p>Then choose '''local'''</p>
<p>[[File:media/image474plus5-img474.png|417x274px]]</p></li>
<li><p>Then choose '''OK'''</p>
<p>[[File:media/image475plus5-img475.png|425x278px]]</p></li>
<li><p>Then choose '''OK'''</p>
<p>[[File:media/image476plus5-img476.png|431x273px]]</p></li>
<li><p>Then choose OK</p>
<p>[[File:media/image477plus5-img477.png|454x260px]]</p></li>
<li><p>Then enter the Local folder</p>
<p>[[File:media/image478plus5-img478.png|456x258px]]</p></li>
<li><p>Then you can play '''test.mp4''' test video</p>
<p>[[File:media/image479plus5-img479.png|462x262px]]</p></li></ol>
</li>
<li><p>When playing the video, you can run the '''vpu_debug.sh''' script under the command line (via SSH or serial port). If there is a print output below, it means that there is a hardware to decode the video</p>
</li>
<li><p>Play '''test.mp4''' video file CPU occupation rates of about '''20%~ 30%'''.</p>
<p>[[File:media/image480plus5-img480.png|577x126px]]</p></li></ol>
<span id="ubuntu22.04-gnome-to-install-ros-2-humble"></span>
<div class="figure">
[[File:media/image481plus5-img481.png|576x324px|Screenshot from 2023-05-22 15-17-44]]
</div></li>
<ol style="list-style-type: decimal;">
<li><p>Open the settings first</p>
<p>[[File:media/image448plus5-img448.png|243x181px]]</p></li>
<li><p>Then find the '''Region &amp; Language''' option, and then click '''Manage Installed Languages''' options</p>
<p>[[File:media/image482plus5-img482.png|576x352px]]</p></li>
<li><p>Then use the left mouse button to select '''<span class="mark">Chinese (China)</span>''' and hold it down, and then drag it up to the beginning. The display after the dragging is shown in the figure below:</p>
<p>[[File:media/image483plus5-img483.png|575x428px]]</p></li>
<li><p>Then select the '''Apply System-Wide''' to apply the Chinese settings to the entire system</p>
<p>[[File:media/image484plus5-img484.png|576x427px]]</p></li>
<li><p>'''<span style="color:#FF0000">Then restart the linux system to make the configuration effective</span>'''</p></li>
<li><p>After re -entering the system, please choose not to '''<span class="mark">ask me again</span>''' at the interface below, and then determine whether the standard folder should be updated to Chinese according to your preference</p>
<p>[[File:media/image485plus5-img485.png|340x276px]]</p></li>
<li><p>Then you can see that the desktop is displayed as Chinese</p>
<div class="figure">
[[File:media/image486plus5-img486.png|576x324px|截图 2023-03-08 09-34-07]]
</div></li>
<li><p>Then open the Fcitx5 configuration program</p>
<p>[[File:media/image487plus5-img487.png|576x326px]]</p></li>
<li><p>Then choose to use Pinyin input method</p>
<div class="figure">
[[File:media/image488.jpeg|576x429px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-6img488.jpg未标题-6png]]
</div></li>
<li><p>The interface after selecting is shown below, then click OK</p>
<p>[[File:media/image489plus5-img489.png|504x373px]]</p></li>
<li><p>Then we can open the Chinese input method of '''Geany''' test, and the way to open is shown in the figure below</p>
<p>[[File:media/image490plus5-img490.png|575x325px]]</p></li>
<li><p>After opening '''Geany''', the default is an English input method. We can switch into Chinese input method through the '''Ctrl+Space''' shortcut keys, and then we can enter Chinese</p>
<p>[[File:media/image491plus5-img491.png|576x364px]]</p></li></ol>
<span id="orange-pi-os-arch-system-use-instructions"></span>
'''(PCIE+USB Port)'''
| [[File:media/image230plus5-img230.png]]
| '''Debian'''
'''(PCIE+USB Port)'''
| [[File:media%20/image231plus5-img231.png]]
| '''Debian'''
'''(PCIE+USB Port)'''
| [[File:media/image232plus5-img232.png]]
| '''Debian'''
'''OPi OS Droid'''
|}
 
::{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''Pay attention to RTL8852BE, please do not buy the module shown in the figure below, there will be problems after testing.'''</big>
 
[[File:plus5-img232-10.png|center]]
|}
<ol start="2" style="list-style-type: decimal;">
<li><p>Then insert the WiFi module into the M.2 E-Key interface of the development board and fix it</p>
<p>[[File:media/image233plus5-img233.png|403x181px]]</p></li><li><p>Then open the configuration of If everything is normal after the WIFI module in the OPi OS Arch systemstarts, and use the steps are shown below:</p><ol style="list-style-type: lower-alpha;"><li><p>First add a line configuration following command to see the &gt; '''/boot/extlinux/extlinux.conf'''.WIFI device nodea</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p><p>LABEL Orange Pi</p><p>LINUX /Image</p><p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p><p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-wifi-pcie.dtbo #What needs to be added</span>ip a'''</p>|}</li><li><p>'''<span style="color:#FF0000">Then restart the OPi OS Arch system</span>'''</p></li></ol></li><li><p>If everything is normal after restarting the system, you can see the WiFi device node with the following command. If you can't see it, please check if there is a problem with the previous configuration.</p>{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''ip addr show wlan0'''</p><p>......</p><p>4: '''wlan0''': &lt;<BROADCAST,MULTICAST,UP,LOWER_UP&gt; > mtu 1500 qdisc noqueue state UP group default qlen 1000</p> :<p>link/ether 38:7a:0e:e3:80:05 brd ff:ff:ff:ff:ff:ff</p> :<p>inet 192.168.1.237/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0</p> ::<p>valid_lft 42938sec preferred_lft 42938sec</p> :<p>inet6 fe80::a098:5942:16e:e817/64 scope link noprefixroute</p> ::<p>valid_lft forever preferred_lft forever</p>
|}
</li>
<ol style="list-style-type: lower-alpha;">
<li><p>First click the area in the upper right corner of the desktop</p>
<p>[[File:media/image492plus5-img492.png|252x160px]]</p></li>
<li><p>Then choose Wi-Fi</p>
<p>[[File:media/image493plus5-img493.png|337x215px]]</p></li>
<li><p>Then select the WIFI you want to connect</p>
<p>[[File:media/image494plus5-img494.png|466x249px]]</p></li>
<li><p>Then enter the password of the wifi, and click '''Connect'''</p>
<p>[[File:media/image495plus5-img495.png|284x188px]]</p></li>
<li><p>Then enter the following interface to see the wifi connection</p>
<p>[[File:media/image496plus5-img496.png|544x383px]]</p></li></ol>
</li>
<li><p>Example of Bluetooth use:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First click the area in the upper right corner of the desktop</p>
<p>[[File:media/image492plus5-img492.png|272x173px]]</p></li>
<li><p>Then open the settings</p>
<p>[[File:media/image497plus5-img497.png|288x238px]]</p></li><li><p>Then select Bluetooth in the settings, and make sure that the &gt; switch button in the upper right corner of the Bluetooth is &gt; opened</p><p>[[File:media/image498plus5-img498.png|457x301px]]</p></li><li><p>Then choose the Bluetooth device you want to configure the &gt; right, such as pairing with Android phones</p><p>[[File:media/image499plus5-img499.png|451x296px]]</p></li><li><p>Then click '''Confirm''', the mobile phone also needs to confirm &gt; the pairing</p><p>[[File:media/image500plus5-img500.png|221x142px]]</p></li>
<li><p>The display of the Bluetooth and Android phone is shown below:</p>
<p>[[File:media/image501plus5-img501.png|451x296px]]</p></li><li><p>Then click the paired Bluetooth device to pop up the operating &gt; interface shown in the figure below</p><p>[[File:media/image502plus5-img502.png|480x315px]]</p></li><li><p>Click '''Send Files...'''you can send a file to the phone</p></li>
[[File:media/image503plus5-img503.png|525x297px]]
</ol>
<ol style="list-style-type: lower-roman;">
<li><p>The schematic diagram of the Bluetooth sent pictures to the phone is &gt; shown below:</p>
<div class="figure">
[[File:media/image504plus5-img504.png|576x324px|Screenshot from 2023-04-21 04-17-07]]
</div></li></ol>
<ol style="list-style-type: lower-alpha;">
<li><p>10.1 -inch MIPI LCD display+touch screen (common to OPI5/OPI5B)</p>
<p>[[File:media/image417plus5-img417.png|308x237px]]</p></li>
<li><p>Screen divert+31pin to 40pin exhaust</p>
<div class="figure">
[[File:media/image418plus5-img418.png|160x139px|DD9A8F44-0D8F-4f06-9473-B539DEED850C]]
</div></li>
<div class="figure">
[[File:media/image419plus5-img419.png|421x39px|C2164119-6EC3-49ae-9A95-BE323F51FAE1]]
</div></li>
<li><p>12pin touch screen line</p>
<p>[[File:media/image420plus5-img420.png|300x44px]]</p></li></ol>
</li>
<li><p>According to the figure below, the 12PIN touch screen row, 31PIN to 40Pin line, and 30Pin MIPI cables get on the screen dial board. Pay attention to '''<span style="color:#FF0000">the blue insulation of the touch screen row line face to down</span>'''. If an error is connected, it will cause no display or unable to touch..</p><p>[[File:media/image421plus5-img421.png|574x142px]]</p></li><li><p>Place the connected rotor connected to the puzzle on the MIPI LCD screen according to the figure below, and connect the MIPI LCD screen and the rotary board through 31PIN to 40Pin row</p></li></ol> [[File:media/image422.png|382x563px]]
[[File:plus5-img422.png]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>Then connect the touch screen and the rotor board through the 12PIN touch screen line, pay attention to the orientation of the insulating surface</p>
<p>[[File:media/image423plus5-img423.png|246x156px]]</p></li>
<li><p>Finally connect to the LCD interface of the development board through the 30PIN MIPI duct.</p>
<p>[[File:media/image424plus5-img424.png|363x202px]]</p>{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Note that the touch interface below is not used for the LCD MIPI screen. It is currently a spare interface and cannot be used.'''</p></big> <p>[[File:media/image425plus5-img425.png|334x70pxcenter]]</p>|}</li></ol>
<span id="how-to-open-10.1--inch-mipi-lcd-screen-configuration"></span>
 
=== How to open 10.1 -inch MIPI LCD screen configuration ===
<ol style="list-style-type: decimal;">
<li><p>The position of the interface of the MIPI LCD screen on the development board is shown in the figure below</p>
<p>[[File:media/image426plus5-img426.png|575x103px]]</p></li>
<li><p>OPi OS Arch image default is not to open the mipi lcd screen configuration. If you need to use the mipi lcd screen, you need to open it manually. The method of opening the mipi lcd configuration is shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration &gt; in'''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-opi5plus-lcd.dtbo #The configuration that needs to be added</span>'''</p>|}</li><li><p>'''<span style="color:#FF0000">Then restart the OPi OS Arch system</span>'''</p></li></ol>
</li>
<li><p>After restarting, you can see the display of the LCD screen as shown below (default vertical screen):</p></li></ol>
[[File:media/image505plus5-img505.png|162x242px]]</ol><span id="method-of-rotating-display-and-touch-direction"></span>
<span id="method-of-rotating-display-and-touch-direction"></span>
=== Method of rotating display and touch direction ===
<ol style="list-style-type: decimal;">
<li><p>First click the area in the upper right corner of the desktop</p>
<p>[[File:media/image492plus5-img492.png|193x123px]]</p></li>
<li><p>Then open the settings</p>
<p>[[File:media/image497plus5-img497.png|193x159px]]</p></li>
<li><p>Then choose '''Displays'''</p>
<p>[[File:media/image506plus5-img506.png|424x279px]]</p></li>
<li><p>Then select the direction you want to rotate in the '''Orientation''' of '''Displays'''</p>
<p>[[File:media/image507plus5-img507.png|426x282px]]</p></li>
<li><p>Then choose '''Apply'''</p>
<p>[[File:media/image508plus5-img508.png|425x282px]]</p></li>
<li><p>Then you can see that the screen has been rotated. At this time, you need to choose '''Keep Changes''' to determine the rotation</p>
<p>[[File:media/image509plus5-img509.png|259x130px]]</p></li>
<li><p>The display of the LCD screen after 90 degrees is shown below:</p>
<p>[[File:media/image510plus5-img510.png|359x229px]]</p></li>
<li><p>'''The touch function of the OPi OS Arch system LCD screen will rotate with the rotation of the display direction without other settings.'''</p></li></ol>
<ol style="list-style-type: lower-alpha;">
<li><p>OV13850 camera of 13 million MIPI interface</p>
<p>[[File:media/image23plus5-img23.png|215x121px]]</p></li>
<li><p>13 million MIPI interface OV13855 camera</p>
<p>[[File:media/image24plus5-img24.png|189x112px]]</p></li></ol><p>The rotary board used by OV13850 and OV13855 cameras is the same as the FPC cable, but the two cameras are different from the position on the rotary board. The FPC lines are shown in the figure below. Please note that the FPC line is directed. It is marked that the '''TO MB''' must be inserted into the camera interface of the development board. It is marked that the end of '''TO CAMERA''' needs to be inserted on the camera transfer board。board</p></li></ol>
[[File:media/image436plus5-img436.png|370x77px]]
There are a total of 3 cameras on the camera to connect to the board, which can only be used at the same time, as shown in the figure below, of which:
<li><p>'''No. 1 interface is connected to the OV13850 camera'''</p></li>
<li><p>'''No. 2 interface connected OV13855 camera'''</p></li>
<li><p>No. 3 interface is not used, just ignore it.</p></li></ol> [[File:media/image437.png|288x172px]]
[[File:plus5-img437.png]]
</ol>
Orange Pi 5 Plus development board has a total of 1 camera interface, which is shown below:
[[File:media/image438plus5-img438.png|367x85px]]
The method of the camera inserted on the development board interface is shown below:
[[File:media/image439plus5-img439.png|332x154px]]
After connecting the camera to the development board, we can use the following method to test the next camera:
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration in &gt; '''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-opi5plus-ov13850.dtbo</span>'''</p>|}<p>The red font demonstrates the configuration of the camera interface '''ov13850'''. The other configurations are shown in the table below, and the corresponding DTBO configuration can be added behind '''<span style="color:#FF0000">FDTOVERLAYS</span>'''.</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''Camera'''
| style="text-align: left;"| '''/dtbs/rockchip/overlay/rk3588-opi5plus-ov13855.dtbo'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>'''<span style="color:#FF0000">Then restart the OPi OS Arch system</span>'''</p></li>
<li><p>Then open a terminal in the desktop system and run the script below</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~$ '''test_camera.sh'''</p>|}</li>
<li><p>Then you can see the preview of the camera</p>
<div class="figure">
[[File:media/image511plus5-img511.png|576x324px|Screenshot from 2023-04-20 17-16-08]]
</div></li></ol>
<span id="set-the-chinese-environment-and-the-method-of-installing-the-chinese-input-method-1"></span>
 
== Set the Chinese environment and the method of installing the Chinese input method ==
<ol style="list-style-type: decimal;">
<li><p>First click the area in the upper right corner of the desktop</p>
<p>[[File:media/image492plus5-img492.png|217x138px]]</p></li>
<li><p>Then open the settings</p>
<p>[[File:media/image512plus5-img512.png|259x196px]]</p></li>
<li><p>Then find the '''Region &amp; Language''' option</p>
<p>[[File:media/image513plus5-img513.png|394x260px]]</p></li>
<li><p>Then choose '''Language'''</p>
<p>[[File:media/image514plus5-img514.png|401x264px]]</p></li>
<li><p>Then select Chinese</p>
<p>[[File:media/image515plus5-img515.png|443x290px]]</p></li>
<li><p>then click '''Select'''</p>
<p>[[File:media/image516plus5-img516.png|443x292px]]</p></li>
<li><p>Then click '''Logout...''' log in to the system, and then log in to the system</p>
<p>[[File:media/image517plus5-img517.png|395x260px]]</p></li>
<li><p>Then you can see that the desktop is displayed as Chinese</p>
<div class="figure">
[[File:media/image518plus5-img518.png|498x280px|截图 2023-04-20 20-20-06]]
</div></li>
<li><p>Then install '''fcitx-im''' and '''fcitx-configtool'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo pacman -S fcitx-im fcitx-configtool'''</p>
<p>:: There are 3 members in the group fcitx-im:</p>
<p>:: Software warehouse Community</p>
:<p>1) fcitx 2) fcitx-qt5 3) fcitx-qt6</p>  <p>Enter a selection (default = all selected): '''1'''</p>|}</li>
<li><p>Then open the Fcitx configuration program</p>
<p>[[File:media/image519plus5-img519.png|395x223px]]</p><p>[[File:media/image520plus5-img520.png|396x223px]]</p></li>
<li><p>Then add '''<span class="mark">Google Pinyin</span>''' input method</p>
<p>[[File:media/image521plus5-img521.png|248x228px]]</p><p>[[File:media/image522plus5-img522.png|372x252px]]</p></li>
<li><p>Then we can open a terminal test in the Chinese input method. After opening the terminal, if the English input method is still in English, we can switch to the Chinese input method through the '''Ctrl+Space''' shortcut keys, and then you can enter Chinese</p>
<div class="figure">
[[File:media/image523plus5-img523.png|459x258px|截图 2023-04-20 20-38-24]]
</div></li></ol>
<span id="hdmi-in-test-method-1"></span>
 
== HDMI IN test method ==
<ol start="61" style="list-style-type: decimal;">
<li><p>The position of the development board HDMI In interface is shown below:</p>
<p>[[File:media/image265plus5-img265.png|351x112px]]</p></li>
<li><p>First use the HDMI to HDMI line shown below to output the HDMI output of other devices to the HDMI In interface of the development board</p>
<p>[[File:media/image11plus5-img11.png|199x129px]]</p></li>
<li><p>The OPi OS Arch system HDMI in function is closed by default, and the opening method is shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration in &gt; '''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-hdmirx.dtbo #The configuration that needs to be added</span>'''</p>|}</li><li><p>'''<span style="color:#FF0000">Then restart the OPi OS Arch system</span>'''</p></li></ol>
</li>
<li><p>After restarting into the system, open a terminal on the desktop, and then run the '''test_hdmiin.sh''' script</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''test_hdmiin.sh'''</p>|}</li>
<li><p>Then you can see the input screen of the HDMI in (the HDMI in in the figure below shows the screen of the OPI5 development board HDMI output, and it is playing a video at this time). '''test_hdmiin.sh''' script defaults to the audio entered by HDMI in to the HDMI_TX1, HDMI_TX2 and ES8388 (representing speakers or headphones) of the development board.</p>
<p>[[File:media/image524plus5-img524.png|576x326px]]</p></li><li><p>In addition to testing HDMI IN using '''test_hdmiin.sh''', we can also use '''Qt V4L2 test Utility''' to test HDMI in video ('''<span style="color:#FF0000">this method cannot test audio at present</span>'''). The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Enter the application list first</p>
<p>[[File:media/image525plus5-img525.png|356x200px]]</p></li>
<li><p>Then find '''Qt V4L2 test Utility''' and open it</p>
<p>[[File:media/image526plus5-img526.png|367x205px]]</p></li><li><p>Then make sure '''Qt V4L2 test Utility''' recognizes the HDMI In &gt; device</p><p>[[File:media/image527plus5-img527.png|508x185px]]</p></li><li><p>Then click the location shown in the figure below to see the &gt; video entered by HDMI In</p><p>[[File:media/image528plus5-img528.png|508x359px]]</p></li>
<li><p>The video window entered by HDMI In is shown below:</p>
<div class="figure">
[[File:media/image529plus5-img529.png|572x322px|Screenshot from 2023-05-22 18-12-56]]
</div></li></ol>
<span id="how-to-install-wiringop-1"></span>
 
== How to install wiringOP ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that Wiringop has been pre -installed in the OPI OS Arch image released by Orange PI. Unless Wiringop's code is updated, it is not necessary to re -download and compile and install it,just use it directly.'''
'''After entering the system, you can run the gpio readall command. If you can see the output below, it means that wiringOP is pre -installed and can be used normally'''</big>
[[File:media/image530plus5-img530.png|434x308px]]
<big>'''wiringOP is currently adapted to set the GPIO port input output, set the GPIO port output high and low level, and set the function of pulling and down resistance. It is impossible to use functions like hardware PWM.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>Download the code of wiringOP</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo pacman -Syy git'''</p>
<p>[orangepi@orangepi ~]$ '''git clone https://github.com/orangepi-xunlong/wiringOP.git -b next'''</p>
|} {| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Note that Orange Pi 5 Plus needs to download the code of the wiringOP next branch, please don't miss the parameter of -b next。next.'''</p><p>'''If you have a problem with the download code from github, you can download the source code compression package of wiringOp.tar.gz in the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html '''official tools of the Orange Pi 5 Plus data download page''']'''</p></big> <p>[[File:media/image531plus5-img531.png|356x88pxcenter]]</p>|}</li>
<li><p>Compile and install wiringOP</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo pacman -Syy make gcc'''</p>
<p>[orangepi@orangepi ~]$ '''cd wiringOP'''</p>
<p>[orangepi@orangepi wiringOP]$ '''sudo ./build clean'''</p>
<p>[orangepi@orangepi wiringOP]$ '''sudo ./build'''</p>|}</li>
<li><p>Test the output of the GPIO Readall command as follows</p>
<p>[[File:media/image530plus5-img530.png|568x403px]]</p></li></ol>
<span id="pin-interface-gpio-i2c-uart-spi-can-and-pwm-test-1"></span>
 
== 40 PIN interface GPIO, I2C, UART, SPI, CAN and PWM test ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that if you need to set FDT Overlays to open multiple configurations at the same time, please use a space to write in a line like the red font configuration below.'''</big>
[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''
FDT /dtbs/rockchip/rk3588s-orangepi-5.dtb
'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-i2c1-m2.dtbo /dtbs/rockchip/overlay/rk3588-uart0-m2.dtbo</span>'''|}
<span id="pin-gpio-port-test-2"></span>
<ol style="list-style-type: decimal;">
<li><p>A total of 28 GPIO ports can be used in the development board 40 PIN. Below is No. 7 pins -corresponding to GPIO1_D6 -corresponding WPI serial number 2 -as an example to demonstrate how to set the high and low level of the GPIO port</p>
<p>[[File:media/image532plus5-img532.png|576x147px]]</p></li>
<li><p>First set the GPIO port as the output mode. The third parameter needs to enter the serial number of the wpi corresponding to the pins</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio mode <span style="color:#FF0000">2 </span> out'''</p>|}</li>
<li><p>Then set the GPIO port output low level. After setting, you can use the value of the voltage of the pins with a multimeter. If it is 0V, it means that the low -power flat is set</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio write 2 <span style="color:#FF0000">0</span>'''</p>|}</li>
<li><p>Then set the GPIO port output high level. After setting, you can use the value of the voltage of the pins with a multimeter. If it is 3.3V, it means that the high -power flat is set to be successful</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio write 2 <span style="color:#FF0000">1</span>'''</p>|}</li></ol>
<!-- --li><p># The setting method of other pins is similar. Just modify the serial number of the wpi serial number as the corresponding serial number.</p></li></ol>
<span id="pin-gpio-port--to--plattering-resistance-setting-method"></span>
 
=== 40 PIN GPIO Port -to -Plattering resistance setting method ===
<ol style="list-style-type: decimal;">
<li><p>Below the No. 7 pin — corresponding to GPIO1_D6 -corresponding WPI serial number 2 -to demonstrate how to set up and down pull -down resistance of the GPIO port</p>
<p>[[File:media/image532plus5-img532.png|576x147px]]</p></li>
<li><p>First of all, you need to set the GPIO port as the input mode. The third parameter needs to enter the serial number of the wpi corresponding to the pins</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio mode <span style="color:#FF0000">2 </span> in'''</p>|}</li>
<li><p>After the setting is set to input mode, execute the following command to set the GPIO port as the pull -down mode</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio mode <span style="color:#FF0000">2 </span> up'''</p>|}</li>
<li><p>Then enter the following command to read the level of the GPIO port. If the level is 1, it means that the drawing mode is successful</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio read <span style="color:#FF0000">2</span>'''</p><p>'''1'''</p>|}</li>
<li><p>Then execute the following command to set the GPIO port as the drop-down mode</p>
{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio mode <span style="color:#FF0000">2 </span> down'''</p>|}</li><li><p>Then enter the command below to read the level of the GPIO port. If the level is 0, it means that the drop -down mode is set successfully</p>{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''gpio read <span style="color:#FF0000">2</span>'''</p><p>'''0'''</p>|}</li></ol>
<span id="pin-spi-test-2"></span>
 
=== 40 PIN SPI test ===
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the figure below, the SPI available for Orange Pi 5 Plus is SPI0 and SPI4</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li><li><p>The corresponding pins corresponding to SPI0 and SPI4 are shown in the table below. SPI4_M1 and SPI4_M2 can only be used at the same time, and they cannot be used at the same time. They are the same SPI4, but they are just getting different pins. Please don't think that they are two different SPI bus。bus.</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
| '''No. 26 pins'''
| '''No. 38 pins'''
| style="text-align: left;"| '''<span style="color:#FF0000">None</span>'''
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>In the Linux system, the SPI in 40 PIN is closed by default, and it needs to be opened manually to use. The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration to the &gt; '''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-spi0-m2-cs0-cs1-spidev.dtbo</span>'''</p>|}<p>The red font demonstrated the configuration of opening the '''<span class="mark">SPI0-M2 and using the CS0 and CS1 pin</span>'''. The other configurations are shown in the table below, and the corresponding dtbo configuration can be added to '''<span style="color:#FF0000">FDTOVERLAYS</span>'''</p></li></ol></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''SPI bus'''
| style="text-align: left;"| '''/dtbs/rockchip/overlay/rk3588-spi4-m2-cs0-spidev.dtbo'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then '''<span style="color:#FF0000">Then restart the OPi OS Arch system</span>'''</li></ol></li></ol>
<!-- -->
<ol start="4" style="list-style-type: decimal;">
<li><p>After the restart, enter the system first to check whether there is a '''spidevx.x''' device node in the Linux system. If it exists, it means that the SPI has been set and can be used directly</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''ls /dev/spidev*'''</p>
<p>/dev/spidev0.0 /dev/spidev0.1 /dev/spidev4.0 /dev/spidev4.1</p>
|}{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''The above is the result displayed after opening the spi0-m2-cs0-cs1-spidev and spi4-m1-cs0-cs1-spidev'''</p></big>|}</li>
<li><p>Then do not connect the SPI0 or SPI4 MOSI and MISO pins, and run the output result of the spidev_teest as shown below. You can see that the data of TX and RX are inconsistent</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo spidev_test -v -D /dev/spidev4.0'''</p>
<p>'''Or'''</p>
<p>bits per word: 8</p>
<p>max speed: 500000 Hz (500 KHz)</p>
<p>TX | FF FF FF FF FF FF '''<span style="color:#FF0000">40 00 00 00 00 95</span>''' FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@.…▒..................▒.</p><p>RX | FF FF FF FF FF FF '''<span style="color:#FF0000">FF FF FF FF FF FF</span>''' FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF | ............................….</p>|}</li>
<li><p>Then the output of spidev_test, which is then connected to SPI0 or SPI4 MOSI and MISO, is as follows. You can see that the sending and receiving data can be seen, indicating that the SPI loop test is normal</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo spidev_test -v -D /dev/spidev4.0'''</p>
<p>'''Or'''</p>
<p>bits per word: 8</p>
<p>max speed: 500000 Hz (500 KHz)</p>
<p>TX | FF FF FF FF FF FF '''<span style="color:#FF0000">40 00 00 00 00 95</span>''' FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@.…▒..................▒.</p><p>RX | FF FF FF FF FF FF '''<span style="color:#FF0000">40 00 00 00 00 95</span>''' FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@.…▒..................▒.</p>|}</li></ol>
<span id="pin-i2c-test-2"></span>
 
=== 40 pin I2C test ===
<ol style="list-style-type: decimal;">
<li><p>From the table below, the I2C available for Orange Pi 5 Plus is I2C2, I2C4, I2C5, and I2C8. There are four groups of I2C bus</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li><li><p>The corresponding pins corresponding to the 4 group I2C bus are shown below. I2C2_M0 and I2C2_M4 can only be used at the same time, and they cannot be used at the same time. They are the same I2C2, but they only receive different pins. Please don't think that they are two different I2C2 bus</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''I2C bus'''
| style="text-align: left;"| '''No. 7 pin'''
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>In the Linux system, the I2C bus in 40 PIN is closed by default, and it needs to be opened manually to use. The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration in &gt; '''/boot/extlinux/extlinux.conf'''.</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-i2c2-m0.dtbo</span>'''</p>|}<p>The red font on the above demonstrates the configuration of the '''i2c2-m0'''. The other configurations are shown in the table below, and the corresponding dtbo configuration can be added behind '''<span style="color:#FF0000">FDTOVERLAYS</span>'''</p></li></ol></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''I2C bus'''
| style="text-align: left;"| '''/dtbs/rockchip/overlay/rk3588-i2c8-m2.dtbo'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then restart the '''<span style="color:#FF0000">OPi OS Arch</span>''' system</li></ol></li></ol>
<!-- -->
<ol start="4" style="list-style-type: decimal;">
<li><p>After starting the linux system, first confirm that there is a device node that needs to be used under the'''/dev'''</p>{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~$ '''ls /dev/i2c-*'''</p>|}</li>
<li><p>Then connect a I2C device on the I2C pin corresponding to the 40 PIN interface</p></li>
<li><p>Then use the '''i2cdetect -y''' command to detect the address of the connected i2c device, which means that the i2c can be used normally</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo pacman -S i2c-tools''' #First of all, I2C tools</p>
<p>[orangepi@orangepi ~]$ '''sudo i2cdetect -y 2''' #i2c2 test command</p>
<p>[orangepi@orangepi ~]$ '''sudo i2cdetect -y 4''' #i2c4 test command</p>
<p>[orangepi@orangepi ~]$ '''sudo i2cdetect -y 5''' #i2c5 test command</p>
<p>[orangepi@orangepi ~]$ '''sudo i2cdetect -y 8''' #i2c8 test command</p>|}</li></ol>
<span id="pins-uart-test"></span>
 
=== 40 Pin's UART test ===
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the UART available for Orange Pi 5 Plus is UART1, UART3, UART4, UART6, UART7, and UART8. There are 6 sets of UART bus</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>In the Linux system, the UART in 40 pin is closed by default, and it needs to be opened manually to use. The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration to &gt; the'''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-uart1-m1.dtbo</span>'''</p>|}<p>The red font demonstrates the configuration of the '''uart1-m1'''. The other configurations are shown in the table below, and the corresponding dtbo configuration can be added behind '''<span style="color:#FF0000">FDTOVERLAYS</span>'''</p></li></ol></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''UART bus'''
| style="text-align: left;"| '''/dtbs/rockchip/overlay/rk3588-uart8-m1.dtbo'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then '''<span style="color:#FF0000">Then restart the OPI OS Arch system</span>'''</li></ol></li></ol>
<!-- -->
<ol start="3" style="list-style-type: decimal;">
<li><p>After entering the Linux system, first confirm whether there is a device node corresponding to UART under the'''/dev'''</p>{| class="wikitable" style="width:800px;" |-|<p>[orangepi@orangepi ~]$ '''ls /dev/ttyS*'''</p>|}</li><li><p>Then start testing the UART interface, and first use the RX and TX pins of the UART interface to be tested by DuPont</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''UART bus'''
| style="text-align: left;"| '''No. 35 pin'''
|}
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Use the '''gpio serial''' command to test the loop function of the serial port as shown below. If you can see the printed below, it means that the serial port communication is normal (TTYSX needs to be replaced with a node name corresponding to UART, please do not copy it)</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo gpio serial /dev/ttySX'''</p>
<p>[sudo] password for orangepi: #Enter the password here</p>
 
 
<p>Out: 0: -&gt; 0</p>
<p>Out: 1: -&gt; 1</p>
<p>Out: 3: -&gt; 3</p>
<p>Out: 4: -&gt; 4</p>
<p>Out: 5: -&gt; 5^C</p>|}</li></ol>
<span id="pwm-test-method-1"></span>
 
=== PWM test method ===
<ol style="list-style-type: decimal;">
<li><p>From the table below, the PWMs available for Orange Pi 5 Plus include PWM0, PWM1, PWM11, PWM12, PWM13, and PWM14 a total of six PWM</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li><li><p>The corresponding pins of PWM in 40pin are shown below. PWM0_M0 and PWM0_M2, PWM1_M0 and PWM1_M2, PWM14_M0 and PWM14_M2 can only be used at the same time. They cannot be used at the same time. They are the same PWM, but they only get different pins. Please think that they are two different PWM bus</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''PWM bus'''
| style="text-align: left;"| '''No. 7 pin'''
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>In the Linux system, the PWM in 40 PIN is closed by default, and it needs to be opened manually to use. The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration to &gt; the'''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-pwm0-m0.dtbo</span>'''</p>|}<p>The red font demonstrates the configuration of the '''pwm0-m0'''. The other configurations are shown in the table below, and the corresponding dtbo configuration can be added behind '''<span style="color:#FF0000">FDTOVERLAYS</span>'''</p></li></ol></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''PWM bus'''
| style="text-align: left;"| '''/dtbs/rockchip/overlay/rk3588-pwm14-m2.dtbo'''
|}
</ol><ol start="2" style="list-style-type: lower-alpha;"><li>Then '''<span style="color:#FF0000">restart the OPi OS Arch system</span>'''</li></ol></li></ol>
<!-- -->
<ol start="4" style="list-style-type: decimal;">
<li><p>After opening a pwm,In the'''/sys/class/pwm'''/, there will be an additional pwmchipX (x is a specific number). For example, after opening PWM14,viewing'''/sys/class/pwm/'''down Pwmchipx will change from two to three.</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''ls /sys/class/pwm/'''</p>
<p>pwmchip0 pwmchip1 pwmchip2</p>|}</li>
<li><p>Which pwmchip corresponds to pwm14 above? Let's first check out the output of '''ls /sys/class/pwm/ -l''' command, as shown below:</p>
<div class="figure">
[[File:media/image533plus5-img533.png|575x78px|1010iring_001]]
</div></li>
<li><p>Then from the table below, the base address of the PWM14 register is FEBF0020, and then look at the output of the '''ls /sys/class/pwm/ -l''' command. You can see that the link in PWMCHIP2 is connected to Febf0020.PWM, so the PWM14 corresponds to PWMCHIP2</p>
<p>[[File:media/image318plus5-img318.png|575x287px]]</p></li><li><p>Then use the following command to allow the PWM14 to output a 50Hz square wave (please switch to the root user first, and then execute the following command)</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
[root@orangepi ~]# '''echo 0 &gt; /sys/class/pwm/pwmchip2/export'''
[root@orangepi ~]# '''echo 1 &gt; /sys/class/pwm/pwmchip2/pwm0/enable'''
|}
[[File:media/image319plus5-img319.png|575x346px]]</ol>
<ol start="8" style="list-style-type: decimal;">
<li>The other pwm testing methods in the pwm14 demonstration above are similar。similar.</li></ol>
<span id="cans-test-method"></span>
 
=== CAN's test method ===
<ol style="list-style-type: decimal;">
<li><p>As can be seen from the table below, the Canal bus available for Orange Pi 5 Plus is CAN0 and CAN1</p>
<p>[[File:media/image320plus5-img320.png|574x137px]]</p></li>
<li><p>In the Linux system, the Can in 40 PIN is closed by default and needs to be opened manually to use. The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration to &gt; the'''/boot/extlinux/extlinux.conf'''</p>{| class="wikitable" style="width:800px;" |-|
<p>[orangepi@orangepi ~]$ '''sudo vim /boot/extlinux/extlinux.conf'''</p>
<p>LABEL Orange Pi</p>
<p>LINUX /Image</p>
<p>FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb</p>
<p>'''<span style="color:#FF0000">FDTOVERLAYS /dtbs/rockchip/overlay/rk3588-can0-m0.dtbo</span>'''</p>|}<p>The red font demonstrates the configuration of the '''can0-m0'''. The other configurations are shown in the table below, and the corresponding dtbo configuration can be added to '''<span style="color:#FF0000">FDTOVERLAYS</span>'''</p></li></ol></li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''CAN bus'''
| style="text-align: left;"| '''/dtbs/rockchip/overlay/rk3588-can1-m0.dtbo'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then '''<span style="color:#FF0000">restart the OPI OS Arch system</span>'''</li></ol></li></ol>
<!-- -->
<ol start="3" style="list-style-type: decimal;">
<li><p>After entering the Linux system, using the '''sudo ifconfig -a''' command If you can see the CAN device node, it means that the CAN has been opened correctly</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[orangepi@orangepi ~]$ '''sudo pacman -Syy net-tools'''</p>
<p>[orangepi@orangepi ~]$ '''sudo ifconfig -a'''</p>
<p>can0: flags=128&lt;NOARP&gt; mtu 16</p>
::<p>unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)</p>::<p>RX packets 0 bytes 0 (0.0 B)</p>::<p>RX errors 0 dropped 0 overruns 0 frame 0</p>::<p>TX packets 0 bytes 0 (0.0 B)</p>::<p>TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</p>::<p>device interrupt 94</p>  
<p>can1: flags=128&lt;NOARP&gt; mtu 16</p>
::<p>unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)</p>::<p>RX packets 0 bytes 0 (0.0 B)</p>::<p>RX errors 0 dropped 0 overruns 0 frame 0</p>::<p>TX packets 0 bytes 0 (0.0 B)</p>::<p>TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</p>::<p>device interrupt 95</p>|}</li><li><p>The pins corresponding to the Can0 and Can1 are</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
| style="text-align: left;"| '''Corresponding to No. 16 pin in 40pin'''
|}
</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Use Canalyst-II analyzer to test CAN receiving messages, please refer to the content of the one-section of [[Orange Pi 5 Plus#Use the CANalyst-II analyzer to test sending and receiving messages|'''the Canalyst-II analyzer to test receive and send message''']]</li></ol>
<span id="linux-sdkorangepi-build-instructions"></span>
== Compilation system requirements ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''We can cross-compile the Linux image of the development board on the x64 computer, or compile the Linux image of the development board on the Ubuntu22.04 system of the development board, please choose one according to your preference.'''
'''If you use orangepi-build to compile the Linux image in the Ubuntu22.04 system of the development board, please do a good job of cooling (especially when the SSD starts). If the heat dissipation is not done well, it is prone to the error of file system runaway.'''</big>|}
<span id="compile-with-the-ubuntu22.04-system-of-the-development-board"></span>
<ol style="list-style-type: decimal;">
<li><p>The Linux SDK, namely '''orangepi-build''', supports running on the '''<span style="color:#FF0000">Ubuntu 22.04</span>''' of the development board (other systems have not been tested), so before downloading orangepi-build, please first ensure that the Ubuntu version installed on the development board is Ubuntu 22.04. The command to check the Ubuntu version installed on the development board is as follows. If the Release field does not display '''<span style="color:#FF0000">22.04</span>''', it means that the current Ubuntu version does not meet the requirements. Please replace the system before performing the following operations.</p>{| class="wikitable" style="width:800px;" |-|
<p>orangepi@orangepi:~$ '''lsb_release -a'''</p>
<p>No LSB modules are available.</p>
<p>Distributor ID: Ubuntu</p>
<p>Description: Ubuntu 22.04.1 LTS</p>
<p>Release: '''<span style="color:#FF0000">22.04</span>'''</p><p>Codename: jammy</p>|}</li><li><p>'''<span style="color:#FF0000">Since the source codes such as the kernel and U-boot are stored on GitHub, it is very important to ensure that the development board can download codes from GitHub normally when compiling the image.</span>'''</p></li></ol>
<span id="compile-with-x64-ubuntu22.04-computer"></span>
 
=== Compile with x64 Ubuntu22.04 computer ===
<ol style="list-style-type: decimal;">
<li><p>The Linux SDK, '''orangepi-build''', supports running on computers with '''<span style="color:#FF0000">Ubuntu 22.04</span>''' installed, so before downloading orangepi-build, please make sure that the Ubuntu version installed on your computer is Ubuntu 22.04. The command to check the Ubuntu version installed on the computer is as follows. If the Release field does not display '''<span style="color:#FF0000">22.04</span>''', it means that the current Ubuntu version does not meet the requirements. Please replace the system before performing the following operations.</p>{| class="wikitable" style="width:800px;" |-|
<p>test@test:~$ '''lsb_release -a'''</p>
<p>No LSB modules are available.</p>
<p>Distributor ID: Ubuntu</p>
<p>Description: Ubuntu 22.04 LTS</p>
<p>Release: '''<span style="color:#FF0000">22.04</span>'''</p><p>Codename: jammy</p>|}</li>
<li><p>If the computer is installed with Windows system and there is no computer with Ubuntu 22.04 installed, you can consider using '''VirtualBox''' or '''VMware''' to install an Ubuntu 22.04 virtual machine in the Windows system. But please be careful not to compile orangepi-build on the WSL virtual machine, because orangepi-build has not been tested in the WSL virtual machine, so it cannot be guaranteed that orangepi-build can be used normally in WSL.</p></li>
<li><p>The download address of the installation image of Ubuntu 22.04 '''<span style="color:#FF0000">amd64</span>''' version is:</p>{| class="wikitable" style="width:800px;" |-|<p>[https://repo.huaweicloud.com/ubuntu-releases/21.04/ubuntu-21.04-desktop-amd64.iso '''https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/22.04/ubuntu-22.04-desktop-amd64.iso''']</p>
<p>or</p>
<p>'''https://repo.huaweicloud.com/ubuntu-releases/22.04/ubuntu-22.04.1-desktop-amd64.iso'''</p>|}</li>
<li><p>After installing Ubuntu 22.04 on the computer or virtual machine, please set the software source of Ubuntu 22.04 to Tsinghua source, otherwise it is easy to make mistakes due to network reasons when installing the software later</p>
<ol style="list-style-type: lower-alpha;">
<li>For the method of replacing Tsinghua source, please refer to the &gt; instructions on this web page</li></ol></li></ol> [https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ '''https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/''']
{| class="wikitable" style="width:800px;"
|-
|
'''https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>Note that the Ubuntu version needs to be switched to 22.04</p>
<p>[[File:media/image534plus5-img534.png|576x241px]]</p></li><li><p>The content of the '''<span class="mark">/etc/apt/sources.lislist</span>'''t file that &gt; needs to be replaced is</p>{| class="wikitable" style="width:800px;" |-|
<p>test@test:~$ '''sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak'''</p>
<p>test@test:~$ '''sudo vim /etc/apt/sources.list'''</p>
<p>deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse</p>
<p># deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse</p>
 
 
<p># Pre-release software source, not recommended to enable</p>
<p># deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse</p>
<p># deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse</p>|}</li><li><p>After the replacement, you need to update the package information &gt; and make sure there is no error</p>{| class="wikitable" style="width:800px;" |-|<p>test@test:~$ '''sudo apt update'''</p>|}</li><li><p>'''<span style="color:#FF0000">In addition, since the source codes such as the kernel and U-boot &gt; are stored on GitHub, it is very important to ensure that the &gt; computer can download codes from GitHub normally when compiling &gt; the image.</span>'''</p></li></ol></li></ol><span id="get-the-source-code-of-linux-sdk"></span>
<span id="get-the-source-code-of-linux-sdk"></span>
== Get the source code of linux sdk ==
# The linux sdk actually refers to the code of orangepi-build. orangepi-build is modified based on the armbian build system. Using orangepi-build, multiple versions of linux images can be compiled. First download the code of orangepi-build, the command is as follows:
::{| class="wikitable" style="width:800px;" |-|
test@test:~$ '''sudo apt-get update'''
test@test:~$ '''git clone https://github.com/orangepi-xunlong/orangepi-build.git -b next'''
|}::{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that the Orange Pi 5 Plus development board needs to download the source code of the next branch of orangepi-build. The above git clone command needs to specify the branch of the orangepi-build source code as next.'''</big>
<div class="figure">
[[File:media/image535plus5-img535.png|576x298px700px|图片6center]]
</div>
|}::{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Downloading the orangepi-build code through the git clone command does not require entering the user name and password of the github account (the same is true for downloading other codes in this manual), if the Ubuntu PC prompts the user to enter the github account after entering the git clone command The name and password are usually entered incorrectly in the address of the orangepi-build warehouse behind the git clone. Please check the spelling of the command carefully, instead of thinking that we forgot to provide the username and password of the github account.'''</big>|}
<ol start="2" style="list-style-type: decimal;">
<li>The u-boot and linux kernel versions currently used by the development board are as follows</li></ol>
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''branch'''
| style="text-align: left;"| '''linux5.10'''
|}
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''The branch mentioned here is not the same thing as the branch of the orangepi-build source code, please do not confuse it. This branch is mainly used to distinguish different kernel source code versions.'''
'''The branch mentioned here is not the same thing as the branch of the orangepi-build source code, please do not confuse it. This branch is mainly used to distinguish different kernel source code versions.''' '''Currently, the linux5.10 bsp kernel provided by RK is defined as the legacy branch. If the mainline kernel is supported in the future, a current branch will be added.'''</big>|}</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>orangepi-build will contain the following files and folders after downloading</p>
<ol style="list-style-type: lower-alpha;">
<li><p>'''build.sh''': Compile the startup script</p></li>
<li><p>'''external''': Contains the configuration files needed to compile &gt; the image, specific scripts, and the source code of some &gt; programs, etc.</p></li>
<li><p>'''LICENSE''': GPL 2 license file</p></li>
<li><p>'''README.md''': orangepi-build documentation</p></li>
<li><p>'''scripts''': General script for compiling linux images</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''ls'''</p>
<p>'''build.sh external LICENSE README.md scripts'''</p>
|}{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''If you downloaded the code of orangepi-build from github, after downloading, you may find that orangepi-build does not contain the source code of u-boot and linux kernel, nor does u-boot and linux kernel need to use cross-compilation tools Chain, this is normal, because these things are stored in other separate github warehouses or some servers (the addresses will be detailed below). orangepi-build will specify the address of u-boot, linux kernel and cross-compilation toolchain in the script and configuration file. When running orangepi-build, when it finds that there are no such things locally, it will automatically go to the corresponding place to download them.'''</p></big>|}</li></ol>
</li></ol>
<span id="download-the-cross-compilation-toolchain"></span>
 
=== 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 class="figure">
[[File:media/image536plus5-img536.png|575x278px|选区_3961500px]]
</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>
<p>[https{| class="wikitable" style="width://mirrors.tuna.tsinghua.edu.cn/armbian800px;" |-releases/_toolchain/ |'''https://mirrors.tuna.tsinghua.edu.cn/armbian-releases/_toolchain/''']</p>|}</li>
<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 ===
<li><p>The orangepi-build repository does not contain the source code of the linux kernel, u-boot, and cross-compilation toolchain after downloading. The source code of the linux kernel and u-boot is stored in an independent git repository</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The git warehouse where the linux kernel source code is stored &gt; is as follows:</p>{| class="wikitable" style="width:800px;" |-|<p>'''https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-5.10-rk3588'''</p>|}</li><li><p>The git warehouse where the u-boot source code is stored is as &gt; follows:</p>{| class="wikitable" style="width:800px;" |-|<p>'''https://github.com/orangepi-xunlong/u-boot-orangepi/tree/v2017.09-rk3588'''</p>|}</li></ol>
</li>
<li><p>When orangepi-build runs for the first time, it will download the cross-compilation toolchain, 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>
<p>a.'''build.sh''': compile startup script</p><p>b.'''external''': Contains the configuration files needed to compile the image, scripts with specific functions, and the source code of some programs. The rootfs compressed package cached during the image compilation process is also stored in external</p><p>c.'''kerne'''l: stores the source code of the linux kernel. The folder named '''orange-pi-5.10-rk3588''' stores the kernel source code of the legacy branch of the RK3588/RK3588S series development boards. Please do not manually modify the name of the folder of the kernel source code. If it is modified, the kernel source code will be re-downloaded when the compilation system is running</p><p>d.'''LICENSE''': GPL 2 license file</p><p>e.'''README.md''': orangepi-build documentation</p><p>f.'''output''': Store compiled deb packages such as u-boot and linux, compilation logs, and compiled images and other files</p><p>g.'''scripts''': general scripts for compiling linux images</p><p>h. '''.toolchains''': store cross-compilation toolchain</p><p>i.'''u-boot''': Store the source code of u-boot. The folder named '''v2017.09-rk3588''' stores the u-boot source code of the legacy branch of the RK3588/RK3588S series development boards. Please do not name the folder name of the u-boot source code Manual modification, if modified, the u-boot source code will be re-downloaded when the compilation system is running</p><p>j.'''userpatches''': Store configuration files needed to compile scripts</p>{| class="wikitable" style="width:800px;" |-|
<p>test@test:~/orangepi-build$ '''ls'''</p>
<p>'''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'''</p>|}</li></ol>
<span id="compile-u-boot"></span>
 
== Compile u-boot ==
<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 '''<span class="mark">U-boot package</span>''', then press Enter</p>
<div class="figure">
[[File:media/image537plus5-img537.png|576x132px|选区_238]]
</div></li>
<div class="figure">
[[File:media/image538plus5-img538.png|576x289px|6]]
</div></li>
<ol style="list-style-type: lower-alpha;">
<li><p>u-boot source code version</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Compiling u-boot [ '''v2017.09''' ]</p>|}</li>
<li><p>The version of the cross-compilation toolchain</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Compiler version [ '''aarch64-linux-gnu-gcc 7.4.1''' ]</p>|}</li>
<li><p>Path to the generated u-boot deb package</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Target directory [ '''orangepi-build/output/debs/u-boot''' ]</p>|}</li>
<li><p>The package name of the generated u-boot deb package</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] File name [ '''linux-u-boot-legacy-orangepi5plus_1.0.0_arm64.deb''' ]</p>|}</li>
<li><p>Compilation time</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Runtime [ '''1 min''' ]</p>|}</li><li><p>Repeat the command to compile u-boot, use the following command &gt; to start compiling u-boot directly without selecting through &gt; the graphical interface</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Repeat Build Options [ '''sudo ./build.sh BOARD=orangepi5plus BRANCH=legacy BUILD_OPT=u-boot KERNEL_CONFIGURE=no''' ]</p>|}</li></ol>
</li>
<li><p>View the u-boot deb package generated by compilation</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''ls output/debs/u-boot/'''</p>
<p>linux-u-boot-legacy-orangepi5plus_1.0.0_arm64.deb</p>|}</li>
<li><p>The files contained in the generated u-boot deb package are as follows</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Use the following command to decompress the deb package</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''cd output/debs/u-boot'''</p>
<p>test@test:~/orangepi_build/output/debs/u-boot$ $ '''sudo dpkg -x''' \</p>
<p>'''linux-u-boot-legacy-orangepi5plus_1.0.0_arm64.deb . (Note that there is a &quot;.&quot; at the end of the command)'''</p>
<p>test@test:~/orangepi_build/output/debs/u-boot$ '''ls'''</p>
<p>linux-u-boot-legacy-orangepi5plus_1.0.0_arm64.deb '''usr'''</p>|}</li>
<li><p>The decompressed file is as follows</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build/output/debs/u-boot$ '''tree usr'''</p>
<p>usr</p>
<p>└── lib</p>
:<p>├── linux-u-boot-legacy-orangepi5plus_1.0.0_arm64</p>:<p>│   ├── idbloader.img</p>:<p>│   ├── rkspi_loader.img</p>:<p>│   └── u-boot.itb</p>:<p>└── u-boot</p>::<p>├── LICENSE</p>::<p>├── orangepi_5_plus_defconfig</p>::<p>└── platform_install.sh</p>  <p>3 directories, 6 files</p>|}</li></ol></li>
<li><p>When the orangepi-bulid compilation system compiles the u-boot source code, it will first synchronize the u-boot source code with the u-boot source code of the github server, so if you want to modify the u-boot source code, you first need to turn off the download and update function of the source code '''(need This function can only be turned off after u-boot has been fully compiled, otherwise it will prompt that the source code of u-boot cannot be found. If the source code compressed package is downloaded from Google Drive, there is no such problem because the source code of u-boot cached)''', otherwise the changes made will be restored, the method is as follows:</p>
<p>Set the IGNORE_UPDATES variable in <span class="mark">userpatches/config-default.conf</span> to &quot;yes&quot;</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''vim userpatches/config-default.conf'''</p>
<p>IGNORE_UPDATES=&quot;'''<span style="color:#FF0000">yes</span>'''&quot;</p>|}</li>
<li><p>When debugging u-boot code, you can use the following method to update u-boot in the linux image for testing</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Upload the compiled u-boot deb package to the linux system of &gt; the development board</p>{| class="wikitable" style="width:800px;" |-|
<p>test@test:~/orangepi-build$ '''cd output/debs/u-boot'''</p>
<p>test@test:~/orangepi_build/output/debs/u-boot$ '''scp \'''</p>
<p>'''linux-u-boot-legacy-orangepi5plus_1.0.0_arm64.deb [mailto:root@192.168.1.xxx:/root root@192.168.1.xxx:/root]'''</p>|}</li><li><p>Then log in to the development board and uninstall the deb &gt; package of u-boot installed</p>{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''apt purge -y linux-u-boot-orangepi5plus-legacy'''</p>|}</li>
<li><p>Install the new u-boot deb package just uploaded</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''dpkg -i''' '''linux-u-boot-legacy-orangepi5plus_1.0.0_arm64.deb'''</p>|}</li>
<li><p>Then run the nand-sata-install script</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''nand-sata-install'''</p>|}</li>
<li><p>Then select '''<span class="mark">5 Install/Update the bootloader on SD/eMM</span>''' to update the u-boot in the TF card or '''<span class="mark">7 Install/Update the bootloader on SPI Flash</span>''' to update the u-boot in the SPI Flash</p>
<p>[[File:media/image539plus5-img539.png|317x154px]]</p></li>
<li><p>After pressing the Enter key, a Warning will pop up first</p>
<p>[[File:media/image540plus5-img540.png|314x170px]]</p></li><li><p>Press the Enter key again to start updating u-boot, and the &gt; following information will be displayed after the update is &gt; completed</p><p>[[File:media/image541plus5-img541.png|223x125px]]</p></li><li><p>Then you can restart the development board to test whether the &gt; modification of u-boot takes effect</p></li></ol>
</li>
<li><p>Other useful information</p>
<ol style="list-style-type: lower-alpha;">
<li><p>u-boot 2017.09 source code, the defconfig configuration file &gt; used by the development board is</p></li><li><p>{| class="wikitable" style="width:800px;" |-|[https://github.com/orangepi-xunlong/u-boot-orangepi/blob/v2017.09-rk3588/configs/orangepi_5_plus_defconfig '''orangepi-build/u-boot/v2017.09-rk3588/configs/orangepi_5_plus_defconfig''']|}<li><p>u-boot &gt; 2017.09 source code, the dts file used by the development &gt; board is</p></li>{| class="wikitable" style="width:800px;" |-|[https://github.com/orangepi-xunlong/u-boot-orangepi/blob/v2017.09-rk3588/arch/arm/dts/rk3588-orangepi-5-plus.dts '''orangepi-build/u-boot/v2017.09-rk3588/arch/arm/dts/rk3588-orangepi-5-plus.dts''']|}</ol>
</li></ol>
<span id="orangepi-buildu-bootv2017.09-rk3588archarmdtsrk3588-orangepi-5-plus.dtscompile-the-linux-kernel"></span>[https://github.com/orangepi-xunlong/u-boot-orangepi/blob/v2017.09-rk3588/arch/arm/dts/rk3588-orangepi-5-plus.dts '''orangepi-build/u-boot/v2017.09-rk3588/arch/arm/dts/rk3588-orangepi-5-plus.dts'''<span id="_Toc31297" class="anchor"></span>]
== Compile the linux kernel ==
<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 '''<span class="mark">Kernel package</span>''', then press Enter</p>
<div class="figure">
[[File:media/image542plus5-img542.png|575x116px|选区_240]]
</div></li>
<div class="figure">
[[File:media/image538plus5-img538.png|576x289px|6]]
</div></li>
<li><p>Then it will prompt whether to display the kernel configuration interface. If you do not need to modify the kernel configuration, select the first one. If you need to modify the kernel configuration, select the second one.</p>
<p>[[File:media/image543plus5-img543.png|576x87px]]</p></li>
<li><p>If you choose to display the kernel configuration menu (the second option) in step 4), the kernel configuration interface opened by '''<span class="mark">make menuconfig</span>''' will pop up. At this time, you can directly modify the kernel configuration, save and exit after modification. Yes, after exiting, the kernel source code will be compiled</p>
<p>[[File:media/image544plus5-img544.png|575x400px]]</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; '''<span class="mark">KERNEL_CONFIGURE=no</span>''' to temporarily block the pop-up &gt; kernel configuration interface</p>{| class="wikitable" style="width:800px;" |-|<p>test@test:~/orangepi-build$ '''sudo ./build.sh KERNEL_CONFIGURE=no'''</p>|}</li><li><p>You can also set '''<span class="mark">KERNEL_CONFIGURE=no</span>''' in the &gt; '''<span class="mark">orangepi-build/userpatches/config-default.conf</span>''' &gt; configuration file, 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 '''<span class="mark">make menuconfig</span>''' interface. Please &gt; maximize the terminal of the Ubuntu PC and run the build.sh script &gt; again</p><p>[[File:media/image545plus5-img545.png|574x234px]]</p></li></ol>
<!-- -->
<ol style="list-style-type: lower-alpha;">
<li><p>The version of the linux kernel source code</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Compiling current kernel [ '''5.10.110''' ]</p>|}</li>
<li><p>The version of the cross-compilation toolchain used</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Compiler version [ '''aarch64-none-linux-gnu-gcc 11.2.1''' ]</p></li><li><p>The configuration file used by the kernel by default and the &gt; path where it is stored</p><p>[ o.k. ] Using kernel config file [ '''config/kernel/linux-rockchip-rk3588-legacy.config''' ]</p></li><li><p>The path of the deb package related to the kernel generated by &gt; compiling</p><p>[ o.k. ] Target directory [ '''orangepi-build/output/debs/''' ]</p></li><li><p>The package name of the compiled kernel image deb package</p><p>[ o.k. ] File name [ '''linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb''' ]</p></li><li><p>The time used for compilation</p><p>[ o.k. ] Runtime [ '''5 min''' ]</p></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><p>[ o.k. ] Repeat Build Options [ '''sudo ./build.sh BOARD=orangepi5plus BRANCH=legacy BUILD_OPT=kernel KERNEL_CONFIGURE=no''' ]</p></li></ol>|}
</li>
<li><p>View the deb package related to The configuration file used by the kernel generated by compilationdefault and the path where it is stored</p><ol {| class="wikitable" style="list-style-typewidth: lower-alpha800px;"><li><p>'''linux-dtb-legacy|-rockchip-rk3588_1.0.0_arm64.deb''' Contains &gt; dtb files used by the kernel</p></li><li><p>'''linux-headers-legacy-rockchip-rk3588_1.0.0_arm64.deb''' Include &gt; kernel headers</p></li>|<li><p>'''linux-image-legacy-rockchip-rk3588_1[ o.0k.0_arm64.deb''' Contains &gt; ] Using kernel images and kernel modules</p><p>test@test:~/orangepi-build$ config file [ '''ls outputconfig/debs/linux-*'''</p><p>output/debskernel/linux-dtb-legacy-rockchip-rk3588_1.0.0_arm64.deb output/debs/linux-imagerk3588-legacy-rockchip-rk3588_1.0.0_arm64.debconfig''' ]</p><p>output/debs/linux-headers-legacy-rockchip-rk3588_1.0.0_arm64.deb</p></li></ol>|}
</li>
<li><p>The files contained in path of the deb package related to the kernel generated by compiling</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Target directory [ '''orangepi-build/output/debs/''' ]</p>|}</li><li><p>The package name of the compiled kernel image deb package</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] File name [ '''linux-image -legacy-rockchip-rk3588_1.0.0_arm64.deb''' ]</p>|}</li><li><p>The time used for compilation</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Runtime [ '''5 min''' ]</p>|}</li><li><p>Finally, the compilation command to repeatedly compile the kernel selected last time will be displayed. Use the following command to start compiling the kernel source code directly without selecting through the graphical interface</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Repeat Build Options [ '''sudo ./build.sh BOARD=orangepi5plus BRANCH=legacy BUILD_OPT=kernel KERNEL_CONFIGURE=no''' ]</p>|}</li></ol></li><li><p>View the deb package are as followsrelated to the kernel generated by compilation</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Use the following command to decompress '''linux-dtb-legacy-rockchip-rk3588_1.0.0_arm64.deb''' Contains dtb files used by the kernel</p></li><li><p>'''linux-headers-legacy-rockchip-rk3588_1.0.0_arm64.deb''' Include kernel headers</p></li><li><p>'''linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb package''' Contains kernel images and kernel modules</p>{| class="wikitable" style="width:800px;" |-|<p>test@test:~/orangepi-build$ '''cd ls output/debs/linux-*'''</p><p>output/debs/linux-dtb-legacy-rockchip-rk3588_1.0.0_arm64.deb</p> <p>output/debs/linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb</lip><p>output/debs/linux-headers-legacy-rockchip-rk3588_1.0.0_arm64.deb</olp>|}
</li></ol>
</li>
<li><p>The files contained in the generated linux-image deb package are as follows</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Use the following command to decompress the deb package</p></li>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''cd output/debs'''</p>
test@test:~/orangepi_build/output/debs$ '''mkdir test'''
'''boot etc lib''' linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb '''usr'''
|}</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>The decompressed file is as follows</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build/output/debs/test$ '''tree -L 2'''</p>
<p>.</p>
<p>├── linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb</p>
<p>└── usr</p>
:<p>├── lib</p>:<p>└── share</p>|}</li></ol></li></ol>
<!-- -->
<ol start="9" style="list-style-type: decimal;">
<li><p>The orangepi-bulid compilation system will first synchronize the linux kernel source code with the linux kernel source code of the github server when compiling the linux kernel source code, so if you want to modify the linux kernel source code, you first need to turn off the update function of the source code '''(you need to compile it once This function can only be turned off after the linux kernel source code, otherwise it will prompt that the source code of the linux kernel cannot be found. If the source code compressed package downloaded from Google Drive, there is no such problem, because the source code of linux has been cached)''', otherwise the The changes made will be reverted as follows:</p>
<p>Set the IGNORE_UPDATES variable in '''<span class="mark">userpatches/config-default.conf</span>''' to &quot;yes&quot;</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~/orangepi-build$ '''vim userpatches/config-default.conf'''</p>
<p>IGNORE_UPDATES=&quot;'''<span style="color:#FF0000">yes</span>'''&quot;</p>|}</li>
<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;" |-|
<p>test@test:~/orangepi-build$ '''cd output/debs'''</p>
<p>test@test:~/orangepi-build/output/debs$ '''scp \'''</p>
<p>'''linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb root@192.168.1.xxx:/root'''</p>|}</li><li><p>Then log in to the development board and uninstall the deb &gt; package of the installed linux kernel</p>{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''apt purge -y linux-image-legacy-rockchip-rk3588'''</p>|}</li>
<li><p>Install the deb package of the new linux kernel just uploaded</p>
{| class="wikitable" style="width:800px;" |-|<p>root@orangepi:~# '''dpkg -i linux-image-legacy-rockchip-rk3588_1.0.0_arm64.deb'''</p>|}</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;" |-|<p>root@orangepi:~# '''reboot'''</p>|}</li></ol></li></ol> <!-- -->
<ol start="10" style="list-style-type: decimal;">
<li><p>Other useful information</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The storage location of the kernel configuration file is as &gt; follows, please do not go to the kernel source code to find &gt; the kernel configuration file used by the development board</p></li><li><p>{| class="wikitable" style="width:800px;" |-|[https://github.com/orangepi-xunlong/orangepi-build/blob/next/external/config/kernel/linux-rockchip-rk3588-legacy.config '''orangepi-build/external/config/kernel/linux-rockchip-rk3588-legacy.config''']|}<li><p>The &gt; location of the dts file used by the development board is</p></li>{| class="wikitable" style="width:800px;" |-|[https://github.com/orangepi-xunlong/linux-orangepi/blob/orange-pi-5.10-rk3588/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts '''orangepi-build/kernel/orange-pi-5.10-rk3588/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts''']|}</ol>
</li></ol>
<span id="orangepi-buildkernelorange-pi-5.10-rk3588archarm64bootdtsrockchiprk3588-orangepi-5-plus.dtscompile-rootfs"></span> [https://github.com/orangepi-xunlong/linux-orangepi/blob/orange-pi-5.10-rk3588/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts '''orangepi-build/kernel/orange-pi-5.10-rk3588/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts'''<span id="_Toc25559" class="anchor"></span>]
== Compile rootfs ==
<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 '''<span class="mark">Rootfs and all deb packages</span>''', then press Enter</p></li></ol>
<div class="figure">
[[File:media/image546plus5-img546.png|576x119px|选区_241]]
</div></ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then select the model of the development board</p>
<div class="figure">
[[File:media/image538plus5-img538.png|576x289px|6]]
</div></li>
<div class="figure">
[[File:media/image547plus5-img547.png|575x180px|7]]
</div></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 &gt; the server version, which is relatively small</p></li><li><p>'''Image with desktop environment''' Indicates a mirror image with &gt; a desktop, which is relatively large</p>
<div class="figure">
[[File:media/image548plus5-img548.png|576x75px|选区_245]]
</div></li></ol>
<div class="figure">
[[File:media/image549plus5-img549.png|576x78px|选区_397]]
</div></li>
<div class="figure">
[[File:media/image550plus5-img550.png|575x99px|Selection_001]]
</div>
<p>[[File:media/image551plus5-img551.png|576x74px]]</p>
<p>You can then select additional packages that need to be installed. Please press the Enter key to skip directly here.</p>
<p>[[File:media/image552plus5-img552.png|575x264px]]</p></li>
<li><p>Then it will start to compile rootfs, and some of the information prompted during compilation are as follows</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The type of rootfs</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] local not found [ Creating new rootfs cache for '''jammy''']</p>|}</li>
<li><p>The storage path of the compiled rootfs compressed package</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Target directory [ '''external/cache/rootfs''' ]</p>|}</li><li><p>The name of the rootfs compressed package generated by &gt; compilation</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] File name [ '''jammy-xfce-arm64.f930ff6ebbac1a72108a2e100762b18f.tar.lz4''' ]</p>|}</li>
<li><p>The time used for compilation</p>
{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Runtime [ '''13 min''' ]</p>|}</li></ol>
</li>
<li><p>View the rootfs compressed package generated by compilation</p>
<ol style="list-style-type: lower-alpha;">
<li><p>'''jammy-xfce-arm64.f930ff6ebbac1a72108a2e100762b18f.tar.lz4''' is &gt; the rootfs compressed package, the meaning of each field of &gt; the name is</p><ol style="list-style-type: lower-alphanone;"><li><p>a) '''jammy''' indicates the type of linux distribution of rootfs</p></li><li><p>b) '''xfce''' means rootfs is the type of desktop version, if it &gt; is '''cli''', it means the type of server version</p></li><li><p>c) '''arm64''' represents the architecture type of rootfs</p></li><li><p>d) '''f930ff6ebbac1a72108a2e100762b18f''' is the MD5 hash value generated by the package names of all software packages installed by rootfs. As long as the list of software packages installed by rootfs is not modified, this value will not change. The compilation script will use this MD5 hash value to generate Determine whether rootfs needs to be recompiled</p></li></ol>
</li>
<li><p>'''jammy-xfce-arm64.f930ff6ebbac1a72108a2e100762b18f.tar.lz4.list''' &gt; lists the package names of all packages installed by rootfs</p>{| class="wikitable" style="width:800px;" |-|
<p>test@test:~/orangepi-build$ '''ls external/cache/rootfs/'''</p>
<p>'''jammy-xfce-arm64.f930ff6ebbac1a72108a2e100762b18f.tar.lz4'''</p>
<p>jammy-xfce-arm64.f930ff6ebbac1a72108a2e100762b18f.tar.lz4.current</p>
<p>jammy-xfce-arm64.f930ff6ebbac1a72108a2e100762b18f.tar.lz4.list</p>|}</li></ol>
</li>
<li><p>If the required rootfs already exists under '''<span class="mark">external/cache/rootfs</span>''', then compiling rootfs again will directly skip the compilation process and will not restart the compilation. When compiling the image, it will also go to '''<span class="mark">external/cache/rootfs</span>''' to find out whether it has If there is rootfs available in the cache, use it directly, which can save a lot of download and compilation time.</p></li></ol>
<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 '''<span class="mark">Full OS image for flashing</span>''', then press Enter</p></li></ol>
<div class="figure">
[[File:media/image553plus5-img553.png|576x128px|选区_242]]
</div></ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then select the model of the development board</p>
<div class="figure">
[[File:media/image538plus5-img538.png|576x289px|6]]
</div></li>
<div class="figure">
[[File:media/image547plus5-img547.png|575x180px|7]]
</div></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 &gt; the server version, which is relatively small</p></li><li><p>'''Image with desktop environment''' Indicates a image with a &gt; desktop, which is relatively large</p>
<div class="figure">
[[File:media/image548plus5-img548.png|576x75px|选区_245]]
</div></li></ol>
<div class="figure">
[[File:media/image549plus5-img549.png|569x77px|选区_397]]
</div></li>
<div class="figure">
[[File:media/image550plus5-img550.png|575x99px|Selection_001]]
</div>
<p>[[File:media/image551plus5-img551.png|576x74px]]</p>
<p>You can then select additional packages that need to be installed. Please press the Enter key to skip directly here.</p>
<p>[[File:media/image552plus5-img552.png|575x264px]]</p></li>
<li><p>Then it will start to compile the linux image. The general process of compilation is as follows</p>
<p>a. Initialize the compilation environment of Ubuntu PC and install the software packages required for the compilation process</p>
<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/orangepi5plus_1.0.0_debian_bullseye_linux5.10.110_xfce_desktop/orangepi5plus_1.0.0_debian_bullseye_linux5.10.110_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 style="list-style-type: lower-alpha;">
<li><p>Repeat the command to compile the image, and use the following &gt; command to start compiling the image directly without selecting &gt; through the graphical interface</p>{| class="wikitable" style="width:800px;" |-|<p>[ o.k. ] Repeat Build Options [ '''[ sudo ./build.sh BOARD=orangepi5plus BRANCH=legacy BUILD_OPT=image RELEASE=bullseye BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=yes]''' ]</p>|}</li></ol></li></ol>
<span id="linux-development-manual"></span>
<ol style="list-style-type: decimal;">
<li><p>First download the Linux kernel source code of the development board</p>
{| class="wikitable" style="width:800px;" |-|<p>'''orangepi@orangepi:~$ git clone --depth=1 -b orange-pi-5.10-rk3588 https://github.com/orangepi-xunlong/linux-orangepi'''</p></li></ol>|}
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''If you have problems downloading the code from github, you can go to the official tool of the development board to download the compressed kernel source code package, then upload it to the linux system of the development board, and then decompress it.'''</big>
[[File:media/image554plus5-img554.png|223x86px]] [[File:media/image555plus5-img555.png|305x87px]]
<big>'''The command to decompress the compressed kernel source code package is:'''</big>
orangepi@orangepi:~$ '''tar zxf orange-pi-5.10-rk3588.tar.gz'''
orangepi@orangepi:~$ '''mv orange-pi-5.10-rk3588 linux-orangepi'''
<big>'''After decompression, please execute the following command to synchronize the source code with github to ensure that the source code is in the latest state:'''</big>
orangepi@orangepi:~$ '''cd linux-orangepi'''
orangepi@orangepi:~/linux-orangepi$ '''git pull'''
|}</li></ol>
<ol start="2" style="list-style-type: decimal;">
<li><p>Then configure the default kernel configuration</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''cd linux-orangepi'''</p>
<p>orangepi@orangepi:~/linux-orangepi$ '''make rockchip_linux_defconfig'''</p>|}{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| </libig></ol> '''The path of <span class="mark">rockchip_linux_defconfig</span> in the kernel source code is arch/arm64/configs/'''</big>|}</li></ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then compile the kernel source code</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~/linux-orangepi$ '''make -j10'''</p>|}</li>
<li><p>Then install the kernel module</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~/linux-orangepi$ '''sudo make modules_install'''</p>|}{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| </li></olbig> '''The installation path of the kernel module is:/lib/modules'''
'''After executing the sudo make modules_install command, you can see that there will be an additional kernel module folder under /lib/modules/:'''</big>
orangepi@orangepi5plus:~$ '''ls /lib/modules'''
'''<span style="color:#FF0000">5.10.110+</span>''' 5.10.110-rockchip-rk3588|}</li></ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Then install the kernel image and uInitrd</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~/linux-orangepi$ '''sudo make install'''</p></li></ol>|}
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''The installation path of the kernel image and uInitrd is:/boot/'''
'''After executing the sudo make install command, you can see that there will be one more kernel file under /boot/:'''</big>
orangepi@orangepi5plus:~/orange-pi-5.10-rk3588$ '''ls /boot/vmlinuz*'''
'''<span style="color:#FF0000">/boot/vmlinuz-5.10.110+</span>''' /boot/vmlinuz-5.10.110-rockchip-rk3588<br />
<br />
<big>'''The file /boot/Image is actually loaded when the system starts, and Image is a copy of the vmlinuz file'''</big>|}</li></ol>
<ol start="6" style="list-style-type: decimal;">
<li><p>Then install the dtb file into '''/boot/dtb'''</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~/linux-orangepi$ '''sudo make dtbs_install INSTALL_DTBS_PATH=/boot/dtb/'''</p>|}</li>
<li><p>Then restart the Linux system and the newly compiled kernel will be loaded</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''uname -r'''</p>
<p>'''5.10.110+'''</p>|}</li></ol>
<span id="openwrt-system-instructions"></span>
== OpenWRT version ==
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''OpenWRT version'''
<span id="openwrt-adaptation"></span>
 
== OpenWRT Adaptation ==
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''Function'''
<span id="the-first-start-to-expand-rootfs"></span>
 
== The first start to expand rootfs ==
<li><p>When the OpenWRT system is started for the first time, the '''resize-rootfs.sh''' script will be executed to expand the rootfs, and it will automatically restart after the expansion is completed</p></li>
<li><p>After logging in to the system, you can use the '''df -h''' command to view the size of rootfs. If it is consistent with the actual capacity of the storage device (TF card, eMMC or NVME SSD), it means that the automatic expansion is running correctly</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>root@OpenWrt:~# df -h</p>
<pspan style="margin-right: 80px;">Filesystem </span><span style="margin-right: 50px;">Size </span><span style="margin-right: 30px;">Used </span><span style="margin-right: 30px;">Available </span><span style="margin-right: 50px;">Use% Mounted on</pspan><br><pspan style="margin-right: 80px;color:#FF0000">'''/dev/root '''</span><span style="margin-right: 50px;color:#FF0000">'''14.8G '''</span><span style="margin-right: 30px;color:#FF0000">'''14.7G '''</span><span style="margin-right: 70px;color:#FF0000">'''91.6M '''</span><span style="margin-right: 90px;color:#FF0000">'''99% /'''</pspan><br><pspan style="margin-right: 100px;">tmpfs </span><span style="margin-right: 50px;">495.5M </span><span style="margin-right: 30px;">6.1M </span><span style="margin-right: 70px;">489.4M </span><span style="margin-right: 90px;">1% /tmp</pspan><br><pspan style="margin-right: 100px;">tmpfs </span><span style="margin-right: 60px;">512.0K </span><span style="margin-right: 50px;">0 </span><span style="margin-right: 70px;">512.0K </span><span style="margin-right: 90px;">0% /dev</pspan><br><pspan style="margin-right: 80px;">/dev/root </span><span style="margin-right: 50px;">14.8G </span><span style="margin-right: 30px;">14.7G </span><span style="margin-right: 70px;">91.6M </span><span style="margin-right: 90px;">99% /opt/docker</pspan><br>|}</li></ol>
<span id="how-to-log-in-to-the-system"></span>
 
== How to log in to the system ==
<div class="figure">
[[File:media/image556plus5-img556.png|576x290px|9D229F96-887B-4c6b-8E6E-681C9994DFA0]]
</div></li></ol>
=== Log in to the system via SSH ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Please note that in the OpenWrt system of Orange Pi 5 Plus, the network port near the typeC power interface is configured as a WAN port by default, and the network port near the HDMI port is configured as a LAN port by default.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>The LAN port IP of the default board is set to '''<span class="mark">192.168.2.1</span>''', so the computer can obtain the IP address starting with '''<span class="mark">192.168.2</span>''' at this time</p></li>
<li><p>If the computer is installed with an Ubuntu system, you can execute the following command to log in to the system through SSH. By default, you can log in directly without a password</p>
{| class="wikitable" style="width:800px;" |-|<p>test@ubuntu:~$ '''ssh root@192.168.2.1'''</p>|}</li>
<li><p>After successfully logging in to the system, the display is as shown in the figure below</p>
<p>[[File:media/image557plus5-img557.png|553x330px]]</p></li>
<li><p>If the computer is installed with Windows system, you can log in by referring to the method introduced in the section of SSH remote login to the development board under Windows.</p></li></ol>
<span id="log-in-to-the-luci-management-interface"></span>
 
=== Log in to the LuCI management interface ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Please note that the OpenWRT system configures the network port near the Type-C power port as a WAN port by default, and the network port near the HDMI port as a LAN port by default.'''</big>
[[File:media/image558plus5-img558-1.png|357x139pxcenter]]|}
# First connect the LAN port of the board to the network port of the computer with a network cable, so that the network port of the computer can obtain an IP address through DHCP
<div class="figure">
::[[File:media/image559plus5-img559.png|552x135px|2023-04-21 14-41-42 的屏幕截图1500px]]
</div>
<ol start="4" style="list-style-type: decimal;">
<li><p>'''<span style="color:#FF0000">The OpenWrt system does not set a password by default</span>''', so just click the '''<span class="mark">login</span>''' button. After successful login, the interface is displayed as shown in the figure below</p><p>[[File:media/image560plus5-img560.png|552x295px]]</p></li></ol>
<span id="log-in-to-the-terminal-through-the-luci-management-interface"></span>
 
=== Log in to the terminal through the LuCI management interface ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Please note that the OpenWRT system configures the network port near the Type-C power port as a WAN port by default, and the network port near the HDMI port as a LAN port by default.'''</big>
[[File:media/image558plus5-img558-1.png|357x139pxcenter]]|}
# First connect the LAN port of the board to the network port of the computer with a network cable, so that the network port of the computer can obtain an IP address through DHCP
<div class="figure">
::[[File:media/image559plus5-img559.png|552x135px|2023-04-21 14-41-42 的屏幕截图1500px]]
</div>
<ol start="4" style="list-style-type: decimal;">
<li>Select &quot;'''Terminal'''&quot; in the &quot;'''Service'''&quot; column of the navigation bar and click to enter</li></ol> [[File:media/image561.png|576x227px]]
[[File:plus5-img561.png]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>At this time, the terminal interface is as shown in the figure below</p>
<p>[[File:media/image562plus5-img562.png|576x407px]]</p></li>
<li><p>Enter the user name root to log in</p>
<p>[[File:media/image563plus5-img563.png|575x334px]]</p></li></ol>
<span id="use-ip-address-port-number-to-log-in-to-the-terminal"></span>
 
=== Use IP address + port number to log in to the terminal ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Please note that the OpenWRT system configures the network port near the Type-C power port as a WAN port by default, and the network port near the HDMI port as a LAN port by default.'''</big>
[[File:media/image558plus5-img558-1.png|357x139pxcenter]]|}
# First connect the LAN port of the board to the network port of the computer with a network cable, so that the network port of the computer can obtain an IP address through DHCP
# The LAN port IP of the default board is set to '''192.168.2.1''', so the computer can obtain the IP address starting with '''192.168.2''' at this time
# Then enter [http://192.168.2.1:7681/ '''192.168.2.1:7681'''] in the browser to log in to the OpenWRT terminal
<div class="figure">
::[[File:media/image564plus5-img564.png|553x296px|2023-04-21 14-54-26 的屏幕截图]]
</div>
<span id="how-to-modify-the-ip-address-of-the-lan-port-through-the-command-line"></span>
 
== How to modify the IP address of the LAN port through the command line ==
# First use the following command to obtain the network configuration, the corresponding configuration file is '''/etc/config/network''', you can see that the value of '''network.lan.ipaddr''' is '''192.168.2.1'''
::{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:~# '''uci show network'''
network.lan.proto='static'
'''<span style="color:#FF0000">network.lan.ipaddr='192.168.2.1'</span>'''
network.lan.netmask='255.255.255.0'
.…
|}
<ol start="3" style="list-style-type: decimal;">
<li>Then enter the following command to modify the item '''network.lan.ipaddr'''</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:~# '''uci set network.lan.ipaddr='192.168.100.1''''
|}</ol>
<ol start="4" style="list-style-type: decimal;">
<li>Then enter the following command to complete the submission, that is, write to the configuration file</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:~# '''uci commit'''
|}
If the IP address in red font is consistent with the one to be set, it means that the modification is successful
{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:~# '''cat /etc/config/network'''
config interface 'lan'
::option device 'br-lan'
::option proto 'static'
::option netmask '255.255.255.0'
::option ip6assign '60'
::'''<span style="color:#FF0000">option ipaddr '192.168.100.1'</span>'''
...
|}</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Restart the network through ubus, please refer to the official document for the usage instructions of ubus</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:~# '''ubus call network restart'''
|}</ol>
<ol start="6" style="list-style-type: decimal;">
<li><p>At this point, enter the command and you can see that the IP of the LAN port is '''192.168.100.1'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>root@OpenWrt:~# '''ifconfig br-lan'''</p>
<p>br-lan Link encap:Ethernet HWaddr FE:55:13:A3:EF:E7</p>
::<p>inet addr:'''<span style="color:#FF0000">192.168.100.1</span>''' Bcast:192.168.100.255 Mask:255.255.255.0</p>::<p>inet6 addr: fd60:c4cd:1033::1/60 Scope:Global</p>::<p>UP BROADCAST MULTICAST MTU:1500 Metric:1</p>::<p>RX packets:0 errors:0 dropped:0 overruns:0 frame:0</p>::<p>TX packets:3 errors:0 dropped:0 overruns:0 carrier:0</p>::<p>collisions:0 txqueuelen:1000</p>::<p>RX bytes:0 (0.0 B) TX bytes:370 (370.0 B)</p>|}</li></ol>
<span id="how-to-modify-the-root-password"></span>
 
== How to modify the root password ==
# First enter passwd root on the command line of the system, and the following prompt message will appear. At this time, you can enter the password you want to set, and press the Enter key to confirm
::{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:/# '''passwd root'''
'''Enter new UNIX password:'''
|}
<ol start="2" style="list-style-type: decimal;">
<li>Then you will be prompted to re-enter the password. At this time, enter the password again to confirm and press Enter</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
'''Retype password:'''
|}</ol>
<ol start="3" style="list-style-type: decimal;">
<li>The display of successful modification is as follows</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
'''passwd: password for root changed by root'''
|}</ol>
<span id="modify-through-the-luci-management-interface"></span>
=== Modify through the LuCI management interface ===
<ol style="list-style-type: lower-alpha;">
<li><p>Find the &quot;'''System'''&quot; option in the navigation bar and click</p></li>
<li><p>In the column options below the system, select &quot;'''Management &gt; Rights'''&quot; and click</p><p>[[File:media/image565plus5-img565.png|552x256px]]</p></li>
<li><p>Select the &quot;'''Router Password'''&quot; option on the Tab page</p>
<p>[[File:media/image566plus5-img566.png|552x211px]]</p></li></ol>
</li>
<li><p>Modify and save the router password</p>
<p>a. Enter the password you set in the &quot;'''Password'''&quot; and &quot;'''Confirm Password'''&quot; dialog boxes (if you are not sure whether the password is entered correctly, you can click the &quot;*&quot; icon behind the dialog box to display the input characters)</p>
<p>b. Click &quot;'''Save'''&quot; to save the newly modified password</p>
<p>[[File:media/image567plus5-img567.png|553x230px]]</p></li></ol> '''Note: In the &quot;Password&quot; and &quot;Confirm Password&quot; dialog boxes, the passwords entered twice must be consistent.'''
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''Note: In the &quot;Password&quot; and &quot;Confirm Password&quot; dialog boxes, the passwords entered twice must be consistent.'''</big>
|}
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>After the password is changed successfully, a pop-up box will pop up saying &quot;'''The system password has been changed successfully'''&quot;. At this time, a password is required to log in to OpenWRT</p>
<p>[[File:media/image568plus5-img568.png|563x222px]]</p></li></ol>
<span id="usb-interface-test-1"></span>
 
== USB interface test ==
# Execute the following command, if you can see the output of sdX, it means that the U disk is recognized successfully
::{| class="wikitable" style="width:800px;"|-|root@OpenWrt:~# '''cat /proc/partitions | grep &quot;sd*&quot;'''<br> <span style="margin-right: 50px;">major </span><span style="margin-right: 50px;">minor </span><span style="margin-right: 55px;">#blocks </span><span style="margin-right: 50px;">name</span><br> <span style="margin-right: 70px;margin-left: 20px;">8 </span><span style="margin-right: 70px;">0 </span><span style="margin-right: 40px;">15126528 </span><span style="margin-right: 50px;color:#FF0000">'''sda'''</span><br>|}
<ol start="3" style="list-style-type: decimal;">
<li>Use the mount command to mount the U disk to <span class="mark">'''/mnt'''</span>, and then you can view the files in the U disk</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:~# '''mount /dev/sda /mnt/'''
test.txt
|}</ol>
<ol start="4" style="list-style-type: decimal;">
<li>After mounting, you can view the capacity usage and mount point of the U disk through the <span class="mark">df -h</span> command</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:~# '''df -h | grep &quot;sd&quot;'''
<span style="margin-right: 20px;">/dev/sda </span><span style="margin-right: 20px;">14.4G </span><span style="margin-right: 20px;">187.2M </span><span style="margin-right: 20px;">14.2G </span><span style="margin-right: 50px;">1% /mnt</span><br>|}</ol><span id="mount-the-usb-storage-device-on-the-luci-management-interface"></span>
<span id="mount-the-usb-storage-device-on-the-luci-management-interface"></span>
=== Mount the USB storage device on the LuCI management interface ===
<li><p>Then follow the login LuCI management interface to enter the LuCI management interface</p></li>
<li><p>Then in the LuCI management interface, click &quot;System -&gt; Mount Point&quot; to enter the configuration interface of the mount point</p>
<p>[[File:media/image569plus5-img569.png|553x256px]]</p></li>
<li><p>Then follow the steps below to add a mount point</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Find &quot;'''Mount Point'''&quot; at the bottom of the mount point &gt; '''global setting interface'''</p></li><li><p>Under the mount point, select the &quot;Add&quot; button and click Enter</p></li></ol></li></ol> [[File:media/image570.png|553x163px]]
[[File:plus5-img570.png]]
</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li><p>Then the following pop-up interface will pop up</p>
<p>[[File:media/image571plus5-img571.png|553x288px]]</p></li>
<li><p>Then you can start to mount the storage device</p>
<p>a) Check &quot;'''Enabled'''&quot;</p>
<p>b) Select the actual connected device /dev/sda in the UUID column of general settings (choose according to your own device)</p>
<p>c) Select &quot;'''Custom'''&quot; in the mount point column, and fill in the target directory to be mounted. Here, take the '''<span class="mark">/mnt</span>''' directory as an example, and press '''Enter''' to confirm</p>
<p>d) Then click the &quot;'''Save'''&quot; button in the lower right corner</p></li></ol> [[File:media/image572.png|553x214px]]
[[File:plus5-img572.png]]
</ol></ol>
<ol start="5" style="list-style-type: decimal;">
<li>Then you will return to the mount point global settings page, click &quot;'''Save and Apply'''&quot; in the lower left corner of the page to make the mount point take effect</li></ol> [[File:media/image573.png|535x325px]]
[[File:plus5-img573.png]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li>After saving, you can see the &quot;'''mounted file system'''&quot;, the storage device has been mounted successfully</li></ol>
[[File:media/image574plus5-img574.png|553x201px]]</ol><span id="how-to-use-e-key-pcie-wireless-network-card"></span>
<span id="how-to-use-e-key-pcie-wireless-network-card"></span>
== How to use E-Key PCIe wireless network card ==
# The PCIe wireless network card models currently compatible with the OpenWRT image are as follows:
::{| class="wikitable" style="width:800px;"
|-
| '''serial number'''
| '''AX200'''
'''(PCIE+ USB接口)'''
| [[File:med%20ia/image230plus5-img230.png]]
| '''Debian'''
'''Ubuntu'''
'''<span style="color:#FF0000">OpenWRT</span>'''
'''OPi OS Arch'''
| '''AX210'''
'''(PCIE+ USB接口)'''
| [[File:media/i%20mage231plus5-img231.png]]{wi dth=“1.06875in” h eight=“1.45in”}
| '''Debian'''
'''Ubuntu'''
'''<span style="color:#FF0000">OpenWRT</span>'''
'''OPi OS Arch'''
|-
| '''3'''
| '''R TL8852BERTL8852BE'''
'''(PCIE+ USB接口)'''
| [[File:med%20ia/image232plus5-img232.png]]
| '''Debian'''
'''Ubuntu'''
'''<span style="color:#FF0000">Not Supported OpenWRT</span>'''
'''Android12'''
=== How to create WIFI hotspot ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that AX200 and AX210 currently only support hotspots in the 2.4G frequency band. In the 5G frequency band mode, there will be an error that the modified configuration of the wireless network card cannot be applied.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>First insert the PCIe wireless network card into the M.2 E-KEY port of the development board, and then connect the Type-C power supply to power up the development board.</p>
<p>[[File:media/image575plus5-img575.png|347x149px]]</p></li>
<li><p>After the system startup is complete, click '''<span class="mark">Network -&gt; Wireless</span>''' to enter the wireless WiFi configuration interface.</p>
<p>[[File:media/image576plus5-img576.png|553x155px]]</p></li>
<li><p>The default wireless configuration of the OpenWRT system is '''Master''' mode. Here, for the convenience of the next operation, we will remove the default wireless connection.</p>
<p>[[File:media/image577plus5-img577.png|517x162px]]</p></li>
<li><p>Then click '''<span class="mark">Save</span>''' in the lower right corner of the page to make the configuration take effect.</p>
<p>[[File:media/image578plus5-img578.png|553x179px]]</p></li>
<li><p>Then click the '''<span class="mark">Add</span>''' button on the right.</p>
<p>[[File:media/image579plus5-img579.png|553x138px]]</p></li>
<li><p>In the pop-up tab page '''<span class="mark">Device Configuration</span>''', we set the parameters as shown in the figure below.</p>
<p>[[File:media/image580plus5-img580.png|552x268px]]</p></li>
<li><p>Then in '''<span class="mark">Interface Configuration -&gt; General Settings</span>''', set the mode to '''<span class="mark">Access Point AP</span>''', set the '''<span class="mark">ESSID</span>''' (wireless network name) to '''<span class="mark">OpenWrt</span>''', and specify the network as '''<span class="mark">lan</span>'''</p>
<p>[[File:media/image581plus5-img581.png|553x234px]]</p></li>
<li><p>Then in '''<span class="mark">Interface Configuration -&gt; Wireless Security</span>''', select ''' WPA2-PSK''' as the encryption algorithm; set the key (wireless password) to '''password'''</p>
<p>[[File:media/image582plus5-img582.png|534x224px]]</p></li>
<li><p>After the above settings are completed, click '''<span class="mark">Save</span>''' in the lower right corner of the page, and then exit the tab page</p>
<p>[[File:media/image583plus5-img583.png|553x303px]]</p></li>
<li><p>Then click '''<span class="mark">Save and Apply</span>''' in the lower right corner of the page and wait for the configuration to be applied.</p>
<p>[[File:media/image584plus5-img584.png|553x216px]]</p></li>
<li><p>The display interface of successfully creating a hotspot is shown in the figure below</p>
<p>[[File:media/image585plus5-img585.png|515x266px]]</p></li>
<li><p>Then use the mobile phone or computer to search for the WiFi corresponding to the SSID to connect. After the connection is successful, as shown in the figure below</p>
<p>[[File:media/image586plus5-img586.png|247x156px]]</p></li></ol>
<span id="how-to-connect-to-wifi-hotspot"></span>
 
=== How to connect to WIFI hotspot ===
<ol style="list-style-type: decimal;">
<li><p>Insert the PCIe wireless network card into the M.2 E-KEY port of the development board, and then connect the Type-C power supply to power the development board.</p>
<p>[[File:media/image575plus5-img575.png|347x149px]]</p></li>
<li><p>After the system startup is complete, click '''<span class="mark">Network -&gt; Wireless</span>''' to enter the configuration wireless WiFi interface.</p>
<p>[[File:media/image576plus5-img576.png|553x155px]]</p></li>
<li><p>The default wireless configuration of the OpenWRT system is '''Master''' mode. Here, for the convenience of the next operation, we will remove the default wireless connection.</p>
<p>[[File:media/image577plus5-img577.png|520x162px]]</p></li>
<li><p>Then click '''<span class="mark">Save</span>''' in the lower right corner of the page to make the configuration take effect.</p>
<p>[[File:media/image578plus5-img578.png|520x179px]]</p></li>
<li><p>Then click the '''<span class="mark">Scan</span>''' button to scan the surrounding WiFi hotspots.</p>
<p>[[File:media/image587plus5-img587.png|541x225px]]</p></li>
<li><p>Then the following window will pop up to display the available WiFi hotspots. At this time, click the '''<span class="mark">Join Network</span>''' button on the right side of the WiFi hotspot you want to connect to connect to the WiFi hotspot.</p>
<p>[[File:media/image588plus5-img588.png|553x89px]]</p></li>
<li><p>Then an interface for connecting to a WiFi hotspot will pop up. We enter the password of the hotspot as shown in the figure below, and then click the '''<span class="mark">Submit</span>''' button.</p>
<p>[[File:media/image589plus5-img589.png|552x135px]]</p></li>
<li><p>Then the following interface will pop up, click the '''<span class="mark">Save</span>''' button in the lower right corner.</p>
<p>[[File:media/image590plus5-img590.png|553x237px]]</p></li>
<li><p>Finally, you will return to the main interface of wireless configuration, click '''<span class="mark">Save and Apply</span>''' and wait for the configuration to be applied.</p>
<p>[[File:media/image591plus5-img591.png|544x252px]]</p></li>
<li><p>After successfully connecting to the WiFi hotspot, the interface is displayed as shown in the figure below.</p>
<p>[[File:media/image592plus5-img592.png|547x232px]]</p></li></ol>
<span id="installing-packages-via-the-command-line"></span>
 
== Installing packages via the command line ==
# Update the list of available packages
::{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:/# '''opkg update'''
|}
<ol start="2" style="list-style-type: decimal;">
<li>Get the software list</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:/# '''opkg list'''
|}</ol>
<ol start="3" style="list-style-type: decimal;">
<li>Install the specified package</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:/# '''opkg install &lt;package name&gt;'''
|}</ol>
<ol start="4" style="list-style-type: decimal;">
<li>Check the installed software</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:/# '''opkg list-installed'''
|}</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Uninstall the software</li></ol>{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:/# '''opkg remove &lt;package name&gt;'''
|}
</ol>
<span id="openwrt-management-interface-installation-software-package"></span>
<span id="openwrt-management-interface-installation-software-package"></span>
== OpenWRT management interface installation software package ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''If you need to add new software packages, you can install them through the OpenWRT management interface.'''</big>|}
<span id="view-the-list-of-available-software-packages-in-the-system"></span>
<li><p>First enter the package management page</p>
<p>a. Find the &quot;'''System'''&quot; option in the navigation bar and click to enter</p>
<p>b. In the vertical column options below the system, select &quot;'''software package'''&quot; and click to enter</p></li></ol> [[File:media/image593.png|552x227px]]
[[File:plus5-img593.png]]
</ol>
<ol start="2" style="list-style-type: decimal;">
<li><p>Then the main page of the software package will appear, as shown in the figure below, to obtain the list of available software</p>
<p>b. On the Tab page, click &quot;'''Available'''&quot; to view the currently available software packages</p>
<p>c. View the number of currently available packages</p>
<p>[[File:media/image594plus5-img594.png|553x232px]]</p></li></ol>
<span id="example-of-installing-software-packages"></span>
 
=== Example of installing software packages ===
<ol style="list-style-type: decimal;">
<li><p>Take the installation package "'''luci-app-acl'''" as an example</p>
<ol style="list-style-type: lower-alpha;">
<li><p>In the OpenWRT software package management interface, click the &gt; filter dialog box and enter”enter "'''luci-app-acl'''"</p></li><li><p>In the list of software packages, you can see the version, &gt; package size and description information of the &gt; “"'''luci-app-acl'''”software " software package, and then click the &gt; '''&quot;Install&quot;''' button</p><p>[[File:media/image595plus5-img595.png|552x259px]]</p></li><li><p>Then the following pop-up window will appear, click &gt; '''&quot;Install&quot;'''</p><p>[[File:media/image596plus5-img596.png|348x430px]]</p></li>
<li><p>Then wait for the installation to complete</p>
<p>[[File:media/image597plus5-img597.png|576x96px]]</p></li>
<li><p>The display after the installation is complete is as follows</p>
<p>[[File:media/image598plus5-img598.png|506x289px]]</p></li></ol>
</li>
<li><p>Check whether the software package is installed successfully</p>
<p>a. In the OpenWRT software package management interface, click the filter dialog box and enter”enter "'''luci-app-acl'''"</p>
<p>b. Select and click '''&quot;Available&quot;''' on the Tab page</p>
<p>c. The "'''luci-app-acl'''" package will be displayed in the package list, and the update status will be '''&quot;installed&quot;'''</p><p>[[File:media/image599plus5-img599.png|576x196px]]</p></li></ol>
<span id="remove-package-example"></span>
 
=== Remove package example ===
<ol style="list-style-type: decimal;">
<li><p>Take the removal of the package”package "'''luci-app-acl'''" as an example</p>
<ol style="list-style-type: lower-alpha;">
<li><p>In the OpenWRT software package management interface, click the &gt; filter dialog box and enter”enter "'''luci-app-acl'''"</p></li><li><p>Select '''&quot;Installed&quot;''' on the Tab page to display the list of &gt; installed software packages</p></li><li><p>Click '''&quot;Remove&quot;''' on the right to remove the corresponding &gt; software package</p><p>[[File:media/image600plus5-img600.png|461x164px]]</p></li><li><p>Then the following pop-up window will be displayed, click &gt; '''&quot;Remove&quot;'''</p><p>[[File:media/image601plus5-img601.png|415x129px]]</p></li><li><p>After the removal is successful, the display interface is as &gt; follows</p><p>[[File:media/image602plus5-img602.png|414x88px]]</p></li></ol>
</li>
<li><p>Check whether the software package is removed successfully</p>
<p>a. In the OpenWRT software package management interface, click the filter dialog box and enter "'''luci-app-acl'''"</p>
<p>b. Select and click '''&quot;Installed&quot;''' on the Tab page</p>
<p>c. The "'''luci-app-acl'''”package " package will not be displayed in the package list, and the "'''luci-app-acl'''" package has been removed successfully</p><p>[[File:media/image603plus5-img603.png|493x187px]]</p></li></ol>
<span id="using-samba-network-shares"></span>
 
== Using Samba Network Shares ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''There are mainly two software options for OpenWRT LAN file sharing, Samba and NFS. The compatibility of the Samba system is better, while the performance of NFS is superior. For users who need to use Windows devices, it is recommended to choose Samba.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>Enter the management page of the Samba network share</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Find the '''&quot;Service&quot;''' option in the navigation bar and click &gt; to enter</p></li><li><p>In the vertical column options below the service, select &gt; '''&quot;network sharing&quot;''' and click to enter</p><p>[[File:media/image604plus5-img604.png|553x205px]]</p></li></ol>
</li>
<li><p>Select the interface that the Samba service needs to monitor</p>
<ol style="list-style-type: lower-alpha;">
<li><p>Select '''&quot;General Settings&quot;''' in the navigation bar of network &gt; sharing and click to enter</p></li><li><p>The interface is specified according to actual needs. If you &gt; want to access through the &quot;wan port&quot;, set it to '''&quot;wan&quot;'''</p><p>[[File:media/image605plus5-img605.png|500x222px]]</p></li></ol>
</li>
<li><p>Set the shared directory of the network share</p>
<div class="figure">
[[File:media/image606plus5-img606.png|575x217px|4]]
</div></li>
<li><p>window10 starts network discovery and sharing</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Note: To access Samba under the Windows 10 system, you need to confirm whether Windows 10 has enabled network discovery and sharing for sharing. If it is not enabled, perform the following settings first.'''</p></libig>|}</olli>
<!-- -->
<p>c) Select &quot;Turn Windows features on or off&quot; in Programs and Features</p>
<p>d) Check &quot;SMB 1.0/CIFS file sharing support&quot; in the pop-up box of enabling or disabling Windows functions</p>
<p>e) Click &quot;OK&quot; to configure the application</p></li></ol> [[File:media/image607.png|575x316px]]
[[File:plus5-img607.png]]
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>Turn on the network discovery of Windows 10</p>
<p>d) Click | &quot;Advanced Sharing Settings&quot;</p>
<p>e) Turn on '''&quot;Enable Network Discovery&quot;''' and '''&quot;Enable File and Printer Sharing&quot;'''</p>
<p>f) Click &quot;Save Changes&quot; to save the Windows 10 network discovery configuration</p></li></ol> [[File:media/image608.png|575x323px]]
[[File:plus5-img608.png]]
</ol></ol>
<ol start="5" style="list-style-type: decimal;">
<li>After the setting is completed, enter \\OpenWrt in the address bar of the resource manager to access the shared directory, the user name is root, and the password is the password set by the development board host</li></ol>
[[File:media/image609plus5-img609.png|575x323px]]</ol><span id="zerotier-instructions"></span>
<span id="zerotier-instructions"></span>
== Zerotier Instructions ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''The OpenWRT system has pre-installed the zerotier client. After creating a virtual LAN on the zerotier official website, the client can directly join it through the Network ID. The specific operation is as shown below.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>Log in to zerotier official website [https://my.zerotier.com/network '''https://my.zerotier.com/network'''], register and log in and click Network-&gt;Create A Network to create a virtual local area network</p>
<p>[[File:media/image610plus5-img610.png|575x118px1500px]]</p><p>[[File:media/image611plus5-img611.png|574x166px1500px]]</p></li>
<li><p>Click to enter the network console page, you can set the privacy option to public, so that the added network nodes do not need to be verified</p>
<p>[[File:media/image612plus5-img612.png|353x257px]]</p></li>
<li><p>The following automatically assigns the address Here you can choose the network segment yourself, here is 172.27.*.*</p>
<p>[[File:media/image613plus5-img613.png|374x233px]]</p></li><li><p>Enter the following command in the OpenWRT terminal to join the virtual LAN created above, '''<span style="color:#FF0000">where 8286ac0e47d53bb5 is the Network ID of the virtual LAN created above</span>'''</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:/# '''zerotier-one -d''' #Start the zerotier client
root@OpenWrt:/# '''zerotier-cli join 8286ac0e47d53bb5''' #join the network
|}</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Enter ifconfig in the terminal and you can see that there is already a new '''ztks54inm2''' device with an IP address of '''172.27.214.213'''</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:/# '''ifconfig'''
'''ztks54inm2''' Link encap:Ethernet HWaddr F6:4E:DE:BF:D8:52
::inet addr:'''172.27.214.213''' Bcast:172.27.255.255 Mask:255.255.0.0
::inet6 addr: fe80::e82f:d0ff:fe5a:867e/64 Scope:Link
::UP BROADCAST RUNNING MULTICAST MTU:2800 Metric:1
::RX packets:18 errors:0 dropped:0 overruns:0 frame:0
::TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
::collisions:0 txqueuelen:1000
RX bytes:1720 (1.6 KiB) TX byte81 (8.2 KiB)
|}</ol>
<ol start="6" style="list-style-type: decimal;">
<li>Install the zerotier client on another device (Ubuntu18.04 is used as an example here), execute the following command to install, and restart the computer after the installation is complete</li></ol>{| class="wikitable" style="width:800px;" |-|
test@ubuntu:~$ '''curl -s https://install.zerotier.com | sudo bash'''
|}</ol>
<ol start="7" style="list-style-type: decimal;">
<li>After restarting, join the virtual LAN according to the Network ID, and you can also see that the ip address assigned by zerotier has been obtained. At this time, the Ubuntu PC and OrangePi R1 Plus LTS are in the same LAN, and the two can communicate freely</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@ubuntu:~$ '''sudo zerotier-cli join 8286ac0e47d53bb5'''
'''ztks54inm2''': flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt; mtu 2800
::inet '''172.27.47.214''' netmask 255.255.0.0 broadcast 172.27.255.255
::inet6 fe80::5ce1:85ff:fe2b:6918 prefixlen 64 scopeid 0x20&lt;link&gt;
::ether f6:fd:87:68:12:cf txqueuelen 1000 (ethernet)
::RX packets 0 bytes 0 (0.0 B)
::RX errors 0 dropped 0 overruns 0 frame 0
::TX packets 46 bytes 10006 (10.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
::TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|}
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>Test whether the two terminals can communicate</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:/# '''ping 172.27.47.214 -I ztks54inm2'''
round-trip min/avg/max = 1.136/1.195/1.235 ms
|}</ol>
<ol start="9" style="list-style-type: decimal;">
<li>other common commands of zerotier</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:/# '''zerotier-one -d''' #Start the zerotier client
OPENWRT_RELEASE=&quot;OpenWrt 22.03.4 r20123-38ccc47687&quot;
|}</ol>
<span id="compilation-method-of-openwrt-source-code"></span>
# First execute the following command to download the openwrt-22.03 branch code
::{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''sudo apt update'''
test@test:~$ '''git clone https://github.com/orangepi-xunlong/openwrt.git -b openwrt-22.03'''
|}
<ol start="2" style="list-style-type: decimal;">
<li>After the OpenWRT code is downloaded, the following files and folders will be included</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~/openwrt$ '''ls'''
BSDmakefile &nbsp;&nbsp;&nbsp; Config.in &nbsp;&nbsp;&nbsp; include &nbsp;&nbsp;&nbsp; Makefile &nbsp;&nbsp;&nbsp; README.md &nbsp;&nbsp;&nbsp; scripts &nbsp;&nbsp;&nbsp; toolchain
Config &nbsp;&nbsp;&nbsp; feeds.conf.default &nbsp;&nbsp;&nbsp; LICENSE &nbsp;&nbsp;&nbsp; package &nbsp;&nbsp;&nbsp; rules.mk &nbsp;&nbsp;&nbsp; target &nbsp;&nbsp;&nbsp; tools|}</ol><span id="compile-openwrt-source-code"></span>
<span id="compile-openwrt-source-code"></span>
== Compile OpenWRT source code ==
<li><p>First install the following dependent packages (currently only tested on Ubuntu 20.04 to compile the following dependent packages, if you compile on other versions of the system, please install the dependent packages by yourself according to the error message)</p>
<ol style="list-style-type: lower-alpha;">
<li>Method 1: The command to install dependent packages using a &gt; script is as follows:</li></ol></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~/openwrt$ '''sudo ./install_dep.sh'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Method 2: Install the dependency package directly using the following command</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~/openwrt$ '''sudo apt update'''
'''vim wget xmlto xxd zlib1g-dev'''
|}</ol></li></ol>
<ol start="2" style="list-style-type: decimal;">
<li>Then execute '''./scripts/feeds update -a''' and '''./scripts/feeds install -a''' to download dependent packages</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~/openwrt$ '''./scripts/feeds update -a'''
test@test:~/openwrt$ '''./scripts/feeds install -a'''
|}</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Then choose to use the configuration file of OrangePi 5 Plus</p>
<ol style="list-style-type: lower-alpha;">
<li>Compile the image that supports TF card, eMMC, and NVMe startup, &gt; and select the following configuration</li></ol></li></ol>{| class="wikitable" style="width:800px;" |-|
test@test:~/openwrt$ '''cp configs/orangepi-5-plus-rk3588_defconfig .config'''
|}</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Compile the image that supports SPIFlash startup, and select the &gt; following configuration</li></ol>{| class="wikitable" style="width:800px;" |-|
test@test:~/openwrt$ '''cp configs/orangepi-5-plus-rk3588-spi_defconfig .config'''
|}</ol></li></ol>
<ol start="4" style="list-style-type: decimal;">
<li>Then execute the following command to make the configuration take effect</li></ol>{| class="wikitable" style="width:800px;" |-|
test@test:~/openwrt$ '''make defconfig'''
|}</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Execute the following command to start compiling the openwrt source code</li></ol>{| class="wikitable" style="width:800px;" |-|
test@test:~/openwrt$ '''make V=s'''
|}</ol>
<ol start="6" style="list-style-type: decimal;">
<li>After the compilation is complete, the path where the image is generated is:</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~/openwrt$ '''tree -L 1 bin/targets/rockchip/armv8/'''
└── version.buildinfo
 
1 directory, 9 files
|}</ol>
<span id="instructions-for-using-the-android-12-system"></span>
== Supported Android versions ==
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''Android version'''
== Android function adaptation ==
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''Function'''
|-
| style="text-align: left;"| '''AX200-WIFI'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''AX200-BT'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''AX210-WIFI'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''AX210-BT'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''RTL8852BE-WIFI'''
|-
| style="text-align: left;"| '''HDMI CEC function'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
| style="text-align: left;"| '''OK'''
|}
<span id="how-to-use-the-usb-wireless-network-card"></span>
 
== How to use the USB wireless network card ==
# Currently, the USB wireless network card models compatible with the Android image are as follows:
::{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''Chip model'''
<li><p>The pictures of the above two USB wireless network cards are as follows:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The picture of the RTL8723BU USB wireless network card module is &gt; as follows:</p>
<div class="figure">
[[File:media/image614plus5-img614.png|175x103px|C89CEA9A-B322-42d2-B476-2392A50E6FC4]]
</div></li>
<li><p>The picture of the RTL8811CU USB wireless network card module is &gt; as follows:</p><p>[[File:media/image615plus5-img615.png|124x107px]]</p></li></ol>
</li>
<li><p>The test methods of the above two types of USB wireless network cards are the same. First, the USB network card needs to be inserted into the USB interface of the development board.</p></li>
<span id="m.2-how-to-use-e-key-pcie-wifi6bluetooth-module"></span>
 
== M.2 How to use E-Key PCIe WIFI6+Bluetooth module ==
# The PCIe wireless network card models currently compatible with Android 12 are as follows:
::{| class="wikitable" style="width:800px;"
|-
| '''serial number'''
'''(PCIE+USB interface)'''
| [[File:mediaplus5-img616.png]]|} ::{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Pay attention to RTL8852BE, please do not buy the module shown in the figure below, there will be problems after testing.'''</image6%2016big> [[File:plus5-img616-2.png|center]]
|}
<ol start="2" style="list-style-type: decimal;">
<li><p>First insert the PCIe wireless network card into the M.2 E-KEY interface of the development board and fix it</p>
<p>[[File:media/image617plus5-img617.png|263x178px]]</p></li>
<li><p>Then connect the power supply of the Type-C interface to the development board, and power on</p></li>
<li><p>After the system starts, please refer to the section of WIFI connection test method for WIFI connection and test method</p></li>
<span id="wifi-connection-test-method"></span>
 
== WIFI connection test method ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''<span style="color:#FF0000">First of all, please note that there is no WIFI module on the Orange Pi 5 Plus development board, and an external PCIe network card or USB network card is required to use the WIFI function.</span>'''
'''For instructions on using the external PCIe network card, please refer to the section on how to use the M.2 E-Key PCIe WIFI6+Bluetooth module.'''
'''For instructions on using the external USB network card, please refer to the section on how to use the USB wireless network card.'''</big>|}
# First click to enter the '''Setting'''
::[[File:media/image618plus5-img618.png|553x182px]]
<ol start="2" style="list-style-type: decimal;">
<li>Then select '''Network &amp; internet'''</li></ol> [[File:media/image619.png|553x154px]]
[[File:plus5-img619.png]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>Then select '''Internet'''</li></ol> [[File:media/image620.png|553x103px]]
[[File:plus5-img620.png]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li>Then turn on the '''Wi-Fi''' switch</li></ol> [[File:media/image621.png|553x65px]]
[[File:plus5-img621.png]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>After turning on '''Wi-Fi''', if everything is normal, you can scan to nearby Wi-Fi hotspots</p>
<p>[[File:media/image622plus5-img622.png|549x172px]]</p></li>
<li><p>Then select the Wi-Fi you want to connect to, and the password input interface shown in the figure below will pop up</p>
<p>[[File:media/image623plus5-img623.png|553x237px]]</p></li>
<li><p>Then use the keyboard to enter the password corresponding to Wi-Fi, and then use the mouse to click the Enter button in the virtual keyboard to start connecting to Wi-Fi</p>
<p>[[File:media/image624plus5-img624.png|553x232px]]</p></li>
<li><p>The display after successful Wi-Fi connection is shown in the figure below:</p>
<p>[[File:media/image625plus5-img625.png|553x93px]]</p></li></ol>
<span id="how-to-use-wi-fi-hotspot"></span>
 
== How to use Wi-Fi hotspot ==
<li><p>First, please make sure that the Ethernet port is connected to the network cable and can access the Internet normally</p></li>
<li><p>Then select '''Settings'''</p>
<p>[[File:media/image618plus5-img618.png|553x182px]]</p></li>
<li><p>Then select '''Network &amp; internet'''</p>
<p>[[File:media/image619plus5-img619.png|553x154px]]</p></li>
<li><p>Then select '''Hotspot &amp; tethering'''</p>
<p>[[File:media/image626plus5-img626.png|575x195px]]</p></li>
<li><p>Then select '''Wi-Fi hotspot'''</p>
<p>[[File:media/image627plus5-img627.png|575x96px]]</p></li>
<li><p>Then turn on the '''Wi-Fi hotspot''', you can also see the name and password of the generated hotspot in the figure below, remember them, and use them when connecting to the hotspot '''(if you need to modify the name and password of the hotspot, you need to turn off the Wi-Fi first -Fi hotspot before modification)'''</p>
<p>[[File:media/image628plus5-img628.png|575x187px]]</p></li><li><p>At this point, you can take out your mobile phone. If everything is normal, you can find the WIFI hotspot with the same name ('''here AndroidAP_6953''') displayed under the '''Hotspot name''' in the above picture in the WI-FI list searched by the mobile phone. Then you can click '''AndroidAP_6953''' to connect to the hotspot, and the password can be seen under the '''Hotspot password''' in the above picture</p></li></ol> [[File:media/image629.png|342x260px]]
[[File:plus5-img629.png]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>After the connection is successful, it will be displayed as shown in the figure below (the interface of different mobile phones will be different, the specific interface is subject to the display of your mobile phone). At this point, you can open a webpage on your mobile phone to see if you can access the Internet. If you can open the webpage normally, it means that the '''WI-FI Hotspot''' of the development board can be used normally.</li></ol>
[[File:media/image630plus5-img630.png|347x175px]]</ol><span id="bluetooth-test-method"></span>
<span id="bluetooth-test-method"></span>
== Bluetooth test method ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''<span style="color:#FF0000">Please note that there is no Bluetooth module on the Orange Pi 5 Plus development board, and an external PCIe network card with Bluetooth or a USB network card with Bluetooth is required to use the Bluetooth function.</span>'''
'''For instructions on using the external PCIe network card, please refer to the section on how to use the M.2 E-Key PCIe WIFI6+Bluetooth module.'''
'''For instructions on using the external USB network card, please refer to the section on how to use the USB wireless network card.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>First click to enter the '''Setting'''</p>
<p>[[File:media/image618plus5-img618.png|553x182px]]</p></li>
<li><p>Then select '''Connected devices'''</p>
<p>[[File:media/image631plus5-img631.png|575x146px]]</p></li>
<li><p>Then click '''<span class="mark">Pair new device</span>''' to turn on Bluetooth and start scanning the surrounding Bluetooth devices</p>
<p>[[File:media/image632plus5-img632.png|575x144px]]</p></li>
<li><p>The searched Bluetooth devices will be displayed under '''Available devices'''</p>
<p>[[File:media/image633plus5-img633.png|575x200px]]</p></li>
<li><p>Then click the Bluetooth device you want to connect to start pairing. When the following interface pops up, please use the mouse to select the '''Pair''' option</p>
<p>[[File:media/image634plus5-img634.png|575x155px]]</p></li>
<li><p>The test here is the configuration process of the development board and the Bluetooth of the Android mobile phone. At this time, the following confirmation interface will pop up on the mobile phone. After clicking the pairing button on the mobile phone, the pairing process will start</p>
<p>[[File:media/image635plus5-img635.png|308x232px]]</p></li>
<li><p>After the pairing is completed, you can see the paired Bluetooth device as shown in the figure below</p>
<p>[[File:media/image636plus5-img636.png|575x170px]]</p></li>
<li><p>At this time, you can use the Bluetooth of your mobile phone to send a picture to the development board. After sending, you can see the following confirmation interface in the Android system of the development board, and then click '''Accept''' to start receiving the picture sent by the mobile phone.</p>
<p>[[File:media/image637plus5-img637.png|575x250px]]</p></li>
<li><p>You can open the '''Download''' directory in the file manager to view the pictures received by the Android system Bluetooth of the development board</p>
<p>[[File:media/image638plus5-img638.png|575x86px]]</p></li></ol>
<span id="test-method-of-hdmi-in"></span>
 
== Test method of HDMI In ==
<ol style="list-style-type: decimal;">
<li><p>The location of the HDMI In interface on the development board is as follows:</p>
<p>[[File:media/image265plus5-img265.png|351x112px]]</p></li>
<li><p>Then use the HDMI to HDMI cable shown in the figure below to connect the HDMI output of other devices to the HDMI In interface of the development board</p>
<p>[[File:media/image11plus5-img11.png|199x129px]]</p></li>
<li><p>Make sure that the HDMI output of the device connected to the HDMI In interface is normal, and then open the HDMI In test APP</p>
<p>[[File:media/image639plus5-img639.png|532x167px]]</p></li>
<li><p>Then you can see the video input of HDMI In, and the audio input of HDMI In will also be output from the HDMI TX interface or headphone interface of the development board. The figure below shows the desktop of the Linux system of the OPi5 development board input through HDMI In.</p>
<p>[[File:media/image640plus5-img640.png|533x301px]]</p></li></ol>
<span id="how-to-use-10.9.10.1-inch-mipi-screen"></span>
== How to use 10.9.10.1 inch MIPI screen ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Please make sure that the Android image used is the image of the following two versions:'''
'''OrangePi5Plus_RK3588_Android12_lcd_v1.x.x.img'''
'''OrangePi5Plus_RK3588_Android12_spi-nvme_lcd_v1.x.x.img'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>The screen needs to be assembled first, please refer to the assembly method of the 10.1-inch MIPI screen</p></li>
<li><p>The interface position of the LCD on the development board is shown in the figure below:</p>
<p>[[File:media/image641plus5-img641.png|317x80px]]</p>{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Note that the touch interface below is not for the LCD MIPI screen. It is currently a spare interface and cannot be used.'''</p></big> <p>[[File:media/image425plus5-img425.png|334x70pxcenter]]</p>|}</li>
<li><p>Connect the assembled screen to the LCD interface, connect the Type-C power supply to the board, and power on. After the system starts, you can see the screen display as shown in the figure below</p>
<p>[[File:media/image642plus5-img642.png|517x345px]]</p></li></ol>
<span id="ov13850-and-ov13855-mipi-camera-test-method"></span>
 
== OV13850 and OV13855 MIPI camera test method ==
<ol style="list-style-type: lower-alpha;">
<li><p>OV13850 camera with 13 million MIPI interface</p>
<p>[[File:media/image23plus5-img23.png|268x151px]]</p></li>
<li><p>OV13855 camera with 13 million MIPI interface</p>
<p>[[File:media/image24plus5-img24.png|253x150px]]</p></li></ol><p>The adapter boards and FPC cables used by the OV13850 and OV13855 cameras are the same, but the positions of the two cameras connected to the adapter boards are different. The FPC cable is shown in the figure below. Please note that the FPC cable has a direction. The end marked '''TO MB''' needs to be inserted into the camera interface of the development board, and the end marked '''TO CAMERA''' needs to be inserted into the camera adapter board.</p></li></ol>
[[File:media/image436plus5-img436.png|475x99px]]
There are a total of 3 camera interfaces on the camera adapter board, and only one can be used at a time, as shown in the figure below, of which:
<li><p>'''No.1 port is connected to OV13850 camera'''</p></li>
<li><p>'''No.2 interface is connected to OV13855 camera'''</p></li>
<li><p>No. 3 3 interface is not used, just ignore it</p></li></ol>
<div class="figure">
[[File:media/image643plus5-img643.png|333x199px|图片3]]
</div></ol>
The location of the camera interface on the Orange Pi 5 Plus development board is shown in the figure below:
[[File:media/image644plus5-img644.png|388x65px]]
The method of inserting the camera into the CAM interface of the development board is as follows:
[[File:media/image439plus5-img439.png|285x132px]]
After connecting the camera to the development board, we can use the following method to test the camera:
<ol style="list-style-type: lower-alpha;">
<li><p>Open the camera APP on the desktop</p>
<p>[[File:media/image645plus5-img645.png|491x279px]]</p></li>
<li><p>Then you can see the preview screen of the camera</p>
<div class="figure">
[[File:media/image646plus5-img646.png|379x213px|Screenshot_20230317-073757]]
</div>
<p>Press and hold the mouse in the area shown in the red box in the picture below of the camera APP and then drag to the right to call up the switching interface for taking pictures and recording</p>
<p>[[File:media/image647plus5-img647.png|391x222px]]</p>
<p>The switching interface of taking pictures and recording is as follows, click Video to switch to '''video''' recording mode</p>
<div class="figure">
[[File:media/image648plus5-img648.png|386x217px|Screenshot_20230317-074419]]
</div>
<p>Click the position shown in the figure below to enter the camera setting interface</p>
<p>[[File:media/image649plus5-img649.png|390x221px]]</p>
<p>The setting interface of the camera is as follows:</p>
<div class="figure">
[[File:media/image650plus5-img650.png|429x241px|Screenshot_20230317-075325]]
</div></li></ol>
<span id="pin-interface-gpio-uart-spi-and-pwm-test"></span>
 == 26pin 40pin interface GPIO, UART, SPI and PWM test ==
<span id="pin-gpio-port-test-3"></span>
<ol style="list-style-type: decimal;">
<li><p>First click on the wiringOP icon to open the wiringOP APP</p>
<p>[[File:media/image651plus5-img651.png|552x183px]]</p></li>
<li><p>The main interface of wiringOP APP is displayed as shown in the figure below, and then click the '''GPIO_TEST''' button to open the GPIO test interface</p>
<p>[[File:media/image652plus5-img652.png|553x131px]]</p></li>
<li><p>The GPIO test interface is shown in the figure below. The two rows of '''CheckBox''' buttons on the left are in one-to-one correspondence with the 26pin pins. When the '''CheckBox''' button is checked, the corresponding GPIO pin will be set to '''OUT''' mode, and the pin level will be set to high level; when the checkbox is unchecked, the GPIO pin level will be set to low level; When the '''GPIO READALL''' button is pressed, information such as the wPi number, GPIO mode, and pin level can be obtained.</p>
<p>[[File:media/image653plus5-img653.png|553x288px]]</p></li>
<li><p>Then click the '''GPIO READALL''' button, the output information is as shown in the figure below:</p>
<p>[[File:media/image654plus5-img654.png|553x310px]]</p></li>
<li><p>There are a total of 28 GPIO ports in the 40pins of the development board that can be used. The following uses pin 11—the corresponding GPIO is GPIO1_A4—the corresponding wPi serial number is 5—as an example to demonstrate how to set the high and low levels of the GPIO port. First click the '''CheckBox''' button corresponding to pin 11. When the button is selected, pin 11 will be set to high level. After setting, you can use a multimeter to measure the voltage value of the pin. If it is '''3.3v''', it means setting high level success</p>
<p>[[File:media/image655plus5-img655.png|204x392px]]</p></li>
<li><p>Then click the '''GPIO READALL''' button, you can see that the current pin 7 mode is '''OUT''', and the pin level is high</p>
<p>[[File:media/image656plus5-img656.png|552x259px]]</p></li>
<li><p>Click the '''CheckBox''' button in the figure below again to cancel the check status. Pin 11 will be set to low level. After setting, you can use a multimeter to measure the voltage value of the pin. If it is '''0v''', it means that the low level is set successfully.</p>
<p>[[File:media/image657plus5-img657.png|205x394px]]</p></li>
<li><p>Then click the '''GPIO READALL''' button, you can see that the current mode of pin 11 is OUT, and the pin level is low</p>
<p>[[File:media/image658plus5-img658.png|552x258px]]</p></li></ol>
<span id="pin-uart-test-2"></span>
<ol style="list-style-type: decimal;">
<li><p>'''UART3''' and '''UART8''' are enabled by default in Android. The position of the 40pin is shown in the figure below, and the corresponding device nodes are /dev/ttyS3 and /dev/ttyS8 respectively</p>
<p>[[File:media/image659plus5-img659.png|508x139px]]</p></li>
<li><p>First click on the wiringOP icon to open the wiringOP APP</p>
<p>[[File:media/image651plus5-img651.png|552x183px]]</p></li>
<li><p>The main interface of wiringOP APP is displayed as shown in the figure below, and then click the '''UART_TEST''' button to open the UART test interface</p>
<p>[[File:media/image660plus5-img660.png|552x123px]]</p></li><li><p>The serial port test interface of the APP is shown in the figure below</p></li></ol> [[File:media/image661.png|552x310px]]
[[File:plus5-img661.png]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Take the test of '''UART3''' as an example below, select the '''/dev/ttyS3''' node in the selection box, enter the baud rate you want to set in the edit box, and then click the '''OPEN''' button to open the '''/dev/ttyS3''' node. After opening successfully, click the '''OPEN ''' button becomes unselectable, and the '''CLOSE''' button and '''SEND''' button become selectable</li></ol> [[File:media/image662.png|552x154px]]
[[File:plus5-img662.png]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li><p>Then use Dupont wire to short the RXD and TXD pins of uart3</p>
<p>[[File:media/image663plus5-img663.png|455x121px]]</p></li><li><p>Then you can enter a character in the send edit box below, and click the '''SEND''' button to start sending</p></li></ol> [[File:media/image664.png|553x155px]]
[[File:plus5-img664.png]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li>If everything is normal, the received string will be displayed in the receiving box</li></ol>
[[File:media/image665plus5-img665.png|553x290px]]</ol><span id="pin-spi-test-3"></span>
<span id="pin-spi-test-3"></span>=== 26pin 40pin SPI test ===
<ol style="list-style-type: decimal;">
<li><p>From the table below, the available SPIs for Orange Pi 5 Plus are SPI0 and SPI4</p>
<p>[[File:media/image304plus5-img304.png|575x137px]]</p></li>
<li><p>The Android system opens the SPI0 configuration by default. Here is a demonstration to test the SPI0 interface through the w25q64 module. First, connect the w25q64 device to the SPI0 interface.</p>
<p>[[File:media/image666plus5-img666.png|195x164px]]</p></li>
<li><p>Then click the wiringOP icon to open the wiringOP APP</p>
<p>[[File:media/image651plus5-img651.png|552x183px]]</p></li>
<li><p>The main interface of wiringOP APP is displayed as shown in the figure below, click the '''SPI_TEST''' button to open the SPI test interface</p>
<p>[[File:media/image667plus5-img667.png|552x123px]]</p></li><li><p>Then click the '''OPEN''' button to initialize the SPI</p></li></ol> [[File:media/image668.png|552x155px]]
[[File:plus5-img668.png]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li><p>Then fill in the bytes that need to be sent, such as reading the ID information of w25q64, fill in the address 0x9f in data[0], and then click the '''TRANSFER''' button</p>
<p>[[File:media/image669plus5-img669.png|575x252px]]</p></li><li><p>Finally, the APP will display the read ID information</p></li></ol> [[File:media/image670.png|552x206px]]
[[File:plus5-img670.png]]
</ol>
<ol start="8" style="list-style-type: decimal;">
<li><p>The MANUFACTURER ID of the w25q64 module is EFh, and the Device ID is 4017h, corresponding to the value read above (h stands for hexadecimal)</p>
<p>[[File:media/image671plus5-img671.png|374x126px]]</p></li></ol>
<span id="pin-pwm-test"></span>
 === 26pin 40pin PWM test ===
<ol style="list-style-type: decimal;">
<li><p>Android enables '''PWM10''' and '''PWM14''' by default, and the corresponding pins are located at 40pin as shown in the figure below:</p>
<p>[[File:media/image672plus5-img672.png|431x130px]]</p></li>
<li><p>First click on the wiringOP icon to open the wiringOP APP</p>
<p>[[File:media/image651plus5-img651.png|552x183px]]</p></li>
<li><p>Then click the '''PWM_TEST''' button on the main interface of wiringOP to enter the PWM test interface</p>
<p>[[File:media/image673plus5-img673.png|553x125px]]</p></li>
<li><p>The base address corresponding to PWM10 is '''febe0020''', and the base address corresponding to PWM14 is '''febf0020'''. Here, '''fd8b0020.pwm''' is displayed on the right of pwmchip0. At this time, you need to click the drop-down option to select other pwmchips until '''febe0020''' or '''febf0020''' is displayed on the right.</p>
<p>[[File:media/image674plus5-img674.png|553x111px]]</p></li>
<li><p>When the drop-down option menu selects '''pwmchip2''', the corresponding base address of '''PWM10''' is '''febe0020''' on the right</p>
<p>[[File:media/image675plus5-img675.png|553x102px]]</p></li>
<li><p>When the drop-down option menu selects '''pwmchip4''', the corresponding base address of '''PWM14''' is '''febe0020''' on the right</p>
<p>[[File:media/image676plus5-img676.png|553x102px]]</p></li>
<li><p>Take the test of PWM10 as an example, we need to select '''pwmchip2'''</p>
<p>[[File:media/image675plus5-img675.png|553x102px]]</p></li>
<li><p>Then confirm the PWM period, the default configuration is '''50000ns''', converted to PWM frequency is '''20KHz''', you can modify it yourself, click the open button to export '''PWM10'''</p>
<p>[[File:media/image677plus5-img677.png|552x101px]]</p></li><li><p>Then drag the drag bar below to change the PWM duty cycle, and then check Enable to output the PWM waveform</p></li></ol> [[File:media/image678.png|575x116px]]
[[File:plus5-img678.png]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>Then use an oscilloscope to measure the 31st pin in the 40pin of the development board, and you can see the following waveform</li></ol>
[[File:media/image679plus5-img679.png|460x276px]]</ol><span id="how-to-use-adb-1"></span>
<span id="how-to-use-adb-1"></span>
== How to use ADB ==
<ol style="list-style-type: decimal;">
<li><p>First prepare a good quality Type-C data cable</p>
<p>[[File:media/image21plus5-img21.png|122x97px]]</p></li>
<li><p>Then connect the development board and Ubuntu PC through the Type-C data cable. The position of the Type-C interface of the development board is shown in the figure below:</p>
<div class="figure">
[[File:media/image52.jpeg|319x90px|C:\Users\orangepi\Desktop\用户手册插图\Pi5 Plus\未标题plus5-2img52.jpg未标题-2png]]
</div></li>
<li><p>Then install the adb tool on the Ubuntu PC</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sudo apt update'''</p>
<p>test@test:~$ '''sudo apt -y install adb'''</p>|}</li>
<li><p>You can view the identified ADB devices through the following command</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''adb devices'''</p>
<p>List of devices attached</p>
<p>S63QCF54CJ device</p>
<p>test@test:~$ '''lsusb'''</p>
<p>Bus 003 Device 006: ID 2207:0006</p>|}</li><li><p>Then you can log in to the android system through the adb shell on the Ubuntu PC</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''adb shell'''
console:/ $
|}</ol>
<ol start="6" style="list-style-type: decimal;">
<li>Execute the following command to remount the Android system</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''adb root'''
test@test:~$ '''adb remount'''
|}</ol>
<ol start="7" style="list-style-type: decimal;">
<li>Then you can transfer files to the Android system</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''adb push example.txt /system/'''
|}
</ol>
<span id="use-network-connection-adb-debugging"></span>
<span id="use-network-connection-adb-debugging"></span>
=== Use network connection adb debugging ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Using the network adb does not require a data cable of the Typc-C interface to connect the computer and the development board, but to communicate through the network, so first of all, please ensure that the wired or wireless network of the development board has been connected, and then obtain the IP address of the development board, and then to use.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>Make sure that the '''service.adb.tcp.port''' of the Android system is set to port number 5555</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>console:/ # '''getprop | grep &quot;adb.tcp&quot;'''</p>
<p>[service.adb.tcp.port]: ['''5555''']</p>|}</li><li><p>If '''service.adb.tcp.port''' is not set, you can use the following command to set the port number of network adb</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
console:/ # '''setprop service.adb.tcp.port 5555'''
console:/ # '''start adbd'''
|}</ol>
<ol start="3" style="list-style-type: decimal;">
<li><p>Install adb tool on Ubuntu PC</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sudo apt update'''</p>
<p>test@test:~$ '''sudo apt install -y adb'''</p>|}</li>
<li><p>Then connect network adb on Ubuntu PC</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''adb connect 192.168.1.xxx''' '''(The IP address needs to be changed to the IP address of the development board)'''</p>
<p>* daemon not running; starting now at tcp:5037</p>
<p>* daemon started successfully</p>
<p>connected to 192.168.1.xxx:5555</p>
 
 
<p>test@test:~$ '''adb devices'''</p>
<p>List of devices attached</p>
<p>192.168.1.xxx:5555 device</p>|}</li><li><p>Then you can log in to the android system through the adb shell on the Ubuntu PC</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''adb shell'''
console:/ #
|}
</ol>
<span id="g-usb-remote-control-tested-by-android-box"></span>
<span id="g-usb-remote-control-tested-by-android-box"></span>
== 2.4G USB remote control tested by Android Box ==
<ol style="list-style-type: lower-alpha;">
<li><p>Contains a remote control</p>
<p>[[File:media/image680plus5-img680.png|199x149px]]</p></li>
<li><p>A USB wireless receiver</p>
<p>[[File:media/image681plus5-img681.png|110x119px]]</p></li></ol>
</li>
<li><p>The Android Box system does not require any configuration, it can be used after plugging it in</p></li></ol>
<ol style="list-style-type: decimal;">
<li><p>The development board comes with an infrared receiver, and its location is shown in the figure below:</p>
<p>[[File:media/image682plus5-img682.png|435x124px]]</p></li>
<li><p>Before testing infrared reception, we need to prepare an infrared remote control</p>
<div class="figure">
[[File:media/image683plus5-img683.png|141x127px|6FBFE2FA-31A4-4a26-AC63-9A3E4E359FFF]]
</div>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''<span style="color:#FF0000">Note: The Android system provided by Orange Pi only supports the remote control provided by Orange Pi by default, and the remote control of TV or air conditioner cannot be used.</span>'''</p></big>|}</li>
<li><p>The Android Box system has been adapted to this remote control, and it can be used directly without other settings.</p></li></ol>
<span id="how-to-use-hdmi-cec-function-in-android-box-system"></span>
 
== How to use HDMI CEC function in Android Box system ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''HDMI CEC allows users to control all connected devices through HDMI with only one remote control. Based on this function, we can control the development board with the remote control of the TV.'''
'''<span style="color:#FF0000">Before testing this function, please make sure your TV supports HDMI CEC.</span>'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>First connect the development board to the TV through the HDMI cable, then power on and start</p></li>
<li><p>Then turn on the HDMI CEC function in the TV settings. Different TVs may have different ways to turn it on. Here we take Xiaomi TV as an example. Press the menu button on the remote control, then select CEC remote control and press the confirmation button</p>
<p>[[File:media/image684plus5-img684.png|575x323px]]</p></li>
<li><p>Then select '''&quot;On&quot;''' to open the HDMI CEC remote control</p>
<p>[[File:media/image685plus5-img685.png|576x257px]]</p></li>
<li><p>At this point, you can control the Android Box system of the development board through the remote control of the TV</p></li></ol>
<ol style="list-style-type: decimal;">
<li><p>First download the Android 12 source code sub-volume compressed package from Google network disk</p>
<p>[[File:media/image686plus5-img686.png|575x138px]]</p></li>
<li><p>After downloading the sub-volume compression package of the Android 12 source code, please check whether the MD5 checksum is correct, if not, please download the source code again</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''md5sum -c Android_12.tar.gz.md5sum'''</p>
<pstyle="color:#FF0000">'''Android_12.tar.gz00: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz01: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz02: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz03: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz04: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz05: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz06: confirm'''</p><pstyle="color:#FF0000">'''Android_12.tar.gz07: confirm'''</p>|}</li><li><p>Then you need to merge multiple compressed files into one, and then decompress</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''cat Android_12.tar.gz0* &gt; Android_12.tar.gz'''
test@test:~$ '''tar -xvf Android_12.tar.gz'''
|}
</ol>
<span id="compile-the-source-code-of-android-12"></span>
<span id="compile-the-source-code-of-android-12"></span>
== Compile the source code of Android 12 ==
<ol style="list-style-type: decimal;">
<li><p>First install the software packages required to compile the Android12 source code</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sudo apt-get update'''</p>
<p>test@test:~$ '''sudo apt-get install -y git gnupg flex bison gperf build-essential \'''</p>
<p>'''lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev ccache \'''</p>
<p>'''libgl1-mesa-dev libxml2-utils xsltproc unzip'''</p>
<p>test@test:~$ '''sudo apt-get install -y u-boot-tools'''</p>|}</li>
<li><p>There is a build.sh compilation script in the source code, and the compilation parameters are as follows</p>
<ol style="list-style-type: lower-alpha;"><li><p>a.-'''U''': compile uboot</p></li><li><p>b.-'''K''': compile kernel</p></li><li><p>c.-'''A''': compile android</p></li><li><p>d.-'''u''': package and generate update.img and update_spi_nvme.img</p></li><li><p>e.-'''o''': Compile the OTA package</p></li><li><p>f.-'''d''': specify kernel dts</p></li></ol></li>
<li><p>Compile uboot, kernel, android and package them into update.img</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The command to compile and support HDMI 8K display image (LCD &gt; off by default) is as follows:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''cd Android_12'''</p>
<p>test@test:~/ Android_12$ '''source build/envsetup.sh'''</p>
<p>test@test:~/ Android_12$ '''lunch rk3588_s-userdebug'''</p>
<p>test@test:~/ Android_12$ '''./build.sh -AUKu'''</p>|}</li>
<li><p>The command to compile and support LCD display image is as &gt; follows:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''cd Android_12'''</p>
<p>test@test:~/ Android_12$ '''export DUAL_LCD=true'''</p>
<p>test@test:~/ Android_12$ '''source build/envsetup.sh'''</p>
<p>test@test:~/ Android_12$ '''lunch rk3588_s-userdebug'''</p>
<p>test@test:~/ Android_12$ '''./build.sh -AUKu'''</p>|}</li>
<li><p>The command to compile the image of the Box version is as &gt; follows:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''cd Android_12'''</p>
<p>test@test:~/ Android_12$ '''export BOARD=orangepi5plus'''</p>
<p>test@test:~/ Android_12$ '''source build/envsetup.sh'''</p>
<p>test@test:~/ Android_12$ '''lunch rk3588_box-userdebug'''</p>
<p>test@test:~/ Android_12$ '''./build.sh -AUKu'''</p>|}</li></ol>
</li>
<li><p>After the compilation is complete, the following information will be printed</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>********rkImageMaker ver 2.1********</p>
<p>Generating new image, please wait...</p>
<p>New image generated successfully!</p>
<p>Making update.img OK.</p>
<p>Make update image ok!</p>|}</li>
<li><p>The final image file will be placed in the '''rockdev/Image-rk3588_s''' directory. Among them, '''update.img''' is the boot image that supports TF card and eMMC, and '''update_spi_nvme.img''' is the boot image of NVME SSD</p>
{| class="wikitable" style="width:800px;" |-|<p>[mailto:test@test:~OrangePi_4/rk3399-android-8.1$ test@test:~/Android_12$] '''cd rockdev/Image-rk3588s_s'''</p><p>[mailto:test@test:~OrangePi_4/rk3399-android-8.1$ test@test:~/Android_12/rockdev/Image-rk3588s_s $] '''ls update*'''</p><p>update.img update_spi_nvme.img</p>|}</li>
<li><p>If you compile the image of the Box version, the final generated image file will be placed in the '''rockdev/Image-rk3588_box''' directory</p>
{| class="wikitable" style="width:800px;" |-|<p>[mailto:test@test:~OrangePi_4/rk3399-android-8.1$ test@test:~/Android_12$] '''cd rockdev/Image-rk3588_box'''</p><p>[mailto:test@test:~OrangePi_4/rk3399-android-8.1$ test@test:~/Android_12/rockdev/Image-rk3588_box$] '''ls update*'''</p><p>update.img update_spi_nvme.img</p>|}</li></ol>
<span id="instructions-for-using-the-orange-pi-os-droid-system"></span>
== Function adaptation of OPi OS Droid system ==
{| class="wikitable" style="width:800px;"
|-
| style="text-align: left;"| '''Function'''
|-
| style="text-align: left;"| '''AX200-WIFI'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''AX200-BT'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''AX210-WIFI'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''AX210-BT'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''RTL8852BE-WIFI'''
|-
| style="text-align: left;"| '''MIPI LCD'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|-
| style="text-align: left;"| '''HDMI CEC'''
| style="text-align: left;"| '''<span style="color:#FF0000">NO</span>'''
|}
<span id="test-method-of-hdmi-in-1"></span>
 
== Test method of HDMI In ==
<ol style="list-style-type: decimal;">
<li><p>The location of the HDMI In interface on the development board is as follows:</p>
<p>[[File:media/image265plus5-img265.png|282x90px]]</p></li>
<li><p>Then use the HDMI to HDMI cable shown in the figure below to connect the HDMI output of other devices to the HDMI In interface of the development board</p>
<p>[[File:media/image11plus5-img11.png|136x88px]]</p></li>
<li><p>Make sure that the HDMI output of the device connected to the HDMI In interface is normal, and then open the HDMI In test APP</p>
<p>[[File:media/image687plus5-img687.png|395x222px]]</p></li>
<li><p>Then the window shown in the figure below will appear. At this time, the video input of HDMI In cannot be seen. You need to click the position marked in the red box in the figure below to enlarge it to full screen</p>
<p>[[File:media/image688plus5-img688.png|384x229px]]</p></li>
<li><p>Then you can see the video input of HDMI In, and the audio input of HDMI In will also be output from the HDMI TX interface or headphone interface of the development board. The figure below shows the desktop of the Linux system of the OPi5 development board input through HDMI In.</p>
<p>[[File:media/image689plus5-img689.png|400x238px]]</p></li></ol>
<span id="appendix"></span>
{| class="wikitable"
|-
| * *vers ion**'''version'''
| * *'''Date**'''
| '''Updated Notes'''
|-
| v1.0
| 202 32023-05-22
| initial version
|-
| v1.1
| 202 32023-05-24| 1. How to use the infrared remote control of the Android Box system
2. Instructions for using the Orange Pi OS Droid system
|-
| v1.2
| 202 32023-05-26| 1. Ubuntu/Debian: HDMI IN test method
2. Delete the instructions for using the RTL8821CU USB WIFI module, this module is not recommended
|-
| v1.3
| 202 32023-05-29| 1. Update the method of using RKDevTool to burn the image to spiflash+ssd
2. Use RKDevTool to clear SPIFlash
 
|-
| v1.4
| 2023-05-31
|
1. Update the usage method of M.2 E-Key PCIe WIFI6+Bluetooth module
 
2. Ubuntu/Debian: How to use the ZFS file system
 
3. Ubuntu/Debian: Turn off the green light and blue light by default when booting
 
4. Add the instructions for using the Debian12 system (scattered in multiple sections)
 
5. Instructions for using the 5v pin in the 40pin interface of the development board to supply power
 
|-
| v1.5
| 2023-06-07
|
1. Add the picture of eMMC module
 
2. Correct the picture of the cooling fan interface
 
3. Add a method to check the temperature of nvme ssd
|}
<span id="image-update-history"></span>
 
== Image update history ==
{| class="wikitable"
|-
| * *'''Date**'''
| '''Updated Notes'''
|-
| 202 32023-05-19| Orangepi5plus_1.0.0_debian_bullseye_server_linux5.10.110.7z
Oran gepi5plus_1Orangepi5plus_1.0.0_debian_bullseye_desktop_xfce_linux5.10.110.7z
Orangepi5p lus_1Orangepi5plus_1.0.0_debian_bullseye_desktop_kde-plasma_linux5.10.110.7z
Orangepi5plus_1.0.0_ubuntu_focal_server_linux5.10.110.7z
O rangepi5plus_1Orangepi5plus_1.0.0_ubuntu_focal_desktop_xfce_linux5.10.110.7z Orangepi5plus_1.0.0_ubuntu_jammy_server_linux5.10.110.7z Orangepi5plus_1.0.0_ubuntu_jammy_desktop_xfce_linux5.10.110.7z Orangepi5plus_1.0.0_ubuntu_jammy_desktop_gnome_linux5.10.110.7z Opios-droid-aarch64-opi5plus-23.05-linux5.10.110.tar.gz Opios-droid-aarch64-opi5plus-23.05-linux5.10.110-spi-nvme.tar.gz OrangePi5Plus_RK3588_Android12_v1.0.0.tar.gz OrangePi5Plus_RK3588_Android12_lcd_v1.0.0.tar.gz OrangePi5Plus-RK3588_Android12-box_v1.0.0.tar.gz OrangePi5Plus_RK3588_Android12_spi-nvme_v1.0.0.tar.gz OrangePi5Plus_RK3588_Android12_spi-nvme_lcd_v1.0.0.tar.gz OrangePi5Plus-RK3588_Android12-box_spi-nvme_v1.0.0.tar.gz openwrt-aarch64-opi5plus-23.05-linux5.10.110-ext4.img.gz * initial version |-| 2023-05-22| Opios-arch-aarch64-gnome-opi5plus-23.05-linux5.10.110.img.xz openwrt-rockchip -armv8-xunlong_orangepi-5-plus-spi-squashfs-sysupgrade.bin * initial version |-| 2023-05-24| Orangepi5plus_1.0.2_debian_bullseye_desktop_kde-plasma_linux5.10.110 * Fix the problem that desktop audio cannot be used * Update the chromium browser to chromium-browser_110.0, which supports video playback in h264, h265, vp8, vp9 and av1 formats |-| 2023-05-26| Opios-arch-aarch64-gnome-opi5plus-23.05.1-linux5.10.110.img.xz * Taskbar: remove calendar and music, add shortcuts for command line terminal and browser * Support to open the command line terminal through the shortcut key of CTRL+ALT+T OrangePi5Plus_RK3588_Android12_v1.0.1.tar.gz OrangePi5Plus_RK3588_Android12_v1.0.1_lcd.tar.gz OrangePi5Plus_RK3588_Android12_v1.0.1_spi-nvme.tar.gz OrangePi5Plus_RK3588_Android12_v1.0.1_lcd_spi-nvme.tar.gz * pre-install google play store Orangepi5plus_1.0.4_debian_bullseye_desktop_kde-plasma_linux5.10.110.7z * Support CTRL+ALT+T shortcut to open the command line terminal * Added shortcuts for konsole terminal and chromium browser in the taskbar * Optimize the display name of the audio device * Optimize test_hdmiin.sh test script * Fix the problem that spiflash+nvme ssd cannot start Orangepi5plus_1.0.4_debian_bullseye_desktop_xfce_linux5.10.110.7z * Support CTRL+ALT+T shortcut to open the command line terminal * Optimize the display name of the audio device * Optimize test_hdmiin.sh test script * Update the chromium browser to chromium-browser_110.0, which supports video playback in h264, h265, vp8, vp9 and av1 formats * Fix the problem that spiflash+nvme ssd cannot start Orangepi5plus_1.0.4_ubuntu_focal_desktop_xfce_linux5.10.110.7z<br />Orangepi5plus_1.0.4_ubuntu_jammy_desktop_xfce_linux5.10.110.7z<br />Orangepi5plus_1.0.4_ubuntu_jammy_desktop_gnome_linux5.10.110.7z * Support CTRL+ALT+T shortcut to open the command line terminal * Optimize the display name of the audio device * Optimize test_hdmiin.sh test script * Fix the problem that spiflash+nvme ssd cannot start Orangepi5plus_1.0.4_debian_bullseye_server_linux5.10.110.7z<br />Orangepi5plus_1.0.4_ubuntu_focal_server_linux5.10.110.7z<br />Orangepi5plus_1.0.4_ubuntu_jammy_server_linux5.10.110.7z * Fix the problem that spiflash+nvme ssd cannot start |-| 2023-05-29| Opios-droid-aarch64-opi5plus-23.05.1-linux5.10.110-en.tar.gz Opios-droid-aarch64-opi5plus-23.05.1-linux5.10.110-en-spi-nvme.tar.gz * Pre-installed google play store (en in the above image name means English version, you need to go to Google network disk to download) |-| 2023-06-01| Orangepi5plus_1.0.6_ubuntu_jammy_desktop_xfce_linux5.10.110.7z * Fix the problem that the zfs file system cannot be installed * Add rk3588-opi5plus-disable-leds.dtbo, used to turn off blue and green lights * Update the chromium browser to chromium-browser_110.0, which supports video playback in h264, h265, vp8, vp9 and av1 formats
Orangepi5plus_1.0.0_ubuntu_jammy_server_linux56_debian_bullseye_desktop_xfce_linux5.10.110.7z
O rangepi5plus_1Orangepi5plus_1.0.0_ubuntu_jammy_desktop_xfce_linux56_debian_bullseye_desktop_kde-plasma_linux5.10.110.7z
Or angepi5plus_1.0.0_ubuntu_jammy_desktop_gnome_linux5.10.110* Update mpp package
Opios-droid-aarch64-opi5plus-23.05-linux5.10.110.tar.gz* Fix the problem that the zfs file system cannot be installed
Opios- droid-aarch64* Add rk3588-opi5plus-23.05-linux5.10.110-spidisable-nvme.tarleds.gzdtbo, used to turn off blue and green lights
OrangePi5Plus_RK3588_Android12_v1Orangepi5plus_1.0.06_ubuntu_focal_desktop_xfce_linux5.10.tar110.gz7z
OrangePi5Plus_RK3588_Android12_lcd_v1Orangepi5plus_1.0.06_ubuntu_jammy_desktop_gnome_linux5.10.tar110.gz7z
OrangePi5Plus-RK3588_Android12-box_v1Orangepi5plus_1.0.06_ubuntu_focal_server_linux5.10.tar110.gz7z
OrangePi5Plus_RK3588_Android12_spi-nvme_v1Orangepi5plus_1.0.06_debian_bullseye_server_linux5.10.tar110.gz7z
OrangePi5Plus_RK3588_Android12_spi-nvme_lcd_v1Orangepi5plus_1.0.06_ubuntu_jammy_server_linux5.10.tar110.gz7z
OrangePi5Plus* Add rk3588-RK3588_Android12opi5plus-box_spidisable-nvme_v1leds.0.0.tar.gzdtbo, used to turn off blue and green lights
openwrt-aarch64-opi5plus-23.05-linux5.10.110-ext4.img.gz* Fix the problem that the zfs file system cannot be installed
* initial versionOrangepi5plus_1.0.6_debian_bookworm_server_linux5.10.110
|-| 202 3-05-22| Op ios-arch-aarch64-gnome-opi5plus-23Orangepi5plus_1.05-linux50.6_debian_bookworm_desktop_xfce_linux5.10.110.img.xz openwrt-rockchip -armv8-xunlong_orangepi-5-plus-spi-squashfs-sysupgrade.bin
* initial version
 
|-
| 202 3-05-24
| Orangepi5p lus_1.0.2_debian_bullseye_desktop_kde-plasma_linux5.10.110
 
* Fix the problem that desktop audio cannot be used
 
* Update the chromium browser to chromium-browser_110.0, which supports video playback in h264, h265, vp8, vp9 and av1 formats
 
|-
| 202 3-05-26
| Opio s-arch-aarch64-gnome-opi5plus-23.05.1-linux5.10.110.img.xz
 
* Taskbar: remove calendar and music, add shortcuts for command line terminal and browser
 
* Support to open the command line terminal through the shortcut key of CTRL+ALT+T
 
OrangePi5Plus_RK3588_Android12_v1.0.1.tar.gz
 
OrangePi5Plus_RK3588_Android12_v1.0.1_lcd.tar.gz
 
OrangePi5Plus_RK3588_Android12_v1.0.1_spi-nvme.tar.gz
 
OrangePi5Plus_RK3588_Android12_v1.0.1_lcd_spi-nvme.tar.gz
 
* pre-install google play store
 
Orangepi5p lus_1.0.4_debian_bullseye_desktop_kde-plasma_linux5.10.110
 
* Support CTRL+ALT+T shortcut to open the command line terminal
 
* Added shortcuts for konsole terminal and chromium browser in the taskbar
 
* Optimize the display name of the audio device
 
* Optimize test_hdmiin.sh test script
 
* Fix the problem that spiflash+nvme ssd cannot start
 
Oran gepi5plus_1.0.4_debian_bullseye_desktop_xfce_linux5.10.110
 
* Support CTRL+ALT+T shortcut to open the command line terminal
 
* Optimize the display name of the audio device
 
* Optimize test_hdmiin.sh test script
 
* Update the chromium browser to chromium-browser_110.0, which supports video playback in h264, h265, vp8, vp9 and av1 formats
 
* Fix the problem that spiflash+nvme ssd cannot start
 
Or angepi5plus_1.0.4_ubuntu_focal_desktop_xfce_linux5.10.110<br />
Or angepi5plus_1.0.4_ubuntu_jammy_desktop_xfce_linux5.10.110<br />
Or angepi5plus_1.0.4_ubuntu_jammy_desktop_gnome_linux5.10.110
 
* Support CTRL+ALT+T shortcut to open the command line terminal
 
* Optimize the display name of the audio device
 
* Optimize test_hdmiin.sh test script
 
* Fix the problem that spiflash+nvme ssd cannot start
 
Orangepi5plus_1.0.4_debian_bullseye_server_linux5.10.110<br />
Orangepi5plus_1.0.4_ubuntu_focal_server_linux5.10.110<br />
Orangepi5plus_1.0.4_ubuntu_jammy_server_linux5.10.110
 
* Fix the problem that spiflash+nvme ssd cannot start
|}