Orange Pi 3 LTS

From Wiki-Orange Pi
Revision as of 17:22, 16 June 2022 by Admin (talk | contribs)
Jump to: navigation, search

1. Basic functions of Orange Pi 3 LTS

1.1. What’s Orange Pi 3 LTS ?

Orange Pi 3 LTS is an open source single-board card computer, a new generation of arm64 development board, it can run Android 9.0, Ubuntu and Debian and other operating systems. Orange Pi 3 LTS uses Allwinner H6 system-on-chip and has 2GB LPDDR3 memory

1.2. What can l do with Orange Pi 3 LTS ?

We can use it to build:

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

Pretty much anything else, because Orange Pi is open source.

1.3. Who’s it for?

The Orange Pi development board is not only a consumer product, but also designed for anyone who wants to use technology to create and innovate. It is a simple, interesting and practical tool, you can use it to create the world around you

1.4. Hardware specification

Hardware feature introduction
CPU Allwinner H6 Quad-core 64-bit 1.8GHz high-performance Cortex-A53 processor
GPU
  • High-performance multi-core GPU Mali T720
  • OpenGL ES3.1/3.0/2.0/1.1
RAM 2GB LPDDR3 (shared with GPU)
Onboard Storage TF card slot、8GB EMMC
Onboard Network
  • YT8531C Chip
  • Support 10/100M/1000M Ethernet
Onboard WIFI+Bluetooth
  • AW859A Chip
  • Support IEEE 802.11 a/b/g/n/ac
  • Support BT5.0
Video Output HDMI 2.0a 、TV CVBS output
Audio output
  • HDMI Output
  • 3.5mm Audio Port
Power Source 5V3A Type-C
Power management chip AXP805
USB port 1*USB 3.0 HOST、1*USB 2.0 HOST、1*USB2.0 OTG
26pin headers 1*I2C、1*SPI、1*UART&Multiple GPIO Ports
Debug serial port UART-TX、UART-RX &GND
LED Power LED& Status LED
IR Receiver Support IR remote control for Orange Pi
Button Power Button (SW4)
Supported OS Android9.0、Ubuntu、Debian
Appearance specification introduction
Dimension 85mm×56mm
Weight 45g
range Pi™ is a trademark of the Shenzhen Xunlong Software CO., Limited

1.5. The top and bottom views of Orange Pi 3 LTS

Top View:
500px|
Bottom View:
500px|

1.6. Orange Pi 3 LTS interface details


600px|
600px|

2. Introduction to use the development board

2.1. Prepare the necessary accessories

1)TF card, a class 10 or higher high-speed card with a minimum capacity of 8GB, it is recommended to use SanDisk’s TF card. Orange Pi tests all with SanDisk’s TF card. Other brands of TF cards may cause the system to fail to start.

100px

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

100px


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

200px


4)The power supply requires a USB Typc C interface data cable and a 5V/3A high-quality power adapter

200px 200px

5)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

6)Infrared remote control, mainly used to control Android system

200px

7)100M or Gigabit network cable, used to connect the development board to the Internet

8)AV video cable, if you want to display video through the CVBS interface instead of the HDMI interface, then you need to connect the development board to the TV through the AV video cable

200px

9)USB to 3.3v TTL module and DuPont cable. When using the debug serial port, USB to TTL module and DuPont cable are required to connect the development board and the computer


200px
200px

10)A personal computer with Ubuntu and Windows operating systems

1 Ubuntu18.04 PC Optional, used to compile Linux source code and Android source code
2 Windows PC Used to burn Android and Linux images

2.2. Download the image and related information of the development board

1)The download URL is

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

文件:Orange-pi-3lts-download.png

2)The information mainly contains
a. Android source code: saved on Google Cloud Disk

b.Linux source code: saved on github

c. User manuals and schematic diagrams: chip-related data manuals 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: saved on Google Cloud Disk

f. Ubuntu image: saved on Google Cloud Disk

g. Debian image: saved on Google Cloud Disk

2.3. Use the Android image pre-installed in eMMC to test the function of the development board

The development board comes with 8GB eMMC. After you get the development board, you can first use the Android9.0 image pre-installed in the eMMC to test the functions of the development board. After confirming that all the hardware functions of the development board can work, then burn the system you want to use

2.4. Method of flashing Linux image to TF card based on Windows PC

1)First, prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be above class10. It is recommended to use a TF card of SanDisk and other brands

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

3)Then format the TF card

a.You can use the SD Card Formatter software to format the TF card, the download address is

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

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

c.If the computer only has a TF card inserted, the “Select card” column will display the drive letter of the TF card. If the computer has multiple USB storage devices inserted, 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, and formatting will start after selecting "Yes (Y)"

400px

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

400px

4)Download the Linux operating system image file compression package you want to burn from the Orange Pi data download page, and then use the decompression software to decompress it. In the decompressed file, the file ending with ".img" is the operating system image file. The size is generally above 1GB
5)Use Win32Diskimager to burn Linux image to TF card

a.The download page of Win32Diskimager is

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

b.Install directly after downloading, the interface of Win32Diskimager is shown below
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

400px

c.After the image is written, click the "Exit" button to exit, and then you can pull out the TF card and insert it into the development board to start

2.5. Method of flashing Linux image to TF card based on Ubuntu PC

1)First, prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be above class10. It is recommended to use a TF card of SanDisk and other brands
2)Then use a 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

