Difference between revisions of "Orange Pi 4 LTS"

From Wiki-Orange Pi
Jump to: navigation, search
Line 289: Line 289:
 
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
 
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
  
2)Then use the card reader to insert the TF card into the computer
+
2)Then use the card reader to insert the TF card into the computer<br>
 +
 
 +
3)Download balenaEtcher software, the download address is<br>
 +
  https://www.balena.io/etcher/
 +
 
 +
4)After entering the balenaEtcher download page, please select the Linux version of the software through the drop-down box to download
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img34.png|600px|]]</div>
 +
<br>
 +
5)After downloading, please use the '''unzip''' command to decompress the downloaded compressed package. The decompressed '''balenaEtcher-1.5.109-x64.AppImage''' is the software needed to burn the Linux image
 +
<div style="background:#f1f1f1;border:1px solid #000;">
 +
test@test:~$ '''unzip balena-etcher-electron-1.5.109-linux-x64.zip''' <br>
 +
Archive:  balena-etcher-electron-1.5.109-linux-x64.zip<br>
 +
inflating: balenaEtcher-1.5.109-x64.AppImage<br> 
 +
test@test:~$ '''ls'''<br>
 +
'''balenaEtcher-1.5.109-x64.AppImage'''  balena-etcher-electron-1.5.109-linux-x64.zip
 +
</div>
 +
<br>
 +
6)Download the compressed package of the Linux operating system image file you want to burn from the data download page of 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. The size is generally more than 1GB<br>
 +
The decompression command for the compressed package ending in 7z is as follows
 +
<div style="background:#f1f1f1;border:1px solid #000;">
 +
test@test:~$ '''7z x''' <br>
 +
'''Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.7z'''  <br>
 +
test@test:~$ '''ls Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.*''' <br>
 +
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.7z    <br>
 +
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.sha  #checksum file <br>
 +
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.img  #image file
 +
</div>
 +
<br>
 +
7)After decompressing the image, you can use the sha256sum -c *.sha command to calculate whether the checksum is correct. If the message is successful, it means that the downloaded image is correct, and you can safely burn it to the TF card. If the checksum does not match, it means that There is a problem with the downloaded image, please try to download again
 +
<div style="background:#f1f1f1;border:1px solid #000;">
 +
test@test:~$ '''sha256sum -c *.sha''' <br>
 +
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.img: '''success'''
 +
</div>
 +
<br>
 +
8)Then double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher (no installation required), the interface after balenaEtcher is opened is shown in the following figure
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img35.png|600px|]]</div>
 +
<br>
 +
 
 +
9)The specific steps to use balenaEtcher to burn a Linux image are as follows<br>
 +
a. First select the path of the Linux image file to be burned<br>
 +
b. Then select the drive letter of the TF card<br>
 +
c. Finally, click Flash to start burning the Linux image to the TF card
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img36.png|600px|]]</div>
 +
<br>
 +
 
 +
10)The 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;">[[文件:Orange-pi-4-lts-img37.png|600px|]]</div>
 +
<br>
 +
 
 +
11)After the Linux image is burned, 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 burned, and balenaEtcher is verifying the burned image.
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img38.png|600px|]]</div>
 +
<br>
 +
 
 +
12)After the successful burning, the display interface 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 exit balenaEtcher, and then pull out the TF card and insert it into the TF card slot of the development board.
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img39.png|600px|]]</div>
 +
<br>
 +
 
 +
=== '''Method of programming Linux image to eMMC''' ===
 +
<br>
 +
<div style="color:#0070c0;">See the method of burning linux image to EMMC</div>
 +
<br>
 +
=== '''How to burn Android firmware to TF card''' ===
 +
<br>
 +
<div style="border:1px solid #000;padding:2px;">
 +
<div style="border:1px solid #000;padding:4px;background:#ffffdc;">
 +
 '''The Android firmware of the development board can only be burned to the TF card using SDDiskTool software under the Windows platform. In addition, the SDDiskTool software does not have a Linux platform version, so it is impossible to burn the Android system to the TF card under the Linux platform.'''
 +
