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

Difference between revisions of "Rockpi4"

(40 PIN GPIO)
(46 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{rockpi4_header}}
  
__NOTOC__
+
{{Languages|rockpi4}}
  
{{rockpi4_header}}
 
  
[[File:rockpi_4B_v13_breadboard_front.png | 500px | right]]
+
__NOTOC__
  
== Introduction ==
 
  
ROCK Pi 4 is a Rockchip RK3399 based SBC(Single Board Computer) by [[Special:SpecialContact| Radxa]]. It can run android or some Linux distributions.
+
<div class="col-md-12 ">
ROCK Pi 4 features a six core ARM processor, 64bit dual channel 3200Mb/s LPDDR4, up to 4K@60 HDMI, MIPI DSI, MIPI CSI, 3.5mm jack with mic, 802.11 ac WIFI, Bluetooth 5.0, USB Port, GbE LAN, 40-pin color expansion header, RTC. Also, ROCK Pi 4 supports USB PD and QC powering.
+
<div class="col-md-8 ">
 +
= ROCK Pi 4=
 +
This is the documentation for ROCK Pi 4, written by Radxa Team with community contributions.
  
ROCK Pi 4 comes in two models, Model A and Model B.
+
ROCK Pi 4 is a Rockchip RK3399 based SBC(Single Board Computer) by [[Special:SpecialContact/| Radxa]]. It can run android or some Linux distributions.
 +
ROCK Pi 4 features a six core ARM processor, 64bit dual channel 3200Mb/s LPDDR4, up to 4K@60 HDMI, MIPI DSI, MIPI CSI, 3.5mm jack with mic, 802.11 ac WIFI, Bluetooth 5.0, USB Port, GbE LAN, 40-pin color expansion header, RTC. Also, ROCK Pi 4 supports USB PD and QC powering.
  
