Difference between revisions of "Orange Pi 4"

From Wiki-Orange Pi
Jump to: navigation, search
Line 217: Line 217:
 
<br>
 
<br>
 
5)Use Win32Diskimager to burn Linux image to TF card
 
5)Use Win32Diskimager to burn Linux image to TF card
 +
<div style="padding-left:20px;">
 +
a.The download page of Win32Diskimager is<br>
 +
  http://sourceforge.net/projects/win32diskimager/files/Archive/
 +
b.Install directly after downloading, the interface of Win32Diskimager is shown below<br>
 +
<div style="padding-left:20px;">
 +
a)First select the path of the image file<br>
 +
b)Then confirm that the drive letter of the TF card is consistent with the one displayed in the "Device" column<br>
 +
c)Finally click "write" to start burning
 +
<div>[[文件:Orange-pi-4-img21.png|600px|]]</div>
 +
</div>
 +
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
 +
</div>
 +
<br>
 +
=== '''Method of flashing Linux image to TF card based on Ubuntu PC''' ===
 +
<br>
 +
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<br>
 +
<br>
 +
2)Then use a card reader to insert the TF card into the computer<br>
 +
<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<br>
 +
<br>
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-img22.png|600px|]]</div>
 +
<br>
 +
5)After downloading, use '''unzip''' to decompress. The decompressed '''balenaEtcher-1.5.109-x64.AppImage''' is the software needed to burn Linux image
 +
<div style="border:1px solid #000;background:#f1f1f1;">
 +
test@test:~$ '''unzip balena-etcher-electron-1.5.109-linux-x64.zip'''<br>
 +
Archive:  balena-etcher-electron-1.5.109-linux-x64.zip<br>
 +
&nbsp;&nbsp;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 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<br>
 +
<div style="border:1px solid #000;background:#f1f1f1;">
 +
test@test:~$ '''ls Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179'''<br>
 +
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.img<br>
 +
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.img.sha  # Checksum file<br>
 +
'''Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.img'''    # Image file
 +
</div>
 +
<br>
 +
7)After decompressing the image, you can first use the sha256sum -c *.sha command to calculate whether the checksum is correct. If the prompt indicates that the downloaded image is correct, you can safely burn it to the TF card. If the checksum does not match, it indicates There is a problem with the downloaded image, please try to download again<br>
 +
<br>
 +
<div style="border:1px solid #000;background:#f1f1f1;">
 +
test@test:~$ '''sha256sum -c *.sha''' <br>
 +
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.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 need to install), the opened interface is as shown in the figure below<br>
 +
<div style="padding-left:20px;">
 +
a. First select the path of the linux image file<br>
 +
b. Then select the device number of the TF card<br>
 +
c. Finally click Flash to start burning
 +
</div>
 +
<div>[[文件:Orange-pi-4-img22.png|800px|]]</div>
 +
<br>
 +
9)The writing speed and remaining time will be prompted during the burning process
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-img23.png|800px|]]</div>
 +
<br>
 +
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.
 +
<div style="padding-left:200px;">[[文件:Orange-pi-4-img24.png|800px|]]</div>
 +
<br>
 +
=== '''Method of flashing Linux image to eMMC''' ===

Revision as of 17:32, 20 June 2022

Basic features of Orange Pi 4


What’s Orange Pi 4?


 Orange Pi is an open source single-board computer, a new generation of arm64 development board, which can run operating systems such as Android 8.1, Ubuntu and Debian. Orange Pi development board (Orange Pi 4) uses Rockchip RK3399 system-on-chip, and has dual-channel 4GB LPDDR4 memory

What can I do with Orange Pi 4?


We can bulid:

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


Pretty much anything else,because Orange pi 4 is open source

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 very simple, interesting and practical tool, you can use it to create the world around you

Hardware Specification


Hardware Specification Introduction
CPU

Rockchip RK3399 (28nm HKMG process)
6-core ARM® 64-bit processor ,main frequency speeds up to 2.0GHz
Based on the large and small size core architecture of big.LITTLE:
Dual-core Cortex-A72 (large core) + Quad-core Cortex-A53 (small core)

GPU
  • High-performance multi-core GPU Mali T864
  • OpenGL ES1.1/2.0/3.0/3.1
  • OpenVG1.1 OpenCL, DX11, AFBC
Memory Dual 4GB LPDDR4
Onboard Storage
  • 16GB EMMC (Default Empty)
  • TF card slot