</div>
 +
</div>
 +
 
 +
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
 +
 
 +
2)Then use the card reader to insert the TF card into the computer<br>
 +
 
 +
3)Then download the SDDiskTool programming tool and Android firmware from the data download page of Orange Pi. The Android firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the TF card boot version, and pay attention to the TF card boot version. The name of the Android firmware contains the word "SD"<br>
 +
 
 +
4)Then use the decompression software to decompress the downloaded Android firmware compressed package. In the decompressed file, the file ending with ".img" is the Android firmware<br>
 +
 
 +
5)Then use the decompression software to decompress '''SDDiskTool_v1.59.zip''', this software does not need to be installed, find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img40.png|600px|]]</div>
 +
<br>
 +
6)After opening '''SDDiskTool''', if the TF card is recognized normally, the inserted disk device will be displayed in the '''"Select Removable Disk Device"''' column. <span style="color:res">Please make sure that the displayed disk device is the same as the drive letter of the TF card you want to burn</span>. Yes, if there is no display, you can try to unplug the TF card
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img41.png|600px|]]</div>
 +
<br>
 +
7)After confirming the drive letter, 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
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img42.png|600px|]]</div>
 +
<br>
 +
8)Then start writing Android image to TF card<br>
 +
<p style="padding-left:20px;">
 +
a. First check "SD Boot" in "Select Function Mode"<br>
 +
b. Then select the path of the Android image in the "Select firmware upgrade" column<br>
 +
c. Finally, click the "Start Creation" button to start burning the Android image to the TF card
 +
</p>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img43.png|600px|]]</div>
 +
<br>
 +
9) After burning, you can exit SDDiskTool, and then you can pull out the TF card from the computer and insert it into the development board to start<br>
 +
 
 +
=== '''The method of burning Android firmware to eMMC based on Windows PC''' ===
 +
<div style="border:1px solid #000;padding:2px;">
 +
<div style="border:1px solid #000;padding:4px;background:#ffffdc;">
 +
 '''Orange Pi 4 LTS has three upgrade modes, namely MaskRom mode, Loader mode and SD upgrade mode. The first two modes need to be burned through the Type C cable, and the latter mode is burned through the TF card. For the way of programming through Type C cable, if there is no programming system in eMMC, it will enter MaskRom mode by default. If a bootable system has been programmed in eMMC, you can enter Loader mode for programming. It should be noted that if the system in eMMC is damaged due to an accident in programming or other reasons, it will not be able to enter the Loader mode for programming. You need to enter the MaskRom mode according to the method of entering the MaskRom mode, and then use the TypeC cable to connect. Computer and development board for programming'''
 +
</div>
 +
</div>
 +
==== '''Directly burn Android firmware to eMMC through Type C interface''' ====
 +
1)First prepare a good quality Type C data cable<br>
 +
 
 +
2)Then download the Rockchip driver DriverAssitant_v4.6, the burning tool AndroidTool and the firmware of Android8.1 from the data download page of Orange Pi. The Android firmware on the official website has two versions: eMMC boot and TF card boot, here you need to choose eMMC The boot version, note that the name of the Android firmware that supports eMMC boot does not contain the word "SD", and please ensure that the version of the AndroidTool tool is v2.58, please do not use AndroidTool software lower than v2.58 to burn Android 8.1 firmware of Orange Pi 4 LTS, AndroidTool tools lower than this version may have problems to program Android 8.1 system<br>
 +
 
 +
3)Decompress DriverAssitant_v4.6.zip with decompression software, find the DriverInstall.exe executable file in the decompressed folder and open it<br>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img44.png|600px|]]</div>
 +
<br>
 +
4)The steps to install Rockchip micro driver are as follows<br>
 +
a.Click the "Driver Installation" button
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img45.png|600px|]]</div>
 +
<br>
 +
