Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 2

1,072 bytes added, 17:00, 27 June 2022
Method of flashing Linux image or OpenWRT image to TF card based on Ubuntu PC
c.After the image writing is completed, click the '''"Exit"''' button to exit, and then you can pull out the TF card and insert it into the development board to start
=== '''Method of flashing burning Linux image or OpenWRT image to TF card based on Ubuntu PC''' ===
<br>
1)The method of flashing OpenWRT image based on Ubuntu PC is <div style="border:1px solid #000;padding:2px;"><div style="border:1px solid #000;padding:5px;background:#ffffdc;">'''Note that the same as that of flashing Linux image. The following is an example of flashing mentioned here specifically refers to a Linux distribution imagesuch as Debian or Ubuntu downloaded from the Orange Pi data download page, and Ubuntu PC refers to a personal computer with Ubuntu installed.'''</div><br/div>
<br>
21)First, prepare a TF card with 8GB or larger capacitymore. The transmission speed of the TF card must be class10 or above class10. It is recommended to use a TF card of from a brand such as SanDisk and other brands<br>
<br>
32)Then use a the card reader to insert the TF card into the computer<br>
<br>
43)Download balenaEtcher software, the download address is<br>
https://www.balena.io/etcher/
54)After entering the balenaEtcher download page, please select the Linux version of the software through the drop-down box to download<br>
<br>
<div style="padding-left:200px">[[File:Orange-pi-3lts-selectlinuxversion.png|600px]]</div>
<br>
65)After downloading, use unzip to decompress. The decompressed balenaEtcher-1.5.109-x64.AppImage is the software needed to burn Linux image
<div style="background:#f1f1f1;border: 1px solid #000;">
test@test:~$ '''unzip balena-etcher-electron-1.5.109-linux-x64.zip'''<br>
</div>
<br>
76)Download the compressed package of the Linux operating system image file compression package you want to burn from Orange Pi's the data download pageof Orange Pi, and then use the decompression software to decompress it. In the decompressed file, the file ending with ".img" is the image file of the operating system image file. The size It is generally above more than 1GB<br>a.The decompression command of for the compressed package at the end of Documentation ending in 7z is as follows<br>
<div style="background:#f1f1f1;border: 1px solid #000;">
test@test:~$ '''7z x Orangepir1plus-lts_2Orangepizero2_2.12.4_ubuntu_bionic_server_linux50_ubuntu_focal_desktop_linux4.109.44170.7z'''<br> test@test:~$ '''ls Orangepir1plus-lts_2Orangepizero2_2.12.4_ubuntu_bionic_server_linux50_ubuntu_focal_desktop_linux4.109.44170.*'''<br>Orangepir1plus-lts_2Orangepizero2_2.12.4_ubuntu_bionic_server_linux50_ubuntu_focal_desktop_linux4.109.44170.7z <br>Orangepir1plus-lts_2.1 Orangepizero2_2.4_ubuntu_bionic_server_linux52.100_ubuntu_focal_desktop_linux4.449.img170.sha #Checksum checksum file<br>'''Orangepir1plus-lts_2Orangepizero2_2.12.4_ubuntu_bionic_server_linux50_ubuntu_focal_desktop_linux4.109.44170.img''' # image file
</div>
<br>
87)After decompressing the image, you can first use the sha256sum -c *.sha command to calculate whether the checksum is correct. If the message is successful, it is prompted means that the downloaded image is correct, you . You can safely burn it to the TF card. If the checksum does not match, it indicates means that There is a problem with the downloaded image, please try to download again<br>
<div style="background:#f1f1f1;border: 1px solid #000;">
test@test:~$ '''sha256sum -c *.sha'''<br>
Orangepir1plus-lts_2orangepizero2_2.12.4_ubuntu_bionic_server_linux50_ubuntu_bionic_server_linux4.109.44170.img: Successsuccess
</div>
98)Then double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher (no installation required), and the interface after balenaEtcher is opened interface is shown in the following figure below<br><div style="padding-left:200px">[[File:Orange-pi-4-lts-img35.png|600px]]</div><br>9)The specific steps to use balenaEtcher to burn a Linux image are as follows
<div style="padding-left:20px;">
a. First select the path of the linux Linux image fileto be burned<br>b. Then select the device number symbol of the TF card<br>c. Finally , click Flash to start burningthe Linux image to the TF card
</div>
<div style="padding-left:200px">[[File:Orange-pi-3lts4-balenaetcherlts-img36.png|600px]]</div><br>10)The writing speed and remaining time interface displayed in the process of balenaEtcher burning the Linux image is shown in the figure below. In addition, the progress bar shows purple to indicate that the Linux image is being burned to the TF card.<div style="padding-left:200px">[[File:Orange-pi-4-lts-img37.png|600px]]</div><br>11)After the Linux image is burned, balenaEtcher will be prompted during 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 burned, and balenaEtcher is verifying the burned image.<div style="padding-left:200px">[[File:Orange-pi-3lts4-lts-balenaetcher1img38.png|600px]]</div>11<br>12)After the successful burning, the following display interface will be of balenaEtcher is 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 unplug exit balenaEtcher, and then pull out the TF card from the computer and insert it into the TF card slot of the development board to start.<div style="padding-left:200px">[[File:Orange-pi-3lts4-lts-balenaetcher2img39.png|600px]]</div><br>
=== '''Method of flashing Android firmware to TF card''' ===