Network 10/100/1000Mbps Ethernet( Realtek RTL8211E )
WIFI+Bluetooth
  • AP6256, IEEE 802.11 a/b/g/n/ac
  • BT5.0
Video Output

1 x HDMI 2.0 ( Type-A ), Supports 4K@60fps output
1 x DP 1.2 (Display Port) , Supports 4K@60fps output
Supports Dual MIPI-DSI (4 lines per channel)

Video Input MIPI-CSIx2 Camera connector (MIPI_RX0、MIPI_TX1/RX1)
Audio Output
  • 3.5mm Jack
  • HDMI2.0a
Audio Input
  • Onboard MIC
  • Headphone recording
Power Source
  • DC 5V/3A or DC 5V/4A
  • TYPE-C 5V/3A or TYPE-C 5V/4A
USB Port
  • USB2.0 HOST x 2
  • USB3.0 HOST x 1
  • USB3.0 Type-C x 1
Low-level peripherals GPIO1 40 pins (with I2Cx2、SPIx1/UART and GPIOx8)
Mini-PCIE 24pin mini-PCIE interface
RTC Support RTC,on-board battery backup interface
Debug Serial Port UART-TX、UART-RX and GND
LED Power led & Status led
Button Reset x1、Upgrade x1
Support OS Android8.1、Ubuntu、Debian
Appearance specification introduction
Dimension 91mm×55.7mm
30px|range Pi™ is a trademark of the Shenzhen Xunlong Software CO., Limited


Top View and Bottom View of Orange Pi 4


Top View:

800px|


Bottom View:

800px|


Orange Pi 4 interface details


With 16GB EMMC Version


800px|


Without 16GB EMMC Version


800px|


Introduction to the use of the development board


Prepare the necessary accessories


1)TF card, a high-speed card of class 10 or higher with a minimum capacity of 8GB, it is recommended to use SanDisk TF card, Orange Pi test is to use SanDisk TF card, other brands of TF card may have the problem of system failure

300px|

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

300px|

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

300px|

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

300px|

5)Type-C to USB3.0 adapter, used to connect USB3.0 storage devices or mouse keyboards and other devices

300px|

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

300px|

7)Power adapter, 5V/3A or 5V/4A high-quality power adapter, the Type-C USB3.0 interface of the development board can also be used for power input

300px| 300px|

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)100M or Gigabit network cable, used to connect the development board to the Internet

10)OV13850 13 million camera, Orange Pi 4 dedicated camera, compatible with MIPI interface

300px|


11)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 the computer

300px| 300px|


12)A personal computer with Ubuntu and Windows operating systems

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


Download the image and related information of the development board


1)The download URL of the Chinese version is

 http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-pi-4.html
800px|


2)The download URL of the English version is

 http://www.orangepi.org/downloadresources/
800px|


3)The information mainly contains

a.Android source code: saved on Baidu Cloud Disk and Google Cloud Disk
b.Linux source code: saved on github, the link address is

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

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 Baidu Cloud Disk and Google Cloud Disk
f.Ubuntu image: saved on Baidu Cloud Disk and Google Cloud Disk
g.Debian image: saved on Baidu Cloud Disk and Google Cloud Disk
h.Armbian image link, a image developed and maintained by the Armbian community. If you encounter any problems during use, please go to the armbian forum to give feedback. The maintainer of the Armbian image and other people who use the Armbian image will assist in solving various problems. Is the fastest way to solve the problem. Orange Pi is not responsible for maintaining this image


Use the Android image pre-installed in eMMC to test the functions of the development board


 If you bought the Orange Pi 4 development board with a 16GB eMMC version, after you get the development board, you can use the Android image pre-installed in the eMMC to test the functions of the development board first, and make sure that all the hardware functions of the development board are okay. Burn the system you want to use

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


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


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


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

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


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

600px|


5)After downloading, use unzip to decompress. The decompressed balenaEtcher-1.5.109-x64.AppImage is the software needed to burn 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

test@test:~$ ls Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.img
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.img.sha # Checksum file
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.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 indicates that the downloaded image is correct, you can safely burn it to the TF card. If the checksum does not match, it indicates There is a problem with the downloaded image, please try to download again

test@test:~$ sha256sum -c *.sha
Orangepi4_2.1.0_ubuntu_xenial_desktop_linux4.4.179.img: success


8)Then double-click balenaEtcher-1.5.109-x64.AppImage on the graphical interface of Ubuntu PC to open balenaEtcher (no need to install), 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

800px|


9)The writing speed and remaining time will be prompted during the burning process

800px|


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.

800px|


Method of flashing Linux image to eMMC