b.After waiting for a while, a pop-up window will prompt "Driver installed successfully"
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img46.png|600px|]]</div>
 +
<br>
 +
5)Unzip AndroidTool_v2.58.zip, this software does not need to be installed, just find AndroidTool in the unzipped folder and open it
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img47.png|600px|]]</div>
 +
<br>
 +
6)After opening the AndroidTool tool, because the computer has not been connected to the Orange Pi 4 LTS development board through the Type-C cable at this time, the lower left corner will prompt "No Devices Found"
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img48.png|600px|]]</div>
 +
<br>
 +
7)Then start the burning of Android firmware<br>
 +
<p style="padding-left:20px;">
 +
a. First connect the DC power adapter to the OrangePi 4 LTS development board, and make sure to unplug the TF card<br>
 +
b. Then connect OrangePi 4 LTS to Windows PC via Type-C cable<br>
 +
c. First press and hold the upgrade button of Orange Pi 4 LTS, then lightly press the reset button and release it immediately, wait for 3~5 seconds and then release the upgrade button. The position of the button on the development board is shown in the figure below.
 +
</p>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img49.png|600px|]]</div>
 +
a.If the previous steps are successful, the development board has entered the Loader mode, and "Found One LOADER Device" will be prompted on the interface of the AndroidTool tool
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img50.png|600px|]]</div>
 +
<br>
 +
<div style="border:1px solid #000;padding:2px;">
 +
<div style=""border:1px solid #000;padding:4px;background:#fffffd>
 +
 '''If no system is burned in eMMC, then AndroidTool will prompt "Found a MaskROM device"'''
 +
</div>
 +
</div>
 +
<br>
 +
b.Then click the "Upgrade Firmware" column of AndroidTool<br>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img51.png|600px|]]</div>
 +
c.Then click the "Firmware" button to select the path of the Android firmware, and then click "Open", as shown in the following figure
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img52.png|600px|]]</div>
 +
d.After the Android firmware path selection is completed, the firmware will start to be loaded, and the button will turn into a gray unselectable state.
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img53.png|600px|]]</div>
 +
e.After the firmware is loaded, the button becomes selectable, and then click "Erase Flash" to start erasing eMMC
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img54.png|600px|]]</div>
 +
f.The interface of the successful erasing is shown in the figure below, because the system in eMMC has been erased, so you can see the prompt "found a MASKROM device"
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img55.png|600px|]]</div>
 +
g.Finally, click the "Upgrade" button to burn. During the burning process, the AndroidTool is displayed as shown in the figure below, and the Android system will automatically start after the burning is completed.
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img56.png|600px|]]</div>
 +
==== '''Burn Android image to eMMC via TF card''' ====
 +
1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk<br>
 +
 
 +
2)Then use the card reader to insert the TF card into the computer<br>
 +
 
 +
3)Download the Android firmware and SDDiskTool programming tool from the data download page of Orange Pi. It should be noted that the firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the eMMC boot version, and pay attention to support eMMC boot The firmware does not contain the word "SD", and please ensure that the version of SDDiskTool is v1.59<br>
 +
 
 +
4)Then use the decompression software to decompress the downloaded Android firmware compressed package. In the decompressed file, the file ending with ".img" is the Android firmware<br>
 +
 
 +
5)Use the decompression software to decompress '''SDDiskTool_v1.59.zip''', this software does not need to be installed, just find '''SD_Firmware_Tool.exe''' in the decompressed folder and open it<br>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img57.png|600px|]]</div>
 +
<br>
 +
After opening SDDiskTool, if the TF card is recognized normally, the inserted disk device will be displayed in "Select Removable Disk Device". Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn. If there is no display, you can try to unplug the TF card<br>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img58.png|600px|]]</div>
 +
<br>
 +
7)Then start writing Android firmware to TF card<br>
 +
<p style="padding-left:20px;">
 +
a. First select the path of the Android firmware in the "Choose firmware" column<br>
 +
