Orange Pi 4 LTS

From Wiki-Orange Pi
Jump to: navigation, search

Contents

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:

Orange-pi-4-lts-img1.png

Buttom view:

Orange-pi-4-lts-img2.png

RK3399+4GB LPDDR4 without 16GB eMMC version


Top view:

Orange-pi-4-lts-img3.png

Buttom view:

Orange-pi-4-lts-img4.png

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


Top view:

Orange-pi-4-lts-img5.png

Buttom view:

Orange-pi-4-lts-img6.png

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


Top view:

Orange-pi-4-lts-img7.png

Buttom view:

Orange-pi-4-lts-img8.png

Interface details of Orange Pi 4 LTS

RK3399+4GB LPDDR4


Orange-pi-4-lts-img9.png

RK3399-T+3GB LPDDR4


Orange-pi-4-lts-img10.png


Orange-pi-4-lts-img11.png

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.

Orange-pi-4-lts-img12.png

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

Orange-pi-4-lts-img13.png

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

Orange-pi-4-lts-img14.png

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

Orange-pi-4-lts-img15.png

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

Orange-pi-4-lts-img16.png

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

Orange-pi-4-lts-img17.png

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

Orange-pi-4-lts-img18.png


 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

Orange-pi-4-lts-img19.png

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)

Orange-pi-4-lts-img20.png

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

Orange-pi-4-lts-img21.png


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

Orange-pi-4-lts-img22.png Orange-pi-4-lts-img23.png


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/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-4-LTS.html


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

 http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-pi-4-LTS.html


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.

Orange-pi-4-lts-img24.png

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

Orange-pi-4-lts-img25.png

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

Orange-pi-4-lts-img26.png

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

Orange-pi-4-lts-img27.png

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

Orange-pi-4-lts-img28.png


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.

Orange-pi-4-lts-img29.png

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

Orange-pi-4-lts-img30.png

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.

Orange-pi-4-lts-img31.png

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.

Orange-pi-4-lts-img32.png

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.

Orange-pi-4-lts-img33.png

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

Orange-pi-4-lts-img34.png


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

Orange-pi-4-lts-img35.png


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

Orange-pi-4-lts-img36.png


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.

Orange-pi-4-lts-img37.png


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.

Orange-pi-4-lts-img38.png


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.

Orange-pi-4-lts-img39.png


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

Orange-pi-4-lts-img40.png


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

Orange-pi-4-lts-img41.png


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

Orange-pi-4-lts-img42.png


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

Orange-pi-4-lts-img43.png


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

Orange-pi-4-lts-img44.png


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

Orange-pi-4-lts-img45.png


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

Orange-pi-4-lts-img46.png


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

Orange-pi-4-lts-img47.png


Orange-pi-4-lts-img48.png


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"

Orange-pi-4-lts-img49.png


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.

Orange-pi-4-lts-img50.png

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

Orange-pi-4-lts-img51.png


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


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

Orange-pi-4-lts-img52.png

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

Orange-pi-4-lts-img53.png

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.

Orange-pi-4-lts-img54.png

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

Orange-pi-4-lts-img55.png

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"

Orange-pi-4-lts-img56.png

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.

Orange-pi-4-lts-img57.png

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

Orange-pi-4-lts-img58.png


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

Orange-pi-4-lts-img59.png


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

Orange-pi-4-lts-img60.png


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

Orange-pi-4-lts-img61.png


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.

Orange-pi-4-lts-img62.png


Method of Burning Android Image to eMMC Based on Ubuntu PC


1)First prepare a good quality Type C data cable

2)Then download the upgrade_tool tool and Android 8.1 firmware from the data download page of Orange Pi. The firmware on the official website has two versions: eMMC boot and TF card boot. Here you need to select the eMMC boot version. Note that the firmware that supports eMMC boot does not contain "SD", please make sure the upgrade_tool version is v1.39, please do not use the upgrade_tool software lower than v1.39 to burn the Android 8.1 firmware of Orange Pi 4 LTS, the upgrade_tool tool lower than this version Burning Android 8.1 may be problematic