400px

5)After downloading, use unzip to decompress. 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 Linux operating system image file compression package you want to burn from the Orange Pi data download page, and then use the decompression software to decompress it. In the decompressed file, the file ending with ".img" is the operating system image file. The size is generally above 1GB
a.The decompression command of the compressed package at the end of a.7z is as follows

test@test:~$ 7z x Orangepi3-lts_2.1.6_ubuntu_bionic_server_linux4.9.118.7z
test@test:~$ ls Orangepi3-lts_2.1.6_ubuntu_bionic_server_linux4.9.118.*
Orangepi3-lts_2.1.6_ubuntu_bionic_server_linux4.9.118.7z
Orangepi3-<>lts_2.1.6_ubuntu_bionic_server_linux4.9.118.img.sha #Checksum file
Orangepi3-lts_2.1.6_ubuntu_bionic_server_linux4.9.118.img #image 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 not wrong, and you can safely burn to the TF card. If 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
Orangepi3-lts_2.1.6_ubuntu_bionic_server_linux4.9.118.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), and the opened interface is as shown in the figure below
a. First select the path of the linux image file

b. Then select the device number of the TF card

c. Finally click Flash to start burning

400px

9)The writing process will prompt the writing speed and remaining time

400px

10)After burning, the following interface will be displayed. At this time, you can unplug the TF card from the computer and insert it into the development board to start.

400px

2.6. Method of flashing Linux image to eMMC

See the method of flashing linux image to eMMC

2.7. How to burn Android firmware to TF card

Android image can only be burned to TF card using PhoenixCard software under Windows platform, but cannot be burned under Linux platform

1)First, prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be above class10. It is recommended to use a TF card of SanDisk and other brands

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

3)Download Android 9.0 firmware and PhoenixCard burning tool from Orange Pi's data download page. Please make sure that the version of PhonenixCrad tool is PhoenixCard v4.1.2 or PhoenixCard v4.1.2 or higher

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

5)Use decompression software to decompress PhoenixCard v4.1.2.rar, this software does not need to be installed, you can find PhoenixCard in the decompressed folder and open it

400px

6)After opening PhoenixCard, if the TF card is recognized normally, the drive letter and capacity of the TF card will be displayed in the middle list. Please make sure that the displayed drive letter is consistent with the drive letter of the TF card you want to burn. There is no display, you can try to unplug and insert the TF card

400px

7)After confirming the drive letter, format the TF card first, click the restore card button in PhoenixCard, or use the aforementioned SD Card Formatter to format the TF card

400px

8)Then start to write the Android firmware to the TF card
a. First select the path of Android firmware in the "Firmware" column

b. Select "Startup Card" in the "Type of Making Card"

c. Then click the "Burn Card" button to start burning

400px

9)After burning, the PhoenixCard will be displayed as shown in the figure below. At this time, click the close button to exit PhoenixCard, and then you can unplug the TF card from the computer and insert it into the development board to start.

400px

2.8. How to burn Android firmware to eMMC

Android image can only be burned to EMMC using PhoenixCard software under Windows platform, but cannot be burned under Linux platform

1)First of all, please note that burning the Android firmware to the eMMC of the development board needs to be completed with the help of a TF card, which is mainly divided into the following two steps
a. First use PhoenixCard to burn the Android firmware to the TF card as a mass production card
b. Then use TF card to burn Android firmware into eMMC
2)First prepare a TF card with 8GB or larger capacity. The transmission speed of the TF card must be above class10. It is recommended to use a TF card of SanDisk and other brands
3)Then use a card reader to insert the TF card into the computer
4)Download Android 9.0 firmware and PhoenixCard burning tool from Orange Pi's data download page, please make sure that the version of PhonenixCard tool is PhoenixCard v4.1.2 or PhoenixCard v4.1.2 or higher
5)Use the decompression software to decompress the compressed package of the downloaded Android firmware. In the decompressed file, the file ending with ".img" is the Android firmware
6)Use decompression software to decompress PhoenixCard v4.1.2.rar, this software does not need to be installed, you can find PhoenixCard in the decompressed folder and open it

400px

7)After opening PhoenixCard, if the TF card is recognized normally, the drive letter and capacity of the TF card will be displayed in the middle list. Please make sure that the displayed drive letter is consistent with the drive letter of the TF card you want to burn. There is no display, you can try to unplug and insert the TF card

400px

8)After confirming the drive letter, format the TF card first, click the restore card button in PhoenixCard, or use the aforementioned SD Card Formatter to format the TF card

400px

1)Then start to write the Android firmware to the TF card

a. First select the path of Android firmware in the "Firmware" column

b. Select "mass production card" in the type of "production" card

c. Then click the "Burn Card" button to start burning

400px

2)After burning, PhoenixCard will display as shown in the figure below. At this time, click the close button to exit PhoenixCard

400px

3)Then insert the TF card into the development board. After powering on the development board, the Android firmware in the TF card will be automatically burned into the eMMC of the development board. During the burning process, the red light on the development board will keep flashing. If the development board is connected to an HDMI display, the progress bar of burning Android firmware to eMMC will be displayed on the HDMI display

400px

4)After the burning is completed, the HDMI display is shown in the figure below, and then the development board will automatically shut down

400px

5)At this time, you can pull out the TF card, then power on again, and the Android system in eMMC will start