b. Then select "Firmware Upgrade" in "Choose function mode"<br>
 +
c. Finally click the "Create" button to start burning</p>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img59.png|600px|]]</div>
 +
<br>
 +
8)After burning, you can exit SDDiskTool, and then you can unplug the TF card from the computer and insert it into the development board. After the development board is powered on, it will start to burn the Android firmware in the TF to the eMMC.<br>
 +
 
 +
9)If the development board is connected to an HDMI display, you can also see the progress bar of burning Android firmware to eMMC from the HDMI display
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img60.png|600px|]]</div>
 +
<br>
 +
10)When the following information is displayed, it means that the Android firmware has been burned into the eMMC. At this time, the TF card can be pulled out, and then the Android system in the eMMC will start to start.
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-lts-img61.png|600px|]]</div>
 +
<br>

Revision as of 11:14, 17 June 2022

Basic Features of Orange Pi 4 LTS

What is Orange Pi 4 LTS?

 Orange Pi is an open source single-board card computer, a new generation of arm64 development boards, which can run operating systems such as Android 8.1, Ubuntu and Debian. Orange Pi development board (Orange Pi 4 LTS) uses Rockchip RK3399 or RK3399-T SoC, and has 3GB or 4GB LPDDR4 memory

Purpose of Orange Pi 4 LTS

we can use it to build:

  • A computer
  • A wireless server
  • Games
  • Music and sounds
  • HD video
  • Android


Of course there are many more features as Orange Pi is open source

Who is Orange Pi 4 LTS designed for?

 The Orange Pi development board is not just a consumer product, it is designed for anyone who wants to use technology to create and innovate. It's a very simple, fun, and useful tool that you can use to shape the world around you

Hardware specification

Hardware specification
CPU
  • Rockchip RK3399 or RK3399-T
  • 6-core ARM® 64-bit processor
  • The main frequency of RK3399 is up to 1.8GHz,and the main frequency of RK3399-T is up to 1.6GHz
  • Based on big.LITTLE large and small core architecture: Dual-core Cortex-A72 (large core) + quad-core Cortex-A53 (small core)
GPU
  • High-performance multi-core GPU Mali T864
  • OpenGL ES 1.1/2.0/3.0
  • OpenCL 1.0/1.1/1.2
  • DirectX 9/11.1
RAM 3GB or 4GB LPDDR4
Onboard storage
  • 16GB EMMC or Default Empty
  • TF card slot
Network 10/100/1000Mbps Ethernet ( YT8531C )
WIFI+Bluetooth
  • UWE5622, IEEE 802.11 a/b/g/n/ac
  • BT5.0
video output

HDMI 2.0 x 1(Type-A), support 4K@60 frame output
DP 1.2 x1 (DisplayPort) , support 4K@60 frame output
Supports dual channel MIPI-DSI (4 wires per channel)

video input MIPI-CSI x2 camera interface (MIPI_RX0, MIPI_TX1/RX1)
Audio output
  • 3.5mm headphone jack
  • HDMI
audio input
  • Onboard MIC
  • Headphone recording
power supply
  • DC 5V/3A or DC 5V/4A
  • TYPE-C 5V/4A
USB port
  • USB2.0 HOST x 2
  • USB3.0 HOST x 1
  • USB3.0 Type-C x 1
26 pins header with I2Cx2, SPIx1 or UARTx1 and multiple GPIOs
Mini-PCIE 24pin mini-PCIE interface
Debug serial port UART-TX、UART-RX and GND
LED Power led & Status led
Button Reset button x1, upgrade button x1
Supported OS Android8.1、Ubuntu、Debian
Appearance Specifications
Dimension 91mm×56mm
Orange Pi™ is a trademark of the Shenzhen Xunlong Software CO., Limited

Top view and bottom view of Orange Pi 4 LTS


RK3399+4GB LPDDR4 with 16GB eMMC version


Top view:

500px|

Buttom view:

500px|

RK3399+4GB LPDDR4 without 16GB eMMC version


