Changes

Jump to: navigation, search

Orange Pi CM4

248 bytes added, 11:13, 18 September 2023
Method of burning Linux image to TF card based on Ubuntu PC
== Method of burning Linux image to TF card based on Ubuntu PC ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''Note that the Linux images here refer specifically to the images of Linux distributions like Debian, Ubuntu, and OPi OS Arch downloaded from the [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM4-1.html Orange Pi's data download page], and Ubuntu PC refers to a personal computer with Ubuntu installed.'''</big>|}
# First prepare a 16GB or larger capacity TF card, TF card transmission speed must be class10 or above, it is recommended to use Sandisk and other brands of TF card
# Then use the card reader to insert the TF card into the computer
# Download the balenaEtcher software, the download address is
::{| class="wikitable" style="width:800px;" |-|
[https://www.balena.io/etcher/ '''https://www.balena.io/etcher/''']
|}
<ol start="4" style="list-style-type: decimal;">
<li><p>Download the compressed Linux operating system image file you want to burn from [http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM4-1.html '''Orange Pi's data download page'''], and then use the decompression software to decompress it. Files ending with &quot;'''.img''' &quot;in the decompressed files are the image files of the operating system, and the size is generally more than 2GB</p>
<p>The following command is used to decompress the compressed package ending in 7z</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''7z x Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.7z'''</p>
<p>test@test:~$ '''ls Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.*'''</p>
<p>Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.7z Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.sha #Checksum file</p>
<p>Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.img #Image file</p>|}</li>
<li><p>After decompressing the image, you can first use the '''sha256sum -c *.sha''' command to calculate whether the checksum is correct, if the success indicates that the downloaded image is not wrong, you can rest assured to burn to the TF card, if the '''checksum does not match''' that there is a problem with the downloaded image, please try to re-download</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sha256sum -c *.sha'''</p>
<p>Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.img: OK</p>|}</li>
<li><p>Then double-click '''balenaEtcher-1.5.109-x64.AppImage''' in the graphical interface of Ubuntu PC to open balenaEtcher '''(no installation required)''', and the interface after balenaEtcher is opened is shown as the following figure</p>
<p>[[File:cm4-img59.png]]</p></li>
<span id="methods-for-burning-linux-images-to-emmc"></span>
 
== Methods for burning Linux images to eMMC ==

Navigation menu