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.
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 |
ROCK Pi S can be started with μSD Card.
Insert the μSD Card into μSD Card Reader, which connects to host computer.
$ ./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.
By default, the ROCK Pi S Linux image enables adbd services, which is a debug bridge from Android now ported on Linux. With one USB A to C cable you can power and access the board, very handy.
To use adb, you need to install adb tool on the PC/Laptop. Check instructions for Windows and Linux.
After you have adb installed successfully, run the following command on console to login the shell of ROCK Pi S:
adb shell
Check Using adb.
Check Serial Console
SSH server is enabled on port 22 of ROCK Pi S default image.
Please use angryip to find your board IP address.
To access ROCK Pi S by SSH, try
ping rockpis.local ssh rock@rockpis.local
or if your router/network doesn't support Local Domain, you need to check your network/router administrator page and look for the ROCK Pi S ip address.
ping ip-of-device ssh rock@ip-of-device
Note: You can also get the IP of ROCK Pi S from option 1 or option 2 if you can not access network administrator page.
$ sudo ifconfig
$ ping -c 5 www.google.com
Check WIFI Connection.
Check Bluetooth.
ROCK Pi S has reset key and maskrom key:
Press and release this key to reset ROCK Pi S.
ROCK Pi S supports boot on SD NAND flash. By default, SD NAND starts before TF card. Press the maskrom key to ignore the SD NAND flash when ROCK Pi S is powered on.
ROCK Pi S has Power LED and User LED.
Power LED is green, which can be configured by sysfs.
The related directory is /sys/class/leds/rockpis:green:power
It is always on when ROCK Pi S is given power by default,
User LED is blue, which can be configured by sysfs.
The related directory is /sys/class/leds/rockpis:blue:user
By default, its blink status shows the running kernel.
ROCK Pi S has two 26-pin expansion headers. 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.
ROCK Pi S has an USB type-C OTG connector, which you can use to write(or read) data by PC to (or from) ROCK Pi S, more help click here