Top view:

500px|

Buttom view:

500px|

RK3399-T+3GB LPDDR4 with 16GB eMMC version


Top view:

500px|

Buttom view:

500px|

RK3399-T+3GB LPDDR4 without 16GB eMMC version


Top view:

500px|

Buttom view:

500px|

Interface details of Orange Pi 4 LTS

RK3399+4GB LPDDR4


600px|

RK3399-T+3GB LPDDR4


600px|


600px|

Introduction to the use of the development board


Prepare the necessary accessories


1)TF card, a high-speed card of class 10 or above with a minimum capacity of 8GB, it is recommended to use a SanDisk TF card, the Orange Pi test is to use a SanDisk TF card, other brands of TF cards may cause the system to fail to boot.

400px|

2)TF card reader, used to read and write TF card

400px|

3)HDMI to HDMI cable, used to connect the development board to an HDMI monitor or TV for display

400px|

4)Type-C to HDMI cable, connect the development board to HDMI display or TV through Type-C interface for display

400px|

5)Type-C to USB3.0 adapter, used to connect USB3.0 storage devices or USB devices such as mouse and keyboard

400px|

6)10.1-inch MIPI screen, used to display the system interface of the development board

400px|

7)Power adapter, Orange Pi 4 LTS supports 5V/3A or 5V/4A DC power supply, and also supports 5V/4A Type-C power supply

400px|


 It is not recommended to use 5V/3A Type-C power supply, because the system may be unstable due to insufficient power supply. In addition, the Orange Pi 4 LTS cannot be powered through the 5v pin on the 26pin interface

8)USB interface mouse and keyboard, as long as it is a standard USB interface mouse and keyboard, the mouse and keyboard can be used to control the Orange Pi development board
9)Metal heat dissipation shell, Orange Pi 4 LTS matching metal shell is shown in the figure below, because the RK3399/RK3399-T chip generates a relatively large amount of heat, it is necessary to have a metal shell

500px|

10)If you don't buy a metal cooling case, it is recommended to add a 5V cooling fan. As shown in the figure below, there are 5V and GND pins on the 26pin interface of the development board that can be connected to the cooling fan. The spacing between the 26pin pin headers is 2.54mm. The power interface of the cooling fan can be purchased from Taobao according to this specification (the development board is plugged into the power supply) After the 5V pin can be used directly, no other settings are required)

500px|

11)Fast or Gigabit Ethernet cable to connect the development board to the Internet

12)OV13850 13MP camera, dedicated camera for Orange Pi 4 LTS, compatible with MIPI interface

400px|


13)3.3V USB to TTL module and DuPont cable, when using the serial port debugging function, USB to TTL module and DuPont cable are required to connect the development board and computer

400px| 400px|


14)A PC with Ubuntu and Windows operating systems installed

1 Ubuntu14.04 PC Optional, used to compile Android source code
2 Ubuntu21.04 PC Optional, used to compile Linux source code
3 Windows PC For burning Android and Linux images

Download the image of the development board and related files


1)The download URL of the Chinese version of the file is:

 http://www.orangepi.cn/downloadresourcescn/


2)The download URL of the English version of the file is:

 http://www.orangepi.org/downloadresources/


3)The information mainly includes

a.Android source code: saved on Baidu cloud disk and Google network disk
b.Linux source code: saved on github, the link address is

 https://github.com/orangepi-xunlong/orangepi-build

c.User manual and schematic diagram: The data sheet related to the chip will also be placed here
d.Official tools: mainly include the software that needs to be used during the use of the development board
e.Android image: save on Baidu cloud disk and Google network disk
f.Ubuntu image: save on Baidu cloud disk and Google network disk
g.Debian image: save on Baidu cloud disk and Google network disk

