<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Masa</id>
		<title>Radxa Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Masa"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Special:Contributions/Masa"/>
		<updated>2026-06-13T13:41:01Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/RockpiE/dev/serial-console</id>
		<title>RockpiE/dev/serial-console</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/RockpiE/dev/serial-console"/>
				<updated>2020-08-23T14:37:20Z</updated>
		
		<summary type="html">&lt;p&gt;Masa: /* Setup minicom */   Correct configuration file name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rockpiE_header}}&lt;br /&gt;
{{Languages|rockpiE/dev/serial-console}}&lt;br /&gt;
    [[rockpiE | ROCK Pi E]] &amp;gt; [[rockpiE/dev | Development]] &amp;gt; [[rockpiE/dev/serial-console | Serial Console]]&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E exports a dedicated  serial console, which can access the low level debug message.&lt;br /&gt;
&lt;br /&gt;
=== Requirement ===&lt;br /&gt;
&lt;br /&gt;
* ROCK Pi E&lt;br /&gt;
* USB Type-C power adapter and USB Type-C cable&lt;br /&gt;
* Host PC with Windows or Linux&lt;br /&gt;
* USB to TTL serial cable&lt;br /&gt;
** The definition of each pin of USB to TTL cable is showing like this:&lt;br /&gt;
&lt;br /&gt;
[[File:usb2ttl-cable-definition.jpeg | 500px ]]&lt;br /&gt;
&lt;br /&gt;
==== Note ====&lt;br /&gt;
&lt;br /&gt;
* The default baudrate of ROCK Pi E is 1500000(1.5Mbps), please check if your USB to TTL cable support 1.5Mbps baudrate. Some model of [https://www.silabs.com/products/interface/usb-bridges CP210X] and [http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=41 PL2303x]  have baudrate limitation, please check the specified model. We also tested that some cheap PL2303x based cable does not work well. Make sure choose a high quality one. The instructions below use a [http://www.ftdichip.com/Products/ICs/FT232R.htm FT232RL] based cable.&lt;br /&gt;
&lt;br /&gt;
* It seems that the serial tool on macOS platform can not support custom baudrate such as 1.5Mbps due to driver restriction. If you know how to set custom baudrate on macOS, please add an item here to show your findings.&lt;br /&gt;
&lt;br /&gt;
=== Connection ===&lt;br /&gt;
&lt;br /&gt;
Connect the USB to TTL serial cable as below. '''Don't connect the red wire.'''&lt;br /&gt;
&lt;br /&gt;
* ROCK Pi E V10 Board and later&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! ROCK Pi E || &amp;lt;---&amp;gt; || USB to TTL cable&lt;br /&gt;
|-&lt;br /&gt;
| RX(pin 10) || &amp;lt;---&amp;gt; || Green wire&lt;br /&gt;
|-&lt;br /&gt;
| TX(pin 8) || &amp;lt;---&amp;gt; || White wire&lt;br /&gt;
|-&lt;br /&gt;
| GND(pin 6) || &amp;lt;---&amp;gt; || Black wire&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Serial setting on host PC ===&lt;br /&gt;
&lt;br /&gt;
The default serial setting for ROCK Pi E u-boot and kernel console is:&lt;br /&gt;
&lt;br /&gt;
    baudrate: 1500000&lt;br /&gt;
    data bit: 8&lt;br /&gt;
    stop bit: 1&lt;br /&gt;
    parity  : none&lt;br /&gt;
    flow control: none&lt;br /&gt;
&lt;br /&gt;
==== Linux ====&lt;br /&gt;
&lt;br /&gt;
Minicom is the serial tool that supports wide range baud rate.&lt;br /&gt;
&lt;br /&gt;
Install minicom:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get update&lt;br /&gt;
    sudo apt-get install minicom&lt;br /&gt;
&lt;br /&gt;
Plug in the USB to TTL cable, kernel `dmesg | tail` should show the following device:&lt;br /&gt;
&lt;br /&gt;
    [1036835.654076] usb 1-6.4.3: new full-speed USB device number 103 using xhci_hcd&lt;br /&gt;
    [1036835.755730] usb 1-6.4.3: New USB device found, idVendor=0403, idProduct=6001&lt;br /&gt;
    [1036835.755732] usb 1-6.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0&lt;br /&gt;
    [1036835.755733] usb 1-6.4.3: Product: USB &amp;lt;-&amp;gt; Serial&lt;br /&gt;
    [1036835.755734] usb 1-6.4.3: Manufacturer: FTDI&lt;br /&gt;
    [1036835.756728] ftdi_sio 1-6.4.3:1.0: FTDI USB Serial Device converter detected&lt;br /&gt;
    [1036835.756750] usb 1-6.4.3: Detected FT232BM&lt;br /&gt;
    [1036835.757195] usb 1-6.4.3: FTDI USB Serial Device converter now attached to ttyUSB0&lt;br /&gt;
&lt;br /&gt;
'''/dev/ttyUSB0''' is our device here.&lt;br /&gt;
&lt;br /&gt;
===== Setup minicom=====&lt;br /&gt;
&lt;br /&gt;
First add current user to plugdev group to use minicom without sudo or root.&lt;br /&gt;
&lt;br /&gt;
    sudo usermod -a -G plugdev $USER&lt;br /&gt;
&lt;br /&gt;
Edit your '''~/.bashrc''' and add the following line with some default parameter&lt;br /&gt;
&lt;br /&gt;
    alias minicom='minicom -w -t xterm -l -R UTF-8'&lt;br /&gt;
&lt;br /&gt;
Login to a new terminal to take effect.&lt;br /&gt;
&lt;br /&gt;
Create and edit file '''~/.minirc.rockpiE''', add the following content:&lt;br /&gt;
&lt;br /&gt;
    pu port             /dev/ttyUSB0&lt;br /&gt;
    pu baudrate         1500000&lt;br /&gt;
    pu bits             8&lt;br /&gt;
    pu parity           N&lt;br /&gt;
    pu stopbits         1&lt;br /&gt;
    pu rtscts           No&lt;br /&gt;
&lt;br /&gt;
Now run '''minicom rockpiE''' to use the config above and connects to the ROCK Pi E serial console.&lt;br /&gt;
&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
Putty is also great serial tool that supports wide range baud rate.&lt;br /&gt;
&lt;br /&gt;
Plug in the USB to TTL cable to you windows PC. Viewing the  '''device manager''' you can find the '''COM number'''. Here it is '''COM3'''.&lt;br /&gt;
&lt;br /&gt;
Launch the application Putty on your windows PC. And do the setting as follows:&lt;br /&gt;
&lt;br /&gt;
For category '''Session''', set '''serial line''' as COM3, '''speed''' ad 1500000, '''connection type''' as Serial.&lt;br /&gt;
&lt;br /&gt;
Write '''rockpiE''' in the '''Saved Sessions''' column and press '''Save'''.&lt;br /&gt;
&lt;br /&gt;
[[File:putty-setting-session.jpg | 500px ]]&lt;br /&gt;
&lt;br /&gt;
For category '''Connection---Serial''', do the setting:&lt;br /&gt;
&lt;br /&gt;
[[File:putty-setting-serial.jpg | 500px ]]&lt;br /&gt;
&lt;br /&gt;
Once finish the setting, press '''Open''' button to start.&lt;br /&gt;
&lt;br /&gt;
=== FAQs ===&lt;br /&gt;
&lt;br /&gt;
====1.While using debug console, there is system startup information on the screen, but the keyboard cannot be used to input text?====&lt;br /&gt;
&lt;br /&gt;
One of the reason would be the wrong setting of the serial tool, such as the Hardware Flow Control, etc. Here we should disable the Hardware Flow Control.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
* Post your issue at the forum: https://forum.radxa.com/c/dev&lt;/div&gt;</summary>
		<author><name>Masa</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/RockpiE/FAQs</id>
		<title>RockpiE/FAQs</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/RockpiE/FAQs"/>
				<updated>2020-08-22T15:22:04Z</updated>
		
		<summary type="html">&lt;p&gt;Masa: /* Some Bluetooth devices are discoveried, but failed to connect to them on ROCK Pi E? */   fix typo  &amp;quot;discoveried&amp;quot; -&amp;gt; &amp;quot;discovered&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rockpiE_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rockpiE}}&lt;br /&gt;
