Changes

Jump to: navigation, search

Orange Pi 3B

446 bytes added, 20:06, 10 August 2023
How to use balenaEtcher software to burn
</ol>
<ol start="4" style="list-style-type: decimal;">
<li><p>Burning the Linux image to SPIFlash+NVMe SSD requires 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 [[\lOrange Pi 3B#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 [[\lOrange Pi 3B#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 properly recognized by the Linux of the development board. If the NVMe SSD is recognized normally, use the '''sudo fdisk -l''' command to see '''nvme''' related information</p></li></ol>{| class="wikitable" style="width:800px;" |-|
orangepi@orangepi:~/Desktop$ '''sudo fdisk -l | grep &quot;nvme0n1&quot;'''
Disk /dev/nvme0n1: 1.86 TiB, 2048408248320 bytes, 4000797360 sectors
|}
Use the '''lspci''' command to see an NVMe-related PCI device
{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~/Desktop$ '''lspci'''
01:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. Device 5765 (rev 01)
|}</ol>
<ol start="6" style="list-style-type: decimal;">
<li>The balenaEtcher has been pre-installed in the Linux image, and the opening method is as follows:</li></ol>
<div class="figure">
</div>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''If it is not pre-installed, for [[\lOrange Pi 3B#The method of downloading and installing the balenaEtcher version of arm64|how to download and install the arm64 version of balenaEtcher]], please refer to the instructions in the section on how to download and install the arm64 version of balenaEtcher.'''</big>|}</ol>
<ol start="7" style="list-style-type: decimal;">
<li>The interface after balenaEtcher is opened is as follows:</li></ol>
<div class="figure">
[[File:pi3b-img90.png]]
</div></ol>
<ol start="8" style="list-style-type: decimal;">
<li><p>The method of using balenaEtcher to burn u-boot to the SPI Flash of the development board is as follows:</p>
<ol style="list-style-type: lower-alpha;">
<li>First click on '''Flash from file'''</li></ol></li></ol>
<div class="figure">
[[File:pi3b-img91.png]]
</div></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then enter the '''/usr/lib/Linux-u-boot-legacy-orangepi3b_1.x.x_arm64''' directory, select '''rkspi_loader.img''', and click '''Open''' to open</li></ol>
<div class="figure">
[[File:pi3b-img92.png]]
</div></ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>The interface after opening '''rkspi_loader.img''' is as follows:</li></ol>
[[File:pi3b-img93.png]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then click '''Select target'''</li></ol>
<div class="figure">
[[File:pi3b-img94.png]]
</div></ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>Then click '''Show 2 hidden''' to open more options for storage devices</li></ol>
<div class="figure">
[[File:pi3b-img95.png]]
</div></ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then select the device name of SPI Flash '''/dev/mtdblock0''', and click '''Select'''</li></ol>
<div class="figure">
[[File:pi3b-img96.png]]
</div></ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click '''Flash'''</li></ol>
<div class="figure">
[[File:pi3b-img97.png]]
</div></ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then click '''Yes, I'm sure'''</li></ol>
<div class="figure">
[[File:pi3b-img98.png]]
</div></ol><ol start="9" style="list-style-type: lower-romanalpha;"><li>Then enter the password '''orangepi''' of the development board Linux system, and it will start burning the u-boot image into the SPI Flash</li></ol>
<div class="figure">
[[File:pi3b-img99.png]]
</div></ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li>The display of the burning process is as follows:</li></ol>
<div class="figure">
[[File:pi3b-img100.png]]
</div></ol>
<ol start="11" style="list-style-type: lower-alpha;">
<li>The display after burning is as follows:</li></ol>
<div class="figure">
[[File:pi3b-img101.png]]
</div></ol></li></ol>
<ol start="9" style="list-style-type: decimal;">
<li><p>The method of burning the Linux system in the TF card to the NVMe SSD (this method is equivalent to cloning the system in the TF card to the NVMe SSD)</p>
<ol style="list-style-type: lower-alpha;">
<li>First click '''Clone drive'''</li></ol></li></ol>
<div class="figure">
[[File:pi3b-img102.png]]
</div></ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then select the device name of the TF card '''/dev/mmcblk1'''</li></ol>
<div class="figure">
[[File:pi3b-img103.png]]
</div></ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>The interface after opening the TF card is as follows:</li></ol>
<div class="figure">
[[File:pi3b-img104.png]]
</div></ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>Then click '''Select target'''</li></ol>
<div class="figure">
[[File:pi3b-img94.png]]
</div></ol>
<ol start="5" style="list-style-type: lower-alpha;">
<li>Then click '''Show 2 hidden''' to open more options for storage devices</li></ol>
<div class="figure">
[[File:pi3b-img95.png]]
</div></ol>
<ol start="6" style="list-style-type: lower-alpha;">
<li>Then select the device name of the NVMe SSD '''/dev/nvme0n1''', and click '''Select'''</li></ol>
[[File:pi3b-img105.png]]
</ol>
<ol start="7" style="list-style-type: lower-alpha;">
<li>Then click '''Flash'''</li></ol>
<div class="figure">
[[File:pi3b-img106.png]]
</div></ol>
<ol start="8" style="list-style-type: lower-alpha;">
<li>Then click '''Yes, I'm sure'''</li></ol>
<div class="figure">
[[File:pi3b-img107.png]]
</div></ol><ol start="9" style="list-style-type: lower-romanalpha;"><li>Then enter the password orangepi of the Linux system on the development board, and it will start burning the Linux image to the SSD</li></ol>
<div class="figure">
[[File:pi3b-img108.png]]
</div></ol>
<ol start="10" style="list-style-type: lower-alpha;">
<li>The display of the burning process is as follows:</li></ol>
[[File:pi3b-img109.png]]
[[File:pi3b-img110.png]]
</div></ol>
<ol start="11" style="list-style-type: lower-alpha;">
<li>The display after burning is as follows:</li></ol>
[[File:pi3b-img111.png]]
</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><p>a) Open '''GParted''' first, if the system does not have Gparted pre-installed, please use the apt command to install it</p>{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''sudo apt-get install -y gparted'''</p></li></ol>|}</li></ol>
<div class="figure">
[[File:pi3b-img112.png]]
</div></ol><ol start="2" style="list-style-type: lower-alphanone;"><li>b) Then enter the password orangepi of the Linux system, and click '''Authenticate'''</li></ol>
[[File:pi3b-img113.png]]
</ol><ol start="3" style="list-style-type: lower-alphanone;"><li>c) Then click '''Fix'''</li></ol>
[[File:pi3b-img114.png]]
</ol><ol start="4" style="list-style-type: lower-alphanone;"><li>d) Then select NVMe SSD</li></ol>
<div class="figure">
[[File:pi3b-img115.png]]
</div></ol><ol start="5" style="list-style-type: lower-alphanone;"><li>e) The display interface after selecting NVMe SSD is as follows:</li></ol>
<div class="figure">
[[File:pi3b-img116.png]]
</div></ol><ol start="6" style="list-style-type: lower-alphanone;"><li>f) Then select the '''/dev/nvme0n1p2''' partition, click the right button again, and then select '''Resize/Move'''</li></ol>
<div class="figure">
[[File:pi3b-img117.png]]
</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></ol>
[[File:pi3b-img118.png]]
</ol><ol start="8" style="list-style-type: lower-alphanone;"><li>h) Then click '''Resize/Move'''</li></ol>
[[File:pi3b-img119.png]]
</ol><ol style="list-style-type: lower-romannone;"><li>i) Then click the green '''√''' in the position below</li></ol>
[[File:pi3b-img120.png]]
</ol><ol start="10" style="list-style-type: lower-alphanone;"><li>j) Then click '''Apply'''</li></ol>
[[File:pi3b-img121.png]]
</ol><ol start="11" style="list-style-type: lower-alphanone;"><li>k) Then click '''Close''' to close</li></ol>
[[File:pi3b-img122.png]]
</ol></li></ol>
<ol start="13" style="list-style-type: lower-alpha;">
<li>l) At this point, you can use the '''sudo poweroff''' command to shut down. Then please pull out the TF card, and then short press the power button to turn on, then the Linux system in SPIFlash+NVMe SSD will be started.</li></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>
<li><p>Then use balenaEtcher to burn</p></li></ol></li></ol>
<div class="figure">
[[File:pi3b-img123.png]]
</div></ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>'''After using this method to burn the image, there is no need to manually expand the capacity, and it will automatically expand the capacity at the first startup.'''</li></ol>
</li></ol>
<span id="how-to-burn-android-image-to-tf-card"></span>

Navigation menu