Use the Debian image pre-installed in eMMC to test the function of the development board


 Note that if you purchase the version without eMMC, you cannot pass the Debian image test pre-installed in eMMC, you can only burn the image to the TF card, and then start the system in the TF card to test the function of the development board

 If you purchased the Orange Pi 4 LTS development board with 16GB eMMC, after getting the development board, you can use the Debian 11 image pre-installed in the eMMC to test the functions of the development board, and make sure that all hardware functions of the development board are OK. After that, burn the system you want to use.

Method of burning Linux image to TF card based on Windows PC


 Note that: the Linux image mentioned here refers specifically to the image of a Linux distribution such as Debian or Ubuntu downloaded from the Orange Pi data download page

How to use Win32Diskimager to burn Linux image

1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk

2)Then use the card reader to insert the TF card into the computer

3)Then format the TF card

a.The SD Card Formatter software can be used to format the TF card, and its download address is

 https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip

b.After downloading, unzip and install directly, and then open the software

c.If only the TF card is inserted into the computer, the “Select card” column will display the drive letter of the TF card. If multiple USB storage devices are inserted into the computer, you can select the drive letter corresponding to the TF card through the drop-down box.

400px|

d.Then click "Format", a warning box will pop up before formatting, select "Yes (Y)" to start formatting

400px|

e.After formatting the TF card, the information shown in the figure below will pop up, click OK.

400px|

4)Download the compressed package of the Linux operating system image file you want to burn from the data download page of 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. The size is generally more than 1GB

5)Use Win32Diskimager to burn the Linux image to the TF card
a.The download page of Win32Diskimager is

 http://sourceforge.net/projects/win32diskimager/files/Archive/

b.After downloading, install it directly. The Win32Diskimager interface is as follows

a) First select the path of the image file
b) Then confirm that the drive letter of the TF card is consistent with the one displayed in the "Device" column
c) Finally click "Write" to start burning

600px|

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

How to use balenaEtcher to burn a Linux image


1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk

2)Then use the card reader to insert the TF card into the computer

3)Download the compressed package of the Linux operating system image file you want to burn from the data download page of 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. The size is generally more than 1GB

4)Then download the burning software of the Linux image - balenaEtcher, the download address is

 https://www.balena.io/etcher/

5)After entering the balenaEtcher download page, click the green download button to download the installation package of balenaEtcher. You can also select the Portable version of balenaEtcher through the drop-down box. The Portable version does not need to be installed. Double-click to open it and use it

600px|


6)If you download a version of balenaEtcher that needs to be installed, please install it before using it. If you download the Portable version of balenaEtcher, just double-click to open it. The opened balenaEtcher interface is shown in the figure below.

600px|

7)The specific steps to use balenaEtcher to burn a 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

600px|

8)The 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.

600px|

9)After the Linux image is burned, 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 burned, and balenaEtcher is verifying the burned image.

600px|

10)After the successful burning is completed, the display interface of balenaEtcher is 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.

600px|

The method of burning Linux image to TF card based on Ubuntu PC

 Note that: the Linux image mentioned here specifically refers to a Linux distribution image such as Debian or Ubuntu downloaded from the Orange Pi data download page, and Ubuntu PC refers to a personal computer with Ubuntu installed.

1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk

2)Then use the card reader to insert the TF card into the computer

3)Download balenaEtcher software, the download address is

 https://www.balena.io/etcher/

4)After entering the balenaEtcher download page, please select the Linux version of the software through the drop-down box to download

600px|


5)After downloading, please use the unzip command to decompress the downloaded compressed package. The decompressed balenaEtcher-1.5.109-x64.AppImage is the software needed to burn the Linux image

test@test:~$ unzip balena-etcher-electron-1.5.109-linux-x64.zip
Archive: balena-etcher-electron-1.5.109-linux-x64.zip
inflating: balenaEtcher-1.5.109-x64.AppImage
test@test:~$ ls
balenaEtcher-1.5.109-x64.AppImage balena-etcher-electron-1.5.109-linux-x64.zip


6)Download the compressed package of the Linux operating system image file you want to burn from the data download page of 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. The size is generally more than 1GB
The decompression command for the compressed package ending in 7z is as follows

