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

Difference between revisions of "RockpiS/getting started"

(Close look of ROCK Pi S)
(Troubleshooting)
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{rockpiS_header}}
 
{{rockpiS_header}}
 
{{Languages|rockpiS/getting_started}}
 
{{Languages|rockpiS/getting_started}}
 +
 +
    [[rockpiS | ROCK Pi S]] > [[rockpiS/getting_started | Getting started]]
  
  
Line 48: Line 50:
 
|-
 
|-
 
! Processor
 
! Processor
| colspan="2" | ---
+
| colspan="2" | SoC RK3308 <br />Quad Cortex-A35 ARM 64bits processor <br /> frequency up to 1.3GHz
 
|-
 
|-
 
! Memory
 
! Memory
| colspan="2" | ---
+
| colspan="2" | 256MB or 512MB DDR3
 
|-
 
|-
 
! Storage
 
! Storage
| colspan="2" | ---
+
| colspan="2" | MicroSD(TF), optional on board 1/2/4/8Gb NAND flash
|-
+
! Display
+
| colspan="2" | ---
+
 
|-
 
|-
 
! Wireless
 
! Wireless
| colspan="2" | ---
+
| colspan="2" | 802.11 b/g/n wifi <br /> Bluetooth 4.0(rtl8723DS) <br /> external antenna
 
|-
 
|-
 
! USB
 
! USB
| colspan="2" | ---
+
| colspan="2" | USB2.0 Type-A HOST x1 <br /> USB3.0 Type-C OTG x1
 +
|-
 +
!| Key
 +
| colspan="2" | maskrom x1 <br /> reset x1
 
|-
 
|-
 
! Ethernet
 
! Ethernet
| colspan="2" | ---
+
| colspan="2" | 100MB ethernet, optional PoE(additional HAT requried)
 
|-
 
|-
 
! IO
 
! IO
| colspan="2" | ---
+
| colspan="2" | 26-pin expansion header <br /> I2C x4 <br /> PWM x3 <br /> SPI x2<br /> UART x3<br /> I2S0 x1<br /> 5V DC power in x2 <br /> 3.3V DC power in x2
 
|-
 
|-
 
! Others
 
! Others
Line 75: Line 77:
 
|-
 
|-
 
! Power
 
! Power
| colspan="2" | ---
+
| colspan="2" | USB Type-C DC 5V
 
|-
 
|-
 
! Size
 
! Size
| colspan="2" | ---
+
| colspan="2" | 1.7inch square
 
|}
 
|}
  
Line 121: Line 123:
  
 
* Now insert system storage media into the socket on board.
 
* Now insert system storage media into the socket on board.
** Methods of starting system with μSD Card. The picture below shows.<br />('''Todo''': add picture)
+
('''Todo''': add picture)
  
* Use a USB to TTL serial cable to make a connection between your PC and ROCK Pi S.
+
* Use a USB to TTL serial cable to make a connection between your PC and ROCK Pi S. See [[rockpiS/dev/serial-console | Serial Console]]
* Connect the power supply to the ROCK Pi S. The board will begin to immediately.
+
 
 +