== Getting started ==
+
ROCK Pi 4 comes in two models, Model A and Model B, each model has 1GB, 2GB or 4GB ram options. for detailed difference of Model A and Model B, please check [[Rockpi4/getting_started#get_start_specs | Specifications]].
 +
</div>
 +
<div class="col-md-4 ">
 +
[[File:rockpi_4B_v13_breadboard_front.png | 400px ]]
 +
</div>
 +
</div>
  
Refer the [[Rockpi4/getting_started | ROCK Pi 4 getting started]] page for how to start with ROCK Pi.
+
<div class="clearfix"></div>
  
Refer [[rockpi4/install | Installation]] for how to install images on ROCK Pi.
+
<div class="col-md-12 ">
 +
<div class="col-md-4">
 +
    <div class="panel panel-hearts-white">
 +
        <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-hand-o-up"></i>  [[Rockpi4/getting_started | Setup/Quick start ]]</h3> </div>
 +
        <div class="panel-body">
 +
* [[Rockpi4/getting_started | Getting started with your ROCK Pi 4]], including what you need and how to get it booted.
 +
* [[Rockpi4/hardware/rockpi4#gpio | GPIO pinout]]
 +
        </div>
 +
    </div>
 +
</div>
  
== Hardware ==
+
<div class="col-md-4 ">
 +
    <div class="panel panel-midnight-white">
 +
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-download"></i> [[rockpi4/install | Installation]]</h3></div>
 +
        <div class="panel-body">
 +
Installing an operating system on your ROCK PI 4, including microSD card, eMMC module, USB drive and M.2 NVME SSD,
  
Refer [[rockpi4/hardware |ROCK Pi 4 Hardware]] page for detailed info about ROCK Pi.
+
* [[rockpi4/install/microSD | Install on microSD card]]
 +
* [[rockpi4/install/eMMC | Install on eMMC module]]
 +
* [[rockpi4/install/USB | Install on USB drive(wip)]]
 +
* [[rockpi4/install/NVME | Install on M.2 NVME SSD(wip)]]
 +
* [[rockpi4/radxa-apt | Update from Radxa Apt]]
 +
        </div>
 +
    </div>
 +
</div>
  
[http://www.example.com link title]
+
<div class="col-md-4 ">
 +
    <div class="panel panel-mango-white">
 +
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-cog"></i> [[rockpi4/dev | Development]]</h3></div>
 +
        <div class="panel-body">
 +
Information about Linux and Android development
 +
* [[rockpi4/dev/usb-install | USB Installation]]
 +
* [[rockpi4/dev/Debian | Build Debian]]
 +
* [[rockpi4/dev/kernel-4.4 | Build vendor kernel(Rockchip 4.4)]]
 +
* [[rockpi4/dev/usbnet | USB Device Network]]
 +
* [[rockpi4/dev/rockpi-android-tv | Build Android (nougat) TV]]
 +
* [[rockpi4/dev/serial-console | Serial Console]]
 +
[[rockpi4/dev | > More...]]
 +
        </div>
 +
    </div>
 +
</div>
  
===40 PIN GPIO ===
+
</div><div class="clearfix"></div>
  
{| class="wikitable"
+
<div class="col-md-12 ">
! Function2 || Function1 ||  GPIO ||  Pin# || || Pin# || GPIO || Function1 || Function2
+
<div class="col-md-4 ">
|-  
+
    <div class="panel panel-hearts-white">
| || +3.3V ||  || style="background:yellow"| 1 ||  ||style="background:red"| 2 ||  || +5.0V ||
+
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-ban"></i> Remote Access</h3></div>
|-
+
        <div class="panel-body">
| || style="background:orange"| I2C7_SDA || GPIO2_A7 || style="background:green; color:white"| 3 || ||  style="background:red"| 4 || || +5.0V ||
+
* Accessing your ROCK Pi 4 remotely via SSH or over the web.
|-
+
        </div>
| || style="background:orange"| I2C7_SCL || GPIO2_B0 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 ||  || GND ||
+
    </div>
|-
+
</div>
| CIF_CLKOUT ||  SPI2_CLK || GPIO2_B3 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || GPIO4_C4 || style="background:orange"|DEBUG_TXD ||
+
|-
+
| ||  GND ||  || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || GPIO4_C3 || style="background:orange"|DEBUG_RXD ||
+
|-
+
| ||  PWM0 || GPIO4_C2 || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO4_A3 || I2S1_SCLK/PCM-CLK ||
+
|-
+
| || PWM1 || GPIO4_C6 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || || GND ||
+
|-
+
| || SPDIF_TX || style="background:orange" | GPIO4_C5 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO4_D2 || ||
+
|-
+
| ||  +3.3V || || style="background:yellow"|17 || || style="background:green; color:white"|18 || GPIO4_D4 || ||
+
|-
+
| ||  SPI1_TXD || GPIO1_B0 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || || GND ||
+
|-
+
|  ||  SPI1_RXD || GPIO1_A7  || style="background:green; color:white"|21  ||  || style="background:green; color:white"|22  || GPIO4_D5  ||
+
|-
+
|  ||  SPI1_CLK || GPIO1_B1 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO1_B2  || SPI1_CSn  ||
+
|-
+
| ||  GND  ||  || style="background:black; color:white"|25  ||  || style="background:green; color:white"|26 ||  || ADC_IN0 ||
+
|-
+
| ||  I2C2_SDA  || GPIO2_A0 || style="background:blue; color:white"|27  ||  || style="background:blue; color:white"|28 || GPIO2_A1 || I2C2_CLK ||
+
|-
+
| I2C6_SCL ||  SPI2_TXD  || GPIO2_B2 || style="background:green; color:white"|29  ||  || style="background:black; color:white"|30 ||  || GND ||
+
|-
+
| I2C6_SDA ||  SPI2_RXD  || GPIO2_B1 || style="background:green; color:white"|31  ||  || style="background:green; color:white"|32 || GPIO3_C0 || SPDIF_TX ||
+
|-
+
| ||  SPI2_CSn || GPIO2_B4 || style="background:green; color:white"|33  ||  || style="background:black; color:white"|34 ||  || GND ||
+
|-
+
| ||  I2S1_LRCK_TX || GPIO4_A5 || style="background:green; color:white"|35  ||  || style="background:green; color:white"|36 || GPIO4_A4 || I2S1_LRCK_RX ||
+
|-
+
|  ||  || GPIO4_D6 || style="background:green; color:white"|37  ||  || style="background:green; color:white"|38 || GPIO4_A6 || I2S1_SDIO/PCM-DI ||
+
|-
+
| ||  GND ||  || style="background:black; color:white"|39  ||  ||style="background:green; color:white"|40  || GPIO4_A7 || I2S1_SDO0/PCM-D0 ||
+
|}
+
  
==== Sweet tips about ROCK Pi 4 Board ====
+
<div class="col-md-4 ">
* Function marked with color orange is the default function of this pin.  
+
    <div class="panel panel-gunmetal-white">
* For pin 3, 5, 27, 28, 29 and 31, each pin is connected to the 3.3V supply through a 4.7K pull-up resistor.
+
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-linux"></i> [http://wiki.radxa.com/Rockpi4/Debian Working With Linux ]</h3></div>
* Pin 19, 21, 23, 24 are laid out directly to the pins of SPI device on board.
+
        <div class="panel-body">
* Pin7 is laied out directly to the pin of MIPI CSI on board.
+
Fundamental Linux usage for beginners and more advanced information for power users.
 +
* [[Rockpi4/Debian | Debian Desktop]]
 +
* [[Rockpi4/Ubuntu | Ubuntu Server]]
 +
* [[Rockpi4/radxa-apt | Radxa APT]]
 +
        </div>
 +
        </div>
 +
</div>
  
== Software ==
+
<div class="col-md-4">
 +
    <div class="panel panel-meadow-white">
 +
        <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-android"></i> [http://wiki.radxa.com/Rockpi4/Android Working With  Android ]</h3></div>
 +
        <div class="panel-body">
 +
Fundamental Android usage for beginners and more advanced information for power users.
 +
* [https://forum.radxa.com/t/solve-google-play-device-is-not-play-protect-certified-issue/229 Solve Google Play Device is not Play Protect certified issue]
 +
        </div>
 +
        </div>
 +
</div>
 +
</div><div class="clearfix"></div>
  
=== Build ===
+
<div class="col-md-12 ">
 +
<div class="col-md-4 ">
 +
    <div class="panel panel-cello-white">
 +
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-hdd-o"></i>  [[rockpi4/hardware|Hardware]] </h3></div>
 +
        <div class="panel-body">
 +
* Technical specifications about the ROCK Pi 4 hardware, including WI-FI module, LCD module, camera module, etc.
 +
* [[News/2018/11/introduce-the-new-rockpi-4-hardware | Blog post]]  from Radxa Team introducing the ROCK Pi hardware design
 +
* Refer [[rockpi4/hardware |ROCK Pi 4 Hardware]] page for detailed info about ROCK Pi.
 +
        </div>
 +
        </div>
 +
</div>
  
=== Release Images===
+
<div class="col-md-4 ">
 +
    <div class="panel panel-cocktail-white">
 +
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-question"></i> [[rockpi4/FAQs | FAQs]]</h3></div>
 +
        <div class="panel-body">
 +
* Answers to frequently asked technical questions
 +
* Answers to sale of ROCK Pi 4
 +
        </div>
 +
        </div>
 +
</div>
  
== Community ==
+
<div class="col-md-4 ">
 +
    <div class="panel panel-cocktail-white">
 +
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-users"></i> Community</h3></div>
 +
        <div class="panel-body">
 
* Forum: http://forum.radxa.com
 
* Forum: http://forum.radxa.com
 
* Telegram Group: https://t.me/rockpi4
 
* Telegram Group: https://t.me/rockpi4
 +
* [[rockpi4/contribute | How to contribute to this wiki]]
 +
        </div>
 +
        </div>
 +
</div>
 +
</div><div class="clearfix"></div>

Revision as of 02:56, 17 February 2019



ROCK Pi 4

This is the documentation for ROCK Pi 4, written by Radxa Team with community contributions.

ROCK Pi 4 is a Rockchip RK3399 based SBC(Single Board Computer) by Radxa. It can run android or some Linux distributions. ROCK Pi 4 features a six core ARM processor, 64bit dual channel 3200Mb/s LPDDR4, up to 4K@60 HDMI, MIPI DSI, MIPI CSI, 3.5mm jack with mic, 802.11 ac WIFI, Bluetooth 5.0, USB Port, GbE LAN, 40-pin color expansion header, RTC. Also, ROCK Pi 4 supports USB PD and QC powering.

ROCK Pi 4 comes in two models, Model A and Model B, each model has 1GB, 2GB or 4GB ram options. for detailed difference of Model A and Model B, please check Specifications.

Rockpi 4B v13 breadboard front.png

Remote Access

  • Accessing your ROCK Pi 4 remotely via SSH or over the web.

Fundamental Linux usage for beginners and more advanced information for power users.

Fundamental Android usage for beginners and more advanced information for power users.

  • Technical specifications about the ROCK Pi 4 hardware, including WI-FI module, LCD module, camera module, etc.
  • Blog post from Radxa Team introducing the ROCK Pi hardware design
  • Refer ROCK Pi 4 Hardware page for detailed info about ROCK Pi.
  • Answers to frequently asked technical questions
  • Answers to sale of ROCK Pi 4