&lt;br /&gt;
==OS==&lt;br /&gt;
=== What OS is ROCK Pi E running? ===&lt;br /&gt;
: Currently we have Debian Buster, Ubuntu Bionic, etc, running on ROCK Pi E.&lt;br /&gt;
&lt;br /&gt;
=== Can I ssh to ROCK Pi E running official Debian/Ubuntu? ===&lt;br /&gt;
: Yes, you can. The ROCK Pi E is shown as '''rockpie.local''' in your local network. Check out the [[RockpiE/getting_started/troubleshooting#Using_SSH | Using SSH]] page.&lt;br /&gt;
&lt;br /&gt;
=== Where is the Radxa APT sources list? ===&lt;br /&gt;
: Check file /etc/apt/sources.list.d/apt-radxa-com.list.&lt;br /&gt;
&lt;br /&gt;
=== Some Bluetooth devices are discovered, but failed to connect to them on ROCK Pi E? ===&lt;br /&gt;
:  One of the reason is the weak signal. To gain a stronger signal, you need an antenna attached to the antenna socket on board.&lt;/div&gt;</summary>
		<author><name>Masa</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/RockpiE/Ubuntu</id>
		<title>RockpiE/Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/RockpiE/Ubuntu"/>
				<updated>2020-08-22T14:20:40Z</updated>
		
		<summary type="html">&lt;p&gt;Masa: /* Introduction to ROCK Pi E Ubuntu */  fix a typo &amp;quot;UBuntu&amp;quot; -&amp;gt; &amp;quot;Ubuntu&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rockpiE_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rockpiE/Ubuntu}}&lt;br /&gt;