* Use ssh to access ROCK Pi S. See [[rockpiS/getting_started/troubleshooting#Using SSH | Using SSH ]].
 +
 +
* Power on ROCK Pi S. The system runs with the green power led on..
  
 
Wish you good luck!
 
Wish you good luck!
Line 130: Line 135:
 
=== Troubleshooting ===
 
=== Troubleshooting ===
 
* Refer [[RockpiS/getting_started/troubleshooting | Troubleshooting page]]
 
* Refer [[RockpiS/getting_started/troubleshooting | Troubleshooting page]]
* Post your issue on the forum: https://forum.radxa.com/c/rockpi4/Troubleshooting
+
* Post your issue on the forum: https://forum.radxa.com/c/rockpiS
 +
 
 +
===Network state===
 +
 
 +
*Look at network configure:
 +
 
 +
  $ sudo ifconfig
 +
 
 +
*Test network:
 +
 
 +
  $ ping -c 5 www.google.com
 +
 
 +
=== WIFI Connection ===
 +
 
 +
When there is not a network cable for your ROCK Pi S, the WIFI connection is another good choice.
 +
 
 +
=== To test the WIFI performance, we need to follow the steps: ===
 +
* Switch to super user mode
 +
  $ sudo su
 +
 
 +
* Open the WIFI
 +
  $ nmcli r wifi on
 +
 
 +
* Scan WIFI
 +
  $ nmcli dev wifi
 +
 
 +
* Connect to WIFI network
 +
  $ nmcli dev wifi connect "wifi_name" password "wifi_password"
 +
 
 +
* Test WIFI perpormance by tool iperf
 +
 
 +
===Keys Function===
 +
 
 +
ROCK Pi S have reset key and maskrom key:
 +
 
 +
[[File:Keys.jpeg ]]
 +
 
 +
*Reset key:
 +
 
 +
Push this key ROCK Pi S can reset hardware.
 +
 
 +
*Maskrom key:
 +
 
 +
ROCK Pi S support boot on SD NAND flash,SD NAND was booting before TF card on default,push maskrom key can ignore the SD NAND flash.
 +
 
 +
===GPIO===
 +
 
 +
ROCK Pi S has two 26-pin expansion header. Each pin is distinguished by color, more information click [https://wiki.radxa.com/RockpiS/hardware/gpio here]
 +
 
 +
Development for GPIO ROCK Pi S support libmraa GPIO library, click [https://wiki.radxa.com/RockpiS/dev/libmraa here] to get more information.
 +
 
 +
===Using OTG===
 +
 
 +
ROCK Pi S has an USB type-C OTG connector, you can using it write or read data  by PC to ROCK Pi S, more help click [https://wiki.radxa.com/RockpiS/dev/otg here]

Revision as of 07:29, 22 August 2019

    ROCK Pi S >  Getting started


This guide is designed for ROCK Pi S enthusiast. The purpose is to learn about the ROCK Pi S board as well as how to prepare and set up for basic use. We will introduce the board information as much as possible.

What you need

Necessary

  • ROCK Pi S main board
  • One of the Storage media below:
    • μSD card, larger than 8GB.
  • Power supply
    • The ROCK Pi S is powered by Type-C port.
    • The power input voltage is DC 5V.
  • USB to TTL serial cable
    • This is needed for serial console.

Optional

  • μSD Card Reader
    • For flashing the image into μSD Card or eMMC Module.
  • USB type C to type A cable
    • This is needed for fastboot/adb commands.
  • Ethernet cable
    • ROCK Pi S supports Internet access via WIFI or Ethernet.
    • An Ethernet cable is used to connect your ROCK Pi S to a local network and the Internet.

Close look of ROCK Pi S

  • ROCK Pi S front view

Rockpi s top 1200px.jpeg

  • ROCK Pi S front with an angle view

Rockpi s angel 1200px.jpeg

  • ROCK Pi S back view

Rockpi s back 1200px.jpeg

Features

Model ROCK Pi S
Processor SoC RK3308
Quad Cortex-A35 ARM 64bits processor
frequency up to 1.3GHz
Memory 256MB or 512MB DDR3
Storage MicroSD(TF), optional on board 1/2/4/8Gb NAND flash
Wireless 802.11 b/g/n wifi
Bluetooth 4.0(rtl8723DS)
external antenna
USB USB2.0 Type-A HOST x1
USB3.0 Type-C OTG x1
Key maskrom x1
reset x1
Ethernet 100MB ethernet, optional PoE(additional HAT requried)
IO 26-pin expansion header
I2C x4
PWM x3
SPI x2
UART x3
I2S0 x1
5V DC power in x2
3.3V DC power in x2
Others ---
Power USB Type-C DC 5V
Size 1.7inch square


Starting the board for the first time

ROCK Pi S can be started with μSD Card.

Prepare

  • When start system with μSD Card

Insert the μSD Card into μSD Card Reader, which connects to host computer.

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 ROCK Pi S.

Linux etcher show complete.png

Boot

  • Now insert system storage media into the socket on board.

(Todo: add picture)

  • Use a USB to TTL serial cable to make a connection between your PC and ROCK Pi S. See Serial Console
  • Power on ROCK Pi S. The system runs with the green power led on..

Wish you good luck!

Troubleshooting

Network state

  • Look at network configure:
  $ sudo ifconfig
  • Test network:
  $ ping -c 5 www.google.com

WIFI Connection

When there is not a network cable for your ROCK Pi S, the WIFI connection is another good choice.

To test the WIFI performance, we need to follow the steps:

  • Switch to super user mode
 $ sudo su
  • Open the WIFI
 $ nmcli r wifi on
  • Scan WIFI
 $ nmcli dev wifi
  • Connect to WIFI network
 $ nmcli dev wifi connect "wifi_name" password "wifi_password"
  • Test WIFI perpormance by tool iperf

Keys Function

ROCK Pi S have reset key and maskrom key:

Keys.jpeg

  • Reset key:

Push this key ROCK Pi S can reset hardware.

  • Maskrom key:

ROCK Pi S support boot on SD NAND flash,SD NAND was booting before TF card on default,push maskrom key can ignore the SD NAND flash.

GPIO

ROCK Pi S has two 26-pin expansion header. Each pin is distinguished by color, more information click here

Development for GPIO ROCK Pi S support libmraa GPIO library, click here to get more information.

Using OTG

ROCK Pi S has an USB type-C OTG connector, you can using it write or read data by PC to ROCK Pi S, more help click here