3)Then execute the command in the terminal to decompress upgrade_tool and add executable permissions

test@test:~$ unzip Linux_Upgrade_Tool_v1.39.zip
test@test:~$ cd Linux_Upgrade_Tool_v1.39
test@test:~/Linux_Upgrade_Tool_v1.39$ sudo chmod +x ./upgrade_tool


4)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 with Ubuntu PC via Type-C data 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.

Orange-pi-4-lts-img63.png

a.If the previous steps are successful, the development board has entered the Loader mode at this time, execute the following command and you will see Mode=Loader, indicating that the Loader device has been recognized

test@test:~/Linux_Upgrade_Tool_v1.39$ ./upgrade_tool LD
Program Data in /home/csy/.config/upgrade_tool
List of rockusb connected(1)
DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=2010201 Mode=Loader


 If no system is burned in eMMC, then the Maskrom device will be recognized, and the value of Mode will be Maskrom


b.Then copy the downloaded Android image to the Linux_Upgrade_Tool_v1.39 directory
c.Then enter the following command in the terminal of the Ubuntu PC to erase the eMMC

test@test:~$ sudo ./upgrade_tool ef Orangepi4-lts_Android8.1_v1.0.img

d.Finally execute the following command to start burning Android firmware to eMMC

test@test:~$ sudo ./upgrade_tool ef Orangepi4-lts_Android8.1_v1.0.img


How to enter MaskRom mode


 Under normal circumstances, it is not necessary to enter MaskRom mode. Only when the bootloader is damaged and the system cannot be started, it is necessary to enter Maskrom mode for burning.


1)First make sure that the OrangePi 4 LTS development board is disconnected from all power sources, and the SD card is unplugged

2)Then use metal tweezers to connect the two test points in the yellow box in the picture below reserved by the OrangePi 4 LTS development board, and keep it still (make sure that the two test points are short-circuited)

Orange-pi-4-lts-img64.png


3)Then plug in the DC power supply to the Orange Pi 4 LTS development board, wait for 2~3 seconds and then release the metal tweezers. At this point the OrangePi 4 LTS development board will enter maskrom mode

4)Then use the Type C cable to connect the OrangePi 4 LTS development board to the Windows PC, and then open the AndroidTool tool, if all goes well, you can see the AndroidTool interface prompts "Found One MASKROM Device”

Orange-pi-4-lts-img65.png


5)At this point, you can burn the Android firmware through the AndroidTool tool under Windows

Installation instructions of metal heat dissipation shell


1)The metal heat dissipation shell kit includes 1 aluminum alloy shell, 3 pieces of thermal conductive silicone, 4 M2x8 screws, 1 screwdriver, and 1 set of external WIFI antenna (optional)

Orange-pi-4-lts-img66.png


2)First install the external WiFi antenna to the development board

Orange-pi-4-lts-img67.png


3)Then put the development board on the lower shell of the metal heat dissipation shell, pay attention to the alignment of the four screw holes

Orange-pi-4-lts-img68.png


4)Tear off the protective stickers on both sides of the 3 pieces of thermally conductive silica gel, and then place 3 pieces of thermally conductive silica gel on the CPU chip and memory chip of the development board, which need to be placed in the corresponding positions as shown in the figure below, pay attention to the missing corners of the thermally conductive silica gel of the CPU chip Side facing 26pin double row pin

Orange-pi-4-lts-img69.png


The height of the thermal conductive silica gel at the CPU chip and the memory chip is basically the same, please pay attention to this

Orange-pi-4-lts-img70.png


5)Then insert the copper column of the WiFi external antenna into the groove of the upper shell of the metal heat dissipation shell, as shown in the figure below, pay attention to the angle and direction

Orange-pi-4-lts-img71.png


6)Then tighten the glue post of the WiFi external antenna to the copper post of the WiFi external antenna, as shown in the figure below

