Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rockpi4/getting started"

(Created page with " {{rockpi4_header}} __TOC__ This guide is designed for ROCK Pi 4 enthusiast. We wish you can learn about ROCK Pi 4 board as well as how to prepare and set up for basic use...")
 
(Features)
(47 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
 
{{rockpi4_header}}
 
{{rockpi4_header}}
 +
{{Languages|rockpi4/getting_started}}
 +
  
 
__TOC__
 
__TOC__
  
This guide is designed for ROCK Pi 4  enthusiast. We wish you can learn about ROCK Pi 4 board as well as how to prepare and set up for basic use.
+
This guide is designed for ROCK Pi 4  enthusiast. The purpose is to learn about the ROCK Pi 4 board as well as how to prepare and set up for basic use. The ROCK Pi 4 has two models, one called ROCK Pi 4 Model A and the other called ROCK Pi 4 Model B. When you get a board, you need to know what Pi model it is and which hardware version it is. The information is printed in the top side of the board. We will introduce the board information as much as possible.
  
 
== What you need ==
 
== What you need ==
  
 +
=== Necessary ===
 
* ROCK Pi 4 main board
 
* ROCK Pi 4 main board
 +
** ROCK Pi 4 Model A or Model B
 +
 +
* One of the Storage media below:
 +
** [[rockpi4/hardware/μSD | μSD card]],  larger than 8GB.
 +
** [[rockpi4/hardware/emmc | eMMC Module]] , larger than 8GB with eMMC to μSD converter board.
  
* Power supply
+
* [[rockpi4/hardware/powersupply | Power supply]]
** The ROCK Pi 4 requires a 9V-20V with 1500mA Power adapter, included in the standard package
+
** The ROCK Pi 4 is powered by Type-C port and has a wide range of input voltage, from 9V to 21V. The Pi  supports USB Type-C PD 2.0 with 9V/2A, 12V/2A, 15V/2A and 20V/2A. Besides, the Pi supports QC 3.0/2.0  with 9V/2A and 12V/1.5A.
 +
** The Type-C cable you using needs to support data communication. We call it USB Type-C charging data cable.
  
 
* USB Keyboard and Mouse
 
* USB Keyboard and Mouse
** With four USB-A connectors, ROCK Pi 4 can be equiped with a full sized keyboard and mouse
+
** With four USB-A connectors, ROCK Pi 4 can be equipped with a full sized keyboard and mouse.
  
 
* Monitor and HDMI Cable
 
* Monitor and HDMI Cable
** ROCK Pi 4 is equiped with a full sized HDMI connector. HDMI capable monitor is recommended
+
** ROCK Pi 4 is equipped with a full sized HDMI connector. HDMI capable monitor is recommended.
 +
** HDMI EDID display data is used to determine the best display resolution. On monitors and TVs that support 1080p (or 4K) this resolution will be selected. If 1080p is not supported the next available resolution reported by EDID will be used. This selected mode will work with MOST but not all monitors/TVs.
  
* MicroSD Card Reader
+
*USB to TTL serial cable
** For flashing the image into uSD Card or eMMC Module.
+
**ROCK Pi 4 exports a dedicated serial console, which can access the low level debug message.
  
* One of the Storage media below:
+
*USB Male A to Male A cable
** uSD card larger than 8GB.
+
**If you want write image on ROCK Pi 4 from USB OTG port or use fastboot/adb commands you need an USB Male A to Male A cable to connect ROCK Pi 4 and PC.
  
* eMMC Module larger than 8GB with eMMC to uSD converter board
+
=== Optional ===
 +
* μSD Card Reader
 +
** For flashing the image into μSD Card or eMMC Module.
  
 
* USB type A to type A cable
 
* USB type A to type A cable
Line 34: Line 45:
  
 
*  Ethernet cable
 
*  Ethernet cable
** ROCK PI supports Internet access via WIFI or Ethernet.
+
** ROCK Pi 4 supports Internet access via WIFI or Ethernet.
** An Ethernet cable is used to connect your ROCK PI to a local network and  the Internet.
+
** An Ethernet cable is used to connect your ROCK Pi 4 to a local network and  the Internet.
  
 
* Camera Module
 
* Camera Module
** ROCK PI supports  camera function.
+
** ROCK Pi 4 supports  camera function.
  
 
* LCD Module
 
* LCD Module
** ROCK PI supports LCD display function.
+
** ROCK Pi 4 supports LCD display function.
  
* Audio lead
+
* Audio cable
 
** Audio can be played through speaker or headphones using a standard 3.5mm jack.
 
** Audio can be played through speaker or headphones using a standard 3.5mm jack.
  
== Out of the  ROCK PI box==
+
== Close look of ROCK Pi 4B ==
The standard ROCK PI packages contains the follow:
+
* ROCK Pi 4B front view
(附上ROCK PI 包图片)
+
[[File:ROCKPI4B_Front_View.png|700px]]
 +
* ROCK Pi 4B front with an angle view
 +
[[File:ROCKPI4B_Angle_View.png|700px]]
 +
* ROCK Pi 4B back view
 +
[[File:ROCKPI4B_Back_View.png|700px]]
  
* Main board
+
== <span id="get_start_specs"></span> Features ==
* 9V/2A power adapter
+
* Transparent acrylic case
+
* Screws(M3)
+
* Heatsink(22mm x 22mm)
+
* Heatsink Plaster
+
 
+
 
+
== Close look of ROCK PI 4 ==
+
 
+
 
+
 
+
== Assemble the case ==
+
The package comes with a simple acrylic case, assemble it first:
+
 
+
1. Remvoe the protecting film of the acrylic case:
+
 
+
2. Assemble the case and screws with screwer, finished as below:
+
 
+
3. Glue the heatsink with Heatsink Plaster at the bottom side:
+
 
+
 
+
==  Features ==
+
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 80: Line 73:
 
|-
 
|-
 
! Processor
 
! Processor
| colspan="2" | 64bits hexa core processor<br />Rockchip RK3399<br />Dual Cortex-72, frequency 1.8GHz with qual Cortex-A53, frequency 1.4GHz<br />Mail T860MP4 gpu, support OpenGL ES 1.1/2.0/3.0/3.1/3.2, Vulkan 1.0, Open CL 1.1 1.2, DX11.
+
| colspan="2" | 64bits hexa core processor<br />Rockchip RK3399<br />Dual Cortex-72, frequency 1.8GHz with qual Cortex-A53, frequency 1.4GHz<br />Mali T860MP4 gpu, support OpenGL ES 1.1/2.0/3.0/3.1/3.2, Vulkan 1.0, Open CL 1.1 1.2, DX11.
 
|-
 
|-
 
! Memory
 
! Memory
Line 86: Line 79:
 
|-
 
|-
 
! Storage
 
! Storage
| colspan="2" | __eMMC module__<br />Optional insudtrial compatible high performance eMMC module, 8GB/16GB/32GB/64GB/128GB available<br />uSD card<uSD slot supports up to 128 GB uSD card<br />M.2 SSD<br />M.2 connector supports up to 2T M2 NVME SSD
+
| colspan="2" | eMMC module (Optional industrial compatible high performance eMMC module, 8GB/16GB/32GB/64GB/128GB available)<br />μSD card (μSD slot supports up to 128 GB μSD card)<br />M.2 SSD (M.2 connector supports up to 2T M2 NVME SSD)
 
|-
 
|-
 
! Display
 
! Display
Line 95: Line 88:
 
|-
 
|-
 
! Camera
 
! Camera
| colspan="2" | MIPI CSI<br />MIPI CSI 2 lanes via FPC connector, support up to 800 MP camera.
+
| colspan="2" | MIPI CSI 2 lanes via FPC connector, support up to 800 MP camera.
 
|-
 
|-
 
! Wireless
 
! Wireless
Line 106: Line 99:
 
! Ethernet
 
! Ethernet
 
| GbE LAN
 
| GbE LAN
| GbE LAN with PoE support<br />additional HAT is required for powering from PoE
+
| GbE LAN with Power over Ethernet (PoE) support<br />additional HAT is required for powering from PoE
 
|-
 
|-
 
! IO
 
! IO
| colspan="2" | 40-pin expansion header<br />1 x UART<br />2 x SPI bus<br />2 x I2C bus<br />1 x PCM/I2S<br />1 x SPDIF<br />1 x PWM<br />1 x ADC<br />6 x GPIO<br />2 x 5V DC power in<br />2 x 3.3V DC power in
+
| colspan="2" | 40-pin expansion header<br />2 x UART<br />2 x SPI bus<br />3 x I2C bus<br />1 x PCM/I2S<br />1 x SPDIF<br />2 x PWM<br />1 x ADC<br />6 x GPIO<br />2 x 5V DC power in<br />2 x 3.3V DC power in
 
|-
 
|-
 
! Others
 
! Others
| colspan="2" | RTC<br />RTC battery connector for time backup(optioal)
+
| colspan="2" | RTC<br />RTC battery connector for time backup(optional)
 
|-
 
|-
 
! Power
 
! Power
Line 123: Line 116:
 
__TOC__
 
__TOC__
  
 +
== Starting the board for the first time ==
  
 +
ROCK Pi 4 can be started with eMMC or μSD Card. Now, you are presented with two options when installing your new operating system onto your ROCK Pi 4.
  
 +
===  Prepare ===
  
 +
* When start system with eMMC
 +
Insert eMMC Module into eMMC to μSD card converter board. Insert the converter board into μSD Card Reader, which connects to host computer. The picture below shows.<br />(add eMMC, eMMC to μSD Module and μSD Card Reader picture)
  
* HDMI EDID display data is used to determine the best display resolution. On monitors and TVs that support 1080p (or 4K) this resolution will be selected. If 1080p is not supported the next available resolution reported by EDID will be used. This selected mode will work with **MOST but not all** monitors/TVs.
+
* When start system with μSD Card
 +
Insert the μSD Card into μSD Card Reader, which connects to host computer. The picture below shows.<br />(add μSD Card and μSD Card Reader picture)
  
***
+
===  Write Image ===
  
== Starting the board for the first time ==
+
* Download the flash tool, etcher, from [[rockpi4/downloads | Downloads]]. Choose the right version for your host operation system. Here we operate on host Ubuntu 16.04.
  
You will be presented with two optionals when installing your new operating system onto your ROCK PI 4.
+
* After unpacking the package, we run the tool by executing the command
  
=== Prepare ===
+
  $ ./etcher-etcher-electron-1.4.5-x86_64.AppImage
  
==== Running on eMMC Module Method ====
+
If you get an error message: "No polkit authentication agent found" you can try and start it with sudo, but do know that this is running the tool as '''root'''.
  
* Insert eMMC Module into eMMC to MicroSD card converter board. Insert the converter board into MicroSD Card Reader, which connects to host computer. The picture below shows.
+
* In the etcher window, click '''Select image'''.
  
(附上eMMC、eMMC转uSD模块、读卡器图片)
+
[[File:linux_etcher_select_image.png]]
  
==== Running on MicroSD Card Method ====
+
* In the etcher window, click '''Select Drive'''.
  
* Insert the MicroSD Card into MicroSD Card Reader, which connects to host computer. The picture below shows.
+
[[File:linux_etcher_select_driver.png]]
  
(附上uSD卡和读卡器图片)
+
* In the etcher window, click '''Flash'''.
  
===  Write Image ===
+
[[File:linux_etcher_select_flash_button.png]]
  
* Download the flash tool, [etcher](https://etcher.io). Choose the right version for your host operation system. Here we operate on host Ubuntu 16.04.
+
* In the etcher window, once it shows us Flash Complete! It is done and can be put into the RockPi.
<img src="./rock_pi/linux_etcher_download_website.png" data-canonical-src="" width="250" height="160" />
+
 
- After unpacking the package, we run the tool by executing the command
+
[[File:linux_etcher_show_complete.png]]
`$ /bin/bash etcher-etcher-electron-1.4.5-x86_64.AppImage`
+
*  In the etcher window, we click button Select image.
+
<img src="./rock_pi/linux_etcher_select_image.png" data-canonical-src="" width="250" height="160" />
+
* In the etcher window, we click button Select Drive.
+
<img src="./rock_pi/linux_etcher_select_drive.png" data-canonical-src="" width="250" height="160" />
+
* In the etcher window, we click button Flash.
+
<img src="./rock_pi/linux_etcher_select_flash.png" data-canonical-src="" width="250 height="160" />
+
* In the etcher window, it shows us Flash Complete!
+
<img src="./rock_pi/linux_etcher_show_complete.png" data-canonical-src="" width="250" height="160" />
+
  
 
===  Boot ===
 
===  Boot ===
  
==== Running on eMMC Module ====
+
* Now insert system storage media into the socket on board.
 +
** Method of starting system with eMMC. The picture below shows.<br />('''Todo''': add picture)
 +
** Methods of starting system with μSD Card. The picture below shows.<br />('''Todo''': add picture)
  
* Now insert eMMC module with firmware inside into the socket on board. The picture below shows.
+
* Connect the ROCK Pi 4 to your display with the HDMI cable. Ensure that the source for the display is switched to the HDMI port you are using.
 +
* Connect the USB keyboard and mouse.
 +
* Connect the power supply to the ROCK Pi 4. The board will begin to immediately. (You might not see the boot sequence, on Ubuntu Server you will see the login prompt)
  
===== Running on MicroSD Card =====
+
Wish you good luck!
  
* Now insert MicroSD Card with firmware inside into the MicroSD card slot on board. The picture below shows.
+
=== Troubleshooting ===
* Connect the ROCK PI to your display with the HDMI cable. Ensure that the source for the display is switched to the HDMI port you are using.
+
* Refer [[Rockpi4/getting_started/troubleshooting | Troubleshooting page]]
* Connect the USB keyboard and mouse.
+
* Post your issue on the forum: https://forum.radxa.com/c/rockpi4/Troubleshooting
* Connect the power supply to the ROCK PI. The board will begin to immediately.
+

Revision as of 08:10, 9 July 2019


This guide is designed for ROCK Pi 4 enthusiast. The purpose is to learn about the ROCK Pi 4 board as well as how to prepare and set up for basic use. The ROCK Pi 4 has two models, one called ROCK Pi 4 Model A and the other called ROCK Pi 4 Model B. When you get a board, you need to know what Pi model it is and which hardware version it is. The information is printed in the top side of the board. We will introduce the board information as much as possible.

What you need

Necessary

  • ROCK Pi 4 main board
    • ROCK Pi 4 Model A or Model B
  • One of the Storage media below:
  • Power supply
    • The ROCK Pi 4 is powered by Type-C port and has a wide range of input voltage, from 9V to 21V. The Pi supports USB Type-C PD 2.0 with 9V/2A, 12V/2A, 15V/2A and 20V/2A. Besides, the Pi supports QC 3.0/2.0 with 9V/2A and 12V/1.5A.
    • The Type-C cable you using needs to support data communication. We call it USB Type-C charging data cable.
  • USB Keyboard and Mouse
    • With four USB-A connectors, ROCK Pi 4 can be equipped with a full sized keyboard and mouse.
  • Monitor and HDMI Cable
    • ROCK Pi 4 is equipped with a full sized HDMI connector. HDMI capable monitor is recommended.
    • HDMI EDID display data is used to determine the best display resolution. On monitors and TVs that support 1080p (or 4K) this resolution will be selected. If 1080p is not supported the next available resolution reported by EDID will be used. This selected mode will work with MOST but not all monitors/TVs.
  • USB to TTL serial cable
    • ROCK Pi 4 exports a dedicated serial console, which can access the low level debug message.
  • USB Male A to Male A cable
    • If you want write image on ROCK Pi 4 from USB OTG port or use fastboot/adb commands you need an USB Male A to Male A cable to connect ROCK Pi 4 and PC.

Optional

  • μSD Card Reader
    • For flashing the image into μSD Card or eMMC Module.
  • USB type A to type A cable
    • This is needed for fastboot/adb commands.
  • USB to TTL serial cable
    • This is needed for serial console.
  • Ethernet cable
    • ROCK Pi 4 supports Internet access via WIFI or Ethernet.
    • An Ethernet cable is used to connect your ROCK Pi 4 to a local network and the Internet.
  • Camera Module
    • ROCK Pi 4 supports camera function.
  • LCD Module
    • ROCK Pi 4 supports LCD display function.
  • Audio cable
    • Audio can be played through speaker or headphones using a standard 3.5mm jack.

Close look of ROCK Pi 4B

  • ROCK Pi 4B front view

ROCKPI4B Front View.png

  • ROCK Pi 4B front with an angle view

ROCKPI4B Angle View.png

  • ROCK Pi 4B back view

ROCKPI4B Back View.png

Features

Model ROCK PI 4 Model A ROCK PI 4 Model B
Processor 64bits hexa core processor
Rockchip RK3399
Dual Cortex-72, frequency 1.8GHz with qual Cortex-A53, frequency 1.4GHz
Mali T860MP4 gpu, support OpenGL ES 1.1/2.0/3.0/3.1/3.2, Vulkan 1.0, Open CL 1.1 1.2, DX11.
Memory LPDDR4
64bit dual channel LPDDR4@3200Mb/s, 1GB/2GB/4GB optioal
Storage eMMC module (Optional industrial compatible high performance eMMC module, 8GB/16GB/32GB/64GB/128GB available)
μSD card (μSD slot supports up to 128 GB μSD card)
M.2 SSD (M.2 connector supports up to 2T M2 NVME SSD)
Display HDMI 2.0 up to 4k@60
MIPI DSI 2 lanes via FPC connector
HDMI and MIPI DSI can work at the same time, support mirror mode or extend mode.
Audio 3.5mm jack with mic
HD codec that supports up to 24-bit/96KHz audio.
Camera MIPI CSI 2 lanes via FPC connector, support up to 800 MP camera.
Wireless None 802.11 ac wifi
Bluetooth 5.0
with on board antenna
USB USB 3.0 OTG X1, hardware switch for host/device switch, upper one
USB 3.0 HOST X1, dedicated USB 3.0 channel, lower one
USB 2.0 HOST X2
Ethernet GbE LAN GbE LAN with Power over Ethernet (PoE) support
additional HAT is required for powering from PoE
IO 40-pin expansion header
2 x UART
2 x SPI bus
3 x I2C bus
1 x PCM/I2S
1 x SPDIF
2 x PWM
1 x ADC
6 x GPIO
2 x 5V DC power in
2 x 3.3V DC power in
Others RTC
RTC battery connector for time backup(optional)
Power USB PD, support USB Type C PD 2.0, 9V/2A, 12V/2A, 15V/2A, 20V/2A.
Qualcomm® Quick ChargeTM: Supports QC 3.0/2.0 adapter, 9V/2A, 12V/1.5A
Size 85mm x 54mm


Starting the board for the first time

ROCK Pi 4 can be started with eMMC or μSD Card. Now, you are presented with two options when installing your new operating system onto your ROCK Pi 4.

Prepare

  • When start system with eMMC

Insert eMMC Module into eMMC to μSD card converter board. Insert the converter board into μSD Card Reader, which connects to host computer. The picture below shows.
(add eMMC, eMMC to μSD Module and μSD Card Reader picture)

  • When start system with μSD Card

Insert the μSD Card into μSD Card Reader, which connects to host computer. The picture below shows.
(add μSD Card and μSD Card Reader picture)

Write Image

  • Download the flash tool, etcher, from Downloads. Choose the right version for your host operation system. Here we operate on host Ubuntu 16.04.
  • After unpacking the package, we run the tool by executing the command
$ ./etcher-etcher-electron-1.4.5-x86_64.AppImage

If you get an error message: "No polkit authentication agent found" you can try and start it with sudo, but do know that this is running the tool as root.

  • In the etcher window, click Select image.

Linux etcher select image.png

  • In the etcher window, click Select Drive.

Linux etcher select driver.png

  • In the etcher window, click Flash.

Linux etcher select flash button.png

  • In the etcher window, once it shows us Flash Complete! It is done and can be put into the RockPi.

Linux etcher show complete.png

Boot

  • Now insert system storage media into the socket on board.
    • Method of starting system with eMMC. The picture below shows.
      (Todo: add picture)
    • Methods of starting system with μSD Card. The picture below shows.
      (Todo: add picture)
  • Connect the ROCK Pi 4 to your display with the HDMI cable. Ensure that the source for the display is switched to the HDMI port you are using.
  • Connect the USB keyboard and mouse.
  • Connect the power supply to the ROCK Pi 4. The board will begin to immediately. (You might not see the boot sequence, on Ubuntu Server you will see the login prompt)

Wish you good luck!

Troubleshooting