&lt;br /&gt;
    [[rockpiE | ROCK Pi E]] &amp;gt; [[rockpiE/Ubuntu | Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Work with ROCK Pi E Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction to ROCK Pi E Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E Ubuntu is an easy to use system. While working with ROCK Pi E Ubuntu, you will find it do well on playing music, playing video, Internet, Bluetooth and so on.&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E Debian uses '''systemd''' to manage system.&lt;br /&gt;
&lt;br /&gt;
Here Need one '''USB to TTL serial cable'''. Or use '''SSH'''.&lt;br /&gt;
&lt;br /&gt;
=== UBuntu Default User Account ===&lt;br /&gt;
&lt;br /&gt;
Non-root User:&lt;br /&gt;
    User Name : rock&lt;br /&gt;
    Password  : rock&lt;br /&gt;
&lt;br /&gt;
=== Install and update  necessary packages ===&lt;br /&gt;
&lt;br /&gt;
Add Radxa APT, see [[rockpiE/radxa-apt | Radxa APT]].&lt;br /&gt;
&lt;br /&gt;
Install packages;&lt;br /&gt;
&lt;br /&gt;
  $ sudo apt-get update&lt;br /&gt;
  $ sudo apt-get install -y rockchip-overlay&lt;br /&gt;
  $ sudo apt-get install -y linux-4.4-rockpie-latest&lt;br /&gt;
&lt;br /&gt;
=== Network Connection ===&lt;br /&gt;
&lt;br /&gt;
There are two methods for network connection. One is Ethernet and the other is WIFI.&lt;br /&gt;
&lt;br /&gt;
==== Ethernet Connection ====&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E provides dual ethernets. You can use two network cables at the same time to connect your ROCK Pi E to the network. The ROCK Pi E will automatically configure the network for your surfing on the Internet.&lt;br /&gt;
&lt;br /&gt;
===== To test the Ethernet, we need to follow the steps: =====&lt;br /&gt;
&lt;br /&gt;
* Switch to super user mode by command&lt;br /&gt;
  $ sudo su&lt;br /&gt;
&lt;br /&gt;
* Check whether the Ethernet is normal by command, ifconfig, which would show us two network cards, eth0 and eth1, and the Ethernet IP address. Also, use tool, ping, to connect to a normal domain. &lt;br /&gt;
&lt;br /&gt;
  $ ifconfig&lt;br /&gt;
  $ ping -I eth0 www.baidu.com&lt;br /&gt;
  $ ping -I eth1 www.baidu.com&lt;br /&gt;
&lt;br /&gt;
==== WiFi Connection ====&lt;br /&gt;
&lt;br /&gt;
When there is not a network cable for your ROCK Pi E the WIFI connection is another good choice. ROCK Pi E supports 2.4G/5G WiFi wireless network.&lt;br /&gt;
&lt;br /&gt;
=====To test the WiFi performance, we need to follow the steps:=====&lt;br /&gt;
&lt;br /&gt;
* Switch to super user mode&lt;br /&gt;
  $ sudo su&lt;br /&gt;
&lt;br /&gt;
* Open the WiFi&lt;br /&gt;
  $ nmcli r wifi on&lt;br /&gt;
&lt;br /&gt;
* Scan WiFi&lt;br /&gt;
  $ nmcli dev wifi&lt;br /&gt;
&lt;br /&gt;
* Connect to WiFi network&lt;br /&gt;
  $ nmcli dev wifi connect &amp;quot;wifi_name&amp;quot; password &amp;quot;wifi_password&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Test WiFi perpormance by tool iperf.&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
To gain a stronger signal, you need an antenna attached to the antenna socket on board. &lt;br /&gt;
&lt;br /&gt;
Update necessary packages&lt;br /&gt;
&lt;br /&gt;
  $ sudo apt-get update&lt;br /&gt;
  $ sudp apt-get install -y rockchip-overlay&lt;br /&gt;
  $ sudo apt-get install -y linux-4.4-rockpie-latest # kernel version(&amp;gt;=4.4.194-7-rockchip)&lt;br /&gt;
  $ sudo apt-get install -y realtek-bt-firmware bluez&lt;br /&gt;
&lt;br /&gt;
Check Bluetooth service&lt;br /&gt;
&lt;br /&gt;
  $ systemctl status bluetooth&lt;br /&gt;
&lt;br /&gt;
Run Bluetooth service if the Bluetooth service is inactive.&lt;br /&gt;
&lt;br /&gt;
  $ systemctl start bluetooth&lt;br /&gt;
&lt;br /&gt;
Start realtek-btfw-load service&lt;br /&gt;
&lt;br /&gt;
  $ systemctl start realtek-btfw-load&lt;br /&gt;
&lt;br /&gt;
Check Bluetooth device&lt;br /&gt;
&lt;br /&gt;
  $ hciconfig&lt;br /&gt;
  root@rockpie:~# hciconfig&lt;br /&gt;
  hci0:   Type: Primary  Bus: USB&lt;br /&gt;
        BD Address: 7C:A7:B0:22:82:C5  ACL MTU: 1021:8  SCO MTU: 255:12&lt;br /&gt;
        UP RUNNING PSCAN &lt;br /&gt;
        RX bytes:5120 acl:0 sco:0 events:100 errors:0&lt;br /&gt;
        TX bytes:2904 acl:0 sco:0 commands:74 errors:0&lt;br /&gt;
&lt;br /&gt;
Example: Connect to Bluetooth Speaker.&lt;br /&gt;
&lt;br /&gt;
Change to root mode.&lt;br /&gt;
&lt;br /&gt;
  $ sudo su&lt;br /&gt;
&lt;br /&gt;
Install pulseaudio packages&lt;br /&gt;
&lt;br /&gt;
  # apt-get install -y pulseaudio-module-bluetooth pulseaudio&lt;br /&gt;
&lt;br /&gt;
Run pulseaudio&lt;br /&gt;
&lt;br /&gt;
  # pulseaudio --start&lt;br /&gt;
&lt;br /&gt;
Connect using bluetoothctl&lt;br /&gt;
&lt;br /&gt;
  # bluetoothctl&lt;br /&gt;
  [bluetooth]# default-agent &lt;br /&gt;
  [bluetooth]# power on&lt;br /&gt;
  [bluetooth]# scan on&lt;br /&gt;
  [bluetooth]# trust 77:EC:79:4F:6B:AC&lt;br /&gt;
  [bluetooth]# pair 77:EC:79:4F:6B:AC&lt;br /&gt;
  [bluetooth]# connect 77:EC:79:4F:6B:AC&lt;br /&gt;
&lt;br /&gt;
Play songs and enjoy it.&lt;br /&gt;
&lt;br /&gt;
=== Common Hardware Interfaces, I2C, SPI, UART, etc ===&lt;br /&gt;
&lt;br /&gt;
The ROCK Pi E system images use /boot/uEnv.txt to configure hardware interfaces. &lt;br /&gt;
&lt;br /&gt;
Remember there is only one line including item &amp;quot;overlays=&amp;quot; in file /boot/uEnv.txt.&lt;br /&gt;
&lt;br /&gt;
For more details about device tree overlays, see [[Device-tree-overlays | Device Tree Overlays]].&lt;br /&gt;
&lt;br /&gt;
==== I2C ====&lt;br /&gt;
&lt;br /&gt;
To enable I2C-1 (/dev/i2c-1), add item &amp;quot;rk3328-i2c1&amp;quot; to the &amp;quot;overlays=&amp;quot; line. &lt;br /&gt;
&lt;br /&gt;
  overlays=rk3328-i2c1&lt;br /&gt;
&lt;br /&gt;
==== SPI ====&lt;br /&gt;
&lt;br /&gt;
To enable SPI0, add item &amp;quot;rk3328-spi-spidev&amp;quot; to the &amp;quot;overlays=&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
  overlays=rk3328-spi-spidev&lt;br /&gt;
  param_spidev_spi_bus=0&lt;br /&gt;
  param_spidev_spi_cs=0&lt;br /&gt;
  param_spidev_max_freq=10000000&lt;br /&gt;
&lt;br /&gt;
==== UART ====&lt;br /&gt;
&lt;br /&gt;
The debugger console baud rate options: 1500000n8 and 115200n8.&lt;br /&gt;
&lt;br /&gt;
To set ttyS1 as debugger console, add item &amp;quot;rk3328-uart1&amp;quot; to the &amp;quot;overlays=&amp;quot; line. Also need to set console value.&lt;br /&gt;
&lt;br /&gt;
  console=ttyS1,1500000n8&lt;br /&gt;
  overlays=rk3328-uart1&lt;br /&gt;
&lt;br /&gt;
To set ttyS2 as debugger console, add item &amp;quot;rk3328-uart2&amp;quot; to the &amp;quot;overlays=&amp;quot; line. Also need to set console value.&lt;br /&gt;
&lt;br /&gt;
  console=ttyS2,1500000n8&lt;br /&gt;
  overlays=rk3328-uart2&lt;br /&gt;
&lt;br /&gt;
To set ttyS1 as common serial communication, add item &amp;quot;rk3328-uart1&amp;quot; to the &amp;quot;overlays=&amp;quot; line. The device /dev/ttyS1 is available.&lt;br /&gt;
&lt;br /&gt;
  overlays=rk3328-uart1&lt;br /&gt;
&lt;br /&gt;
To set ttyS2 as common serial communication, add item &amp;quot;rk3328-uart2&amp;quot; to the &amp;quot;overlays=&amp;quot; line. The device /dev/ttyS2 is available.&lt;br /&gt;
&lt;br /&gt;
  overlays=rk3328-uart2&lt;br /&gt;
&lt;br /&gt;
=== Changelogs ===&lt;br /&gt;
&lt;br /&gt;
==== 2020.07.17 ====&lt;br /&gt;
&lt;br /&gt;
'''rockpie_ubuntu_bionic_minimal_arm64_20200717_0225-gpt.img'''&lt;br /&gt;
&lt;br /&gt;
* Rename Wi-Fi interface to wlan0&lt;br /&gt;
&lt;br /&gt;
==== 2020.06.16 ====&lt;br /&gt;
&lt;br /&gt;
'''rockpie_ubuntu_bionic_minimal_arm64_20200615_1238-gpt.img'''&lt;br /&gt;
&lt;br /&gt;
* Fix the issue of failing to find root device. System boot log may show like this. &lt;br /&gt;
&lt;br /&gt;
  [    3.345451] RAMDISK: incomplete write (3154 != 27844)&lt;br /&gt;
  [    3.345455] write error&lt;br /&gt;
  [    3.345526] Waiting for root device UUID=f19f09a0-c5b2-4753-853b-584c9e6c27c6...&lt;br /&gt;
&lt;br /&gt;
* Update rockchip-overlay package&lt;br /&gt;
&lt;br /&gt;
==== 2020.05.28 ====&lt;br /&gt;
&lt;br /&gt;
'''rockpie_ubuntu_bionic_minimal_arm64_20200528_0711-gpt.img'''&lt;br /&gt;
&lt;br /&gt;
* Automatically load Bluetooth firmware after system startup.&lt;br /&gt;
* Available for at least 256 MB DDR SDRAM&lt;br /&gt;
* Default non-root user: rock (password: rock)&lt;br /&gt;
* Default serial console: UART2&lt;br /&gt;
* Hostname: rockpie&lt;br /&gt;
* Kernel version:  4.4.194-12-rockchip-g615ae7431150&lt;br /&gt;
* Resize root filesystem to fit available disk space for the first boot&lt;br /&gt;
* System partitions: boot and rootfs&lt;br /&gt;
* Support SSH by default.&lt;br /&gt;
* Support uEnv and boot.scr&lt;br /&gt;
* The version of systemd: 237&lt;br /&gt;
* U-boot version: 2019.10-11661-g46695f4700&lt;/div&gt;</summary>
		<author><name>Masa</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/RockpiE/getting_started</id>
		<title>RockpiE/getting started</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/RockpiE/getting_started"/>
				<updated>2020-08-22T14:10:10Z</updated>
		
		<summary type="html">&lt;p&gt;Masa: /* 3. Boot the board */    fix a typo &amp;quot;dtorage&amp;quot; -&amp;gt; &amp;quot;storage&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rockpiE_header}}&lt;br /&gt;
{{Languages|rockpiE/getting_started}}&lt;br /&gt;
&lt;br /&gt;
    [[rockpiE | ROCK Pi E]] &amp;gt; [[rockpiE/getting_started | Getting started]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This guide is designed for ROCK Pi E enthusiast. The purpose is to learn about the ROCK Pi E board as well as how to prepare and set up for basic use. 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.&lt;br /&gt;
&lt;br /&gt;
== What you need ==&lt;br /&gt;
&lt;br /&gt;
=== Necessary ===&lt;br /&gt;
* ROCK Pi E main board&lt;br /&gt;
&lt;br /&gt;
* One of the Storage media below:&lt;br /&gt;
** μSD card,  larger than 8GB.&lt;br /&gt;
** eMMC Module, larger than 8GB with eMMC to μSD converter board.&lt;br /&gt;
&lt;br /&gt;
*  Power supply&lt;br /&gt;
** The ROCK Pi E is powered by adapter with type C port and '''5V only'''. If you power adapter supports USB PD, it's safe to power ROCK Pi E.&lt;br /&gt;
&lt;br /&gt;
*USB to TTL serial cable&lt;br /&gt;
**ROCK Pi E exports a dedicated serial console, which can access the low level debug message.&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* ROCKPi eMMC USB Reader&lt;br /&gt;
** For flashing the system image to eMMC Module.&lt;br /&gt;
&lt;br /&gt;
* μSD Card Reader with eMMC to uSD board&lt;br /&gt;
** For flashing the system image to μSD Card or eMMC Module.&lt;br /&gt;
&lt;br /&gt;
*  Ethernet cable&lt;br /&gt;
** ROCK Pi E supports Internet access via WiFi or Ethernet.&lt;br /&gt;
** One or two Ethernet cable are used to connect your ROCK Pi E to a local network and  the Internet.&lt;br /&gt;
&lt;br /&gt;
* Audio cable&lt;br /&gt;
** Audio can be played through speaker or headphones using a standard 3.5mm jack.&lt;br /&gt;
&lt;br /&gt;
== Close look of ROCK Pi E ==&lt;br /&gt;
* ROCK Pi E front view&lt;br /&gt;
[[File:rockpie_view_front.jpg|700px]]&lt;br /&gt;
* ROCK Pi E front with an angle view&lt;br /&gt;
[[File:rockpie_view_angle.jpg|700px]]&lt;br /&gt;
* ROCK Pi E back view&lt;br /&gt;
[[File:rockpie_view_back.jpg|700px]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;get_start_specs&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; Features ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Model&lt;br /&gt;
! colspan=&amp;quot;1&amp;quot;  | ROCK Pi E&lt;br /&gt;
|-&lt;br /&gt;
! Processor&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | SoC RK3328 &amp;lt;br /&amp;gt;Quad Cortex-A53 ARM 64bits processor &amp;lt;br /&amp;gt; frequency up to 1.3GHz&lt;br /&gt;
|-&lt;br /&gt;
! Memory&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | 256MB / 512MB / 1GB / 2GB DDR3&lt;br /&gt;
|-&lt;br /&gt;
! Storage&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | MicroSD(TF) up to 128GB&amp;lt;br&amp;gt; High performance eMMC module 16GB / 32GB / 64GB / 128GB&lt;br /&gt;
|-&lt;br /&gt;
! Wireless&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | 802.11 b/g/n wifi &amp;lt;br /&amp;gt; Bluetooth 4.0(rtl8723du/rtl8821cu) &amp;lt;br /&amp;gt; external antenna&lt;br /&gt;
|-&lt;br /&gt;
! USB&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | USB3.0 Type-A HOST x1 &lt;br /&gt;
|-&lt;br /&gt;
!| Key&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Reset key x1 &amp;lt;br /&amp;gt; Maskrom key x1&lt;br /&gt;
|-&lt;br /&gt;
! Ethernet&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | 1x 1000Mbit ethernet, optional PoE(additional HAT required) &amp;lt;br&amp;gt; 1x 100Mbit ethernet&lt;br /&gt;
|-&lt;br /&gt;
! IO&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | 40-pin expansion header &amp;lt;br&amp;gt; USB 2.0 x1&amp;lt;br&amp;gt; I2C x1 &amp;lt;br /&amp;gt; SPI x1&amp;lt;br /&amp;gt; UART x2&amp;lt;br /&amp;gt; I2S x1&amp;lt;br /&amp;gt; 5V DC power in x2 &amp;lt;br /&amp;gt; 3.3V DC power in x2&lt;br /&gt;
|-&lt;br /&gt;
! Others&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | LEDs&lt;br /&gt;
|-&lt;br /&gt;
! Power&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | USB Type-C DC 5V&lt;br /&gt;
|-&lt;br /&gt;
! Size&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | 2.5x2.2 inch(56x65mm)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Starting the board for the first time ==&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E can be started with eMMC Module or μSD Card. Now, you are presented with three options when installing your new operating system onto your ROCK Pi E. &lt;br /&gt;
&lt;br /&gt;
===  Prepare ===&lt;br /&gt;
* When starting system with eMMC Module&lt;br /&gt;
(Option a) Inster the eMMC Module into ROCK Pi eMMC USB Reader. Then plug the ROCK Pi eMMC USB Reader into host PC.&lt;br /&gt;
&lt;br /&gt;
(Option b) Insert eMMC Module into eMMC to μSD card converter board. Insert the converter board into μSD Card Reader. Then plug the Card Reader into host PC.&lt;br /&gt;
&lt;br /&gt;
* When starting system with μSD Card&lt;br /&gt;
(Option c) Insert the μSD Card into μSD Card Reader. Then plug the Card Reader into host PC.&lt;br /&gt;
&lt;br /&gt;
===  Write Image ===&lt;br /&gt;
&lt;br /&gt;
* Download the official Ubuntu/Debian system image from [[rockpiE/downloads | Downloads]].&lt;br /&gt;
&lt;br /&gt;
* Download the flash tool, etcher, from [[rockpiE/downloads | Downloads]]. Choose the right version for your host operation system. Here we operate on host Ubuntu 16.04.&lt;br /&gt;
&lt;br /&gt;
* After unpacking the package, we run the tool by executing the command&lt;br /&gt;
&lt;br /&gt;
 $ ./etcher-etcher-electron-1.4.5-x86_64.AppImage&lt;br /&gt;
&lt;br /&gt;
If you get an error message: &amp;quot;No polkit authentication agent found&amp;quot; you can try and start it with sudo, but do know that this is running the tool as '''root'''.&lt;br /&gt;
&lt;br /&gt;
*  In the etcher window, click '''Select image'''.&lt;br /&gt;
&lt;br /&gt;
[[File:linux_etcher_select_image.png]]&lt;br /&gt;
&lt;br /&gt;
* In the etcher window, click '''Select Drive'''.&lt;br /&gt;
&lt;br /&gt;
[[File:linux_etcher_select_driver.png]]&lt;br /&gt;
&lt;br /&gt;
* In the etcher window, click '''Flash'''.&lt;br /&gt;
&lt;br /&gt;
[[File:linux_etcher_select_flash_button.png]]&lt;br /&gt;
&lt;br /&gt;
* In the etcher window, once it shows us Flash Complete! It is done and can be put into the RockPi.&lt;br /&gt;
&lt;br /&gt;
[[File:linux_etcher_show_complete.png]]&lt;br /&gt;
&lt;br /&gt;
===  3. Boot the board ===&lt;br /&gt;
&lt;br /&gt;
* Now insert the system storage media, uSD Card or eMMC Module into the socket on the board.&lt;br /&gt;
&lt;br /&gt;
* (Optional) Use the USB to TTL serial cable to setup a connection between PC and ROCK Pi E board. See [[rockpiE/dev/serial-console | Serial Console]].&lt;br /&gt;
&lt;br /&gt;
* Power on ROCK Pi E by adapter with type C port. The input voltage should be 5V.&lt;br /&gt;
&lt;br /&gt;
* ROCK Pi E will boot with the green power Led on. And after a while, the another green Led starts blinking.&lt;br /&gt;
&lt;br /&gt;
=== 4. Access from the Host PC/Laptop ===&lt;br /&gt;
&lt;br /&gt;
==== Option 1: Serial console ====&lt;br /&gt;
&lt;br /&gt;
Check [[rockpiE/dev/serial-console | Serial Console]]&lt;br /&gt;
&lt;br /&gt;
==== Option 2: SSH ====&lt;br /&gt;
SSH server  is enabled on port 22 of ROCK Pi E default image. &lt;br /&gt;
&lt;br /&gt;
Please use [https://angryip.org/ angryip] to find your board IP address.&lt;br /&gt;
&lt;br /&gt;
To access ROCK Pi E by SSH, try &lt;br /&gt;
  &lt;br /&gt;
    ping rockpie.local&lt;br /&gt;
    ssh rock@rockpie.local&lt;br /&gt;
&lt;br /&gt;
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 E ip address.&lt;br /&gt;
&lt;br /&gt;
    ping ip-of-device&lt;br /&gt;
    ssh rock@ip-of-device&lt;br /&gt;
&lt;br /&gt;
Note: You can also get the IP of ROCK Pi E from option 1 if you can not access network administrator page.&lt;br /&gt;
&lt;br /&gt;
=== 5.Network state ===&lt;br /&gt;
&lt;br /&gt;
*Look at network configure:&lt;br /&gt;
&lt;br /&gt;
   $ sudo ifconfig&lt;br /&gt;
&lt;br /&gt;
*Test network:&lt;br /&gt;
&lt;br /&gt;
   $ ping -c 5 www.google.com&lt;br /&gt;
&lt;br /&gt;
=== 6.WIFI Connection ===&lt;br /&gt;
&lt;br /&gt;
Check [[rockpiE/Debian#WIFI Connection|  WIFI Connection]].&lt;br /&gt;
&lt;br /&gt;
=== 7.Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
Check [[rockpiE/Debian#Bluetooth|  Bluetooth]].&lt;br /&gt;
&lt;br /&gt;
=== 8.LED ===&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E has Power LED and User LED.&lt;br /&gt;
&lt;br /&gt;
* Power LED&lt;br /&gt;
&lt;br /&gt;
The power LED is green. It is always on when ROCK Pi E is given power by default,&lt;br /&gt;
&lt;br /&gt;
* User LED&lt;br /&gt;
&lt;br /&gt;
The user LED is green. By default, its blink status shows the running kernel.&lt;br /&gt;
&lt;br /&gt;
=== 9.GPIO ===&lt;br /&gt;
&lt;br /&gt;
ROCK Pi E has one 40-pin expansion headers. Each pin is distinguished by color, more information click [https://wiki.radxa.com/RockpiE/hardware/gpio here]&lt;br /&gt;
&lt;br /&gt;
Development for GPIO. ROCK Pi E supports libmraa GPIO library, click [[RockpiE/dev/libmraa | here]] to get more information.&lt;br /&gt;
&lt;br /&gt;
== Next Step ==&lt;br /&gt;
&lt;br /&gt;
* [[RockpiE/Debian | More Debian image usage and tips]]&lt;br /&gt;
* [[RockpiE/Ubuntu | More Ubuntu image usage and tips]]&lt;br /&gt;
* [[RockpiE/hardware | Checkout the hardware details]]&lt;br /&gt;
* Join the [https://forum.radxa.com/c/rockpie community] and the [https://t.me/rockpi4 discussion group]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
* Refer [[RockpiE/getting_started/troubleshooting | Troubleshooting page]]&lt;br /&gt;
* Post your issue on the forum: https://forum.radxa.com/c/rockpie&lt;/div&gt;</summary>
		<author><name>Masa</name></author>	</entry>

	</feed>