Orange-pi-4-lts-img72.png


7)Then align the upper case with the lower case as shown in the figure below, and press down slowly to fasten them together. Note that if the fastening fails, the thermal conductive silicone may be displaced. Readjust the position of the lower thermal conductive silicone, and then try to fasten it again.

Orange-pi-4-lts-img73.png


Orange-pi-4-lts-img74.png


8)Finally, let the lower shell of the metal heat dissipation shell face upward, and use a Phillips screwdriver to tighten the 4 screws to the lower shell of the metal heat dissipation shell, and the assembly is completed.

Orange-pi-4-lts-img75.png


Start the orange pi development board


1) The development board has an onboard eMMC, and the Debian 11 image is burned by default in it. When you get the development board, you can directly use the image in the eMMC for startup and full-function testing.
2) If you need to use the linux image, you can insert the TF card with the linux image burned into the TF card slot of the Orange Pi development board
3) The development board has an HDMI interface, and the development board can be connected to a TV or HDMI display through an HDMI to HDMI cable
4) Connect the USB mouse and keyboard to control the orange pi development board
5) The development board has an Ethernet port, which can be plugged into a network cable for Internet access
6) Connect a 5V/3A (5V/4A can also) high-quality power adapter

a.Orange Pi 4 LTS cannot be powered through the 5v pin on the 26pin interface
b. Remember not to plug in the 12V power adapter, if the 12V power adapter is plugged in, it will burn out the development board
c. Many unstable phenomena during system startup are basically caused by power supply problems, so a reliable power adapter is very important

1)Then turn on the switch of the power adapter. If everything is normal, the HDMI display can see the startup screen of the system.
2)If you want to view the output information of the system through the debugging serial port, please use the USB to TTL module and DuPont cable to connect the development board to the computer. For the connection method of the serial port, please refer to the section on how to use the debugging serial port.

How to judge whether the system has started normally:
1) If the HDMI display is connected, the judgment method is very simple. As long as the HDMI display normally displays the interface of the system, it means that the system has been started normally;
2) If there is no HDMI display, you can connect the development board to the computer through the serial cable, and check the startup status of the system by debugging the log information output by the serial port. If the serial port output stops at the login interface of the terminal, it means that the system has been started normally;
3) If there is no HDMI display and serial port cable, you can judge the startup status of the system through the two LED lights on the development board. If the red LED light is on and the green LED light is flashing, the system has generally started normally. , If after power-on and waiting for a period of time, only the red LED light is on, or the red and green LED lights are not on, it means that the system has not started normally.

If the system fails to start or cannot enter the login interface normally, please check the following first:
1) Check whether the downloaded image is damaged, which can be judged by calculating the checksum attached to the image;
2) If there is any problem in the process of burning the image to the TF card, you can re-burn the image and test it again;
3) Make sure there is no problem with the power adapter, you can try another one;
4) Make sure that the TF card meets the requirements of the Orange Pi development board. If there is an extra TF card, you can try to change the TF card and then burn the image and test it again;
5) If all of the above are OK, please save the output log of the debugging serial port during the system startup process (preferably in the form of txt text instead of taking pictures), and then report the problem to the customer service.


How to debug the serial port


Connection instructions for debugging serial port


1)First, you need to prepare a 3.3V USB to TTL module. For better platform compatibility, it is recommended to use the CH340 USB to TTL module. Then insert one end of the USB interface of the USB to TTL module into the USB interface of the computer

Orange-pi-4-lts-img76.png

2)The corresponding relationship between the debug serial port GND, RXD and TXD pins of the development board is shown in the figure below

Orange-pi-4-lts-img77.png

3)The GND, TXD and RXD pins of the USB to TTL module need to be connected to the debug serial port of the development board through a DuPont cable

a.Connect the GND of the USB to TTL module to the GND of the development board
b.The RX of the USB to TTL module is connected to the TX of the development board
c.The TX of the USB to TTL module is connected to the RX of the development board