test@test:~$ 7z x
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.7z
test@test:~$ ls Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.*
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.7z
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.sha #checksum file
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.img #image file


7)After decompressing the image, you can use the sha256sum -c *.sha command to calculate whether the checksum is correct. If the message is successful, it means that the downloaded image is correct, and you can safely burn it to the TF card. If the checksum does not match, it means that There is a problem with the downloaded image, please try to download again

test@test:~$ sha256sum -c *.sha
Orangepi4-lts_3.0.0_debian_bullseye_desktop_xfce_linux5.10.43.img: success


8)Then double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher (no installation required), the interface after balenaEtcher is opened is shown in the following figure

600px|


9)The specific steps to use balenaEtcher to burn a 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

600px|


10)The 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.

600px|


11)After the Linux image is burned, 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 burned, and balenaEtcher is verifying the burned image.

600px|


12)After the successful burning, the display interface 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 exit balenaEtcher, and then pull out the TF card and insert it into the TF card slot of the development board.

600px|


Method of programming Linux image to eMMC


See the method of burning linux image to EMMC


How to burn Android firmware to TF card


 The Android firmware of the development board can only be burned to the TF card using SDDiskTool software under the Windows platform. In addition, the SDDiskTool software does not have a Linux platform version, so it is impossible to burn the Android system to the TF card under the Linux platform.

1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk

2)Then use the card reader to insert the TF card into the computer

3)Then download the SDDiskTool programming tool and Android firmware from the data download page of Orange Pi. The Android firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the TF card boot version, and pay attention to the TF card boot version. The name of the Android firmware contains the word "SD"

4)Then use the decompression software to decompress the downloaded Android firmware compressed package. In the decompressed file, the file ending with ".img" is the Android firmware

5)Then use the decompression software to decompress SDDiskTool_v1.59.zip, this software does not need to be installed, find SD_Firmware_Tool.exe in the decompressed folder and open it

600px|


6)After opening SDDiskTool, if the TF card is recognized normally, the inserted disk device will be displayed in the "Select Removable Disk Device" column. Please make sure that the displayed disk device is the same as the drive letter of the TF card you want to burn. Yes, if there is no display, you can try to unplug the TF card

600px|


7)After confirming the drive letter, 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

600px|


8)Then start writing Android image to TF card

a. First check "SD Boot" in "Select Function Mode"
b. Then select the path of the Android image in the "Select firmware upgrade" column
c. Finally, click the "Start Creation" button to start burning the Android image to the TF card

600px|


9) After burning, you can exit SDDiskTool, and then you can pull out the TF card from the computer and insert it into the development board to start

The method of burning Android firmware to eMMC based on Windows PC

 Orange Pi 4 LTS has three upgrade modes, namely MaskRom mode, Loader mode and SD upgrade mode. The first two modes need to be burned through the Type C cable, and the latter mode is burned through the TF card. For the way of programming through Type C cable, if there is no programming system in eMMC, it will enter MaskRom mode by default. If a bootable system has been programmed in eMMC, you can enter Loader mode for programming. It should be noted that if the system in eMMC is damaged due to an accident in programming or other reasons, it will not be able to enter the Loader mode for programming. You need to enter the MaskRom mode according to the method of entering the MaskRom mode, and then use the TypeC cable to connect. Computer and development board for programming

Directly burn Android firmware to eMMC through Type C interface

1)First prepare a good quality Type C data cable

2)Then download the Rockchip driver DriverAssitant_v4.6, the burning tool AndroidTool and the firmware of Android8.1 from the data download page of Orange Pi. The Android firmware on the official website has two versions: eMMC boot and TF card boot, here you need to choose eMMC The boot version, note that the name of the Android firmware that supports eMMC boot does not contain the word "SD", and please ensure that the version of the AndroidTool tool is v2.58, please do not use AndroidTool software lower than v2.58 to burn Android 8.1 firmware of Orange Pi 4 LTS, AndroidTool tools lower than this version may have problems to program Android 8.1 system

