Chapt 2. Introduction to the use of the development board
2.4. Method of burning Linux image to TF card based on Ubuntu PC
Note that the Linux image mentioned here specifically refers to the image of Linux distributions such as Debian or Ubuntu downloaded from the Orange Pi data download page, and the Ubuntu PC refers to the personal computer with the Ubuntu system installed.
1) First prepare a TF card with a capacity of 8GB 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
2) Then use the card reader to insert the TF card into the computer
3) Download the balenaEtcher software, the download address is
https://www.balena.io/etcher/
4) After entering the balenaEtcher download page, click the green download button to jump to the place where the software is downloaded
Img
2.34
5) Then choose to download the Linux version of the software
Img
2.35
6) Download the image file compression package of the Linux operating system that you want to burn from the Orange Pi data download page, and then use the decompression software to decompress it.
Among the decompressed files, the file ending with ".img" is the image file of the operating system.
The size is generally above 1GB. The decompression command for the compressed package ending in 7z is as follows:
test@test:~$ 7z x orangepizero3_1.0.0_ubuntu_focal_desktop_linux6.1.31.7z \
test@test:~$ ls orangepizero3_1.0.0_ubuntu_focal_desktop_linux6.1.31.*
orangepizero3_1.0.0_ubuntu_focal_desktop_linux6.1.31.7z
orangepizero3_1.0.0_ubuntu_focal_desktop_linux6.1.31.sha # checksum file
orangepizero3_1.0.0_ubuntu_focal_desktop_linux6.1.31.img # mirror file
7) After decompressing the image, you can first use the sha256sum -c*.sha command to calculate whether the checksum is correct.
If the prompt is successful, it means that the downloaded image is correct, and you can safely burn it to the TF card.
If it prompts that the checksum does not match, it means
There is a problem with the downloaded image, please try to download again
test@test:~$ sha256sum -c *.sha
orangepizero3_ 1.0.0_ubuntu_focal_desktop_linux6.1.31.img: success
8) 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 displayed as shown in the figure below
Img
2.36
9) The specific steps to use balenaEtcher to burn the Linux image are as follows
a. First select the path of the Linux image file to be burned
b. Then select the drive letter of the TF card
c. Finally click Flash to start burning the Linux image to the TF card
Img
2.37
10) 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
Img
2.38
11)After burning the Linux image, balenaEtcher will also verify the image burned into 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
Img
2.39
12) 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
Img
2.40