4)The schematic diagram of connecting the USB to TTL module to the computer and the Orange Pi development board is shown below

Orange-pi-4-lts-img78.png

 The TX and RX of the serial port need to be cross-connected. If you don’t want to carefully distinguish the order of TX and RX, you can connect the TX and RX of the serial port casually. If there is no output in the test, then exchange the order of TX and RX, so there is always a the order is correct


5)If the CP2102 USB to TTL module is used, in the case of a baud rate of 1500000, some systems may encounter garbled or unusable problems. The specific test situation is as follows

USB to TTL module model Host system Support situation
CH340 win7 OK
win10 OK
ubuntu14.04 OK
ubuntu18.04 OK
ubuntu20.04 OK
CP2102 win7 OK
win10 NO
ubuntu14.04 OK
ubuntu18.04 NO
ubuntu20.04 NO


How to use the debugging serial port on Ubuntu platform


 There are many serial debugging software that can be used under Linux, such as putty, minicom, etc. The following demonstrates how to use putty


1)First, insert the USB to TTL module into the USB interface of the Ubuntu computer. If the connection and recognition of the USB to TTL module is normal, you can see the corresponding device node name under /dev of the Ubuntu PC, remember this node name, and set the serial port later software will be used

test@test:~$ ls /dev/ttyUSB*
/dev/ttyUSB0

2)Then use the following command to install putty on Ubuntu PC

test@test:~$ sudo apt update
test@test:~$ sudo apt install putty

3)Then run putty, remember to add sudo permissions

test@test:~$ sudo putty

4)After executing the putty command, the following interface will pop up

Orange-pi-4-lts-img79.png

5)First select the setting interface of the serial port

Orange-pi-4-lts-img80.png

6)Then set the parameters of the serial port

a.Set Serial line to connect to to /dev/ttyUSB0 (modify to the corresponding node name, usually /dev/ttyUSB0)
b.Set Speed(baud) to 1500000 (the baud rate of the serial port)
c.Set Flow control to None

Orange-pi-4-lts-img81.png

7)After setting the serial port setting interface, go back to the Session interface

a.First select the Connection type as Serial
b.Then click the Open button to connect the serial port

Orange-pi-4-lts-img82.png

8)After starting the development board, you can see the Log information output by the system from the open serial terminal

Orange-pi-4-lts-img83.png

How to use the debugging serial port on Windows platform

 There are many serial port debugging software that can be used under Windows, such as SecureCRT, MobaXterm, etc. The following shows how to use MobaXterm. This software has a free version and can be used without purchasing a serial number.

1)Download MobaXterm

a.Download MobaXterm URL as follows

 https://mobaxterm.mobatek.net/

b.After entering the MobaXterm download page, click GET XOBATERM NOW!

Orange-pi-4-lts-img84.png

c.Then choose to download the Home version

Orange-pi-4-lts-img85.png

d.Then select the Portable portable version. After downloading, there is no need to install it, just open it and use it

Orange-pi-4-lts-img86.png

2)After downloading, use the decompression software to decompress the downloaded compressed package, you can get the executable software of MobaXterm, and then double-click to open it

Orange-pi-4-lts-img87.png

3)After opening the software, the steps to set the serial port connection are as follows

a.Open the session settings interface
b.Select serial port type
c.Select the port number of the serial port (select the corresponding port number according to the actual situation). If you cannot see the port number, please use the 360 driver master to scan and install the driver for the USB to TTL serial port chip.
d.Select the baud rate of the serial port to be 1500000
e.Finally, click the "OK" button to complete the setting

Orange-pi-4-lts-img88.png

After clicking the "OK" button, it will enter the following interface. At this time, you can see the output information of the serial port when you start the development board.

Orange-pi-4-lts-img89.png


Download the Orange Pi 4 LTS User Manual

For more information on using the Orange Pi 4 LTS, please see the Orange Pi 4 LTS User Manual . (Click to download)