3)Decompress DriverAssitant_v4.6.zip with decompression software, find the DriverInstall.exe executable file in the decompressed folder and open it

600px|


4)The steps to install Rockchip micro driver are as follows
a.Click the "Driver Installation" button

600px|


b.After waiting for a while, a pop-up window will prompt "Driver installed successfully"

600px|


5)Unzip AndroidTool_v2.58.zip, this software does not need to be installed, just find AndroidTool in the unzipped folder and open it

600px|


6)After opening the AndroidTool tool, because the computer has not been connected to the Orange Pi 4 LTS development board through the Type-C cable at this time, the lower left corner will prompt "No Devices Found"

600px|


7)Then start the burning of Android firmware

a. First connect the DC power adapter to the OrangePi 4 LTS development board, and make sure to unplug the TF card
b. Then connect OrangePi 4 LTS to Windows PC via Type-C cable
c. First press and hold the upgrade button of Orange Pi 4 LTS, then lightly press the reset button and release it immediately, wait for 3~5 seconds and then release the upgrade button. The position of the button on the development board is shown in the figure below.

600px|

a.If the previous steps are successful, the development board has entered the Loader mode, and "Found One LOADER Device" will be prompted on the interface of the AndroidTool tool

600px|


 If no system is burned in eMMC, then AndroidTool will prompt "Found a MaskROM device"


b.Then click the "Upgrade Firmware" column of AndroidTool

600px|

c.Then click the "Firmware" button to select the path of the Android firmware, and then click "Open", as shown in the following figure

600px|

d.After the Android firmware path selection is completed, the firmware will start to be loaded, and the button will turn into a gray unselectable state.

600px|

e.After the firmware is loaded, the button becomes selectable, and then click "Erase Flash" to start erasing eMMC

600px|

f.The interface of the successful erasing is shown in the figure below, because the system in eMMC has been erased, so you can see the prompt "found a MASKROM device"

600px|

g.Finally, click the "Upgrade" button to burn. During the burning process, the AndroidTool is displayed as shown in the figure below, and the Android system will automatically start after the burning is completed.

600px|

Burn Android image to eMMC via TF card

1)First prepare a TF card with a capacity of 8GB or more. The transmission speed of the TF card must be above class 10. It is recommended to use a TF card from a brand such as SanDisk

2)Then use the card reader to insert the TF card into the computer

3)Download the Android firmware and SDDiskTool programming tool from the data download page of Orange Pi. It should be noted that the firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the eMMC boot version, and pay attention to support eMMC boot The firmware does not contain the word "SD", and please ensure that the version of SDDiskTool is v1.59

4)Then use the decompression software to decompress the downloaded Android firmware compressed package. In the decompressed file, the file ending with ".img" is the Android firmware

5)Use the decompression software to decompress SDDiskTool_v1.59.zip, this software does not need to be installed, just find SD_Firmware_Tool.exe in the decompressed folder and open it

600px|


After opening SDDiskTool, if the TF card is recognized normally, the inserted disk device will be displayed in "Select Removable Disk Device". Please make sure that the displayed disk device is consistent with the drive letter of the TF card you want to burn. If there is no display, you can try to unplug the TF card

600px|


7)Then start writing Android firmware to TF card

a. First select the path of the Android firmware in the "Choose firmware" column
b. Then select "Firmware Upgrade" in "Choose function mode"
c. Finally click the "Create" button to start burning

600px|


8)After burning, you can exit SDDiskTool, and then you can unplug the TF card from the computer and insert it into the development board. After the development board is powered on, it will start to burn the Android firmware in the TF to the eMMC.

9)If the development board is connected to an HDMI display, you can also see the progress bar of burning Android firmware to eMMC from the HDMI display

600px|


10)When the following information is displayed, it means that the Android firmware has been burned into the eMMC. At this time, the TF card can be pulled out, and then the Android system in the eMMC will start to start.

600px|