Author:
Per Stenebo
Created:
2017-11-19 18:11:46
Modified:
2019-08-09 20:12:03
en

Orange Pi R1

Orange Pi R1 description

| Manufacturer product page | downloadresources (OS + manuals) | Wiki (R1 is a variant of Zero) |

Shop: | aliexpress |

Guides: | cnx-software.com |

Alternative boards: | NanoPi R1 |

UART TTL serial connection

TTL connections

TTL cables

Connect console cable, black to GND, green to RX, white to TX.

Using a console cable in the same way as for Raspberry Pi (screen /dev/ttyUSB0 115200), did not work on this board, the characters got mangeled at some point during boot.

The manual offers some solutions, for Linux that includes using kermit (Ubuntu man page):

Install: sudo apt install ckermit

Edit konfiguration file: sudo nano /etc/kermit/kermrc

Add the following:

set line		/dev/ttyUSB0
set speed		115200
set carrier-watch	off
set handshake		none
set flow-control	none
robust
set file type		bin
set file name		lit
set rec pack		1000
set send pack		1000
set window		5

Start kermit: sudo kermit –c

Power on and boot OrangePi, the serial port will print debug log and finally a login prompt.

After updating and working some time with the Orange Pi I discovered that I could not connect to a Raspberry Pi using a console cable with the usual "screen /dev/ttyUSB0 115200". I uninstalled kermit with:

Uninstall: sudo apt --purge remove ckermit

After that I could connect to both Raspberry Pi and the Orange Pi using the regular 

screen /dev/ttyUSB0 115200

 

OS

Ubuntu Server

I have tested Ubuntu Server (ubuntu_server_xenial_H2_R1_V0.1.img.xz) from Orange Pi download section.

Transfer OS to SD card:

sudo dd bs=4M if=ubuntu_server_xenial_H2_R1_V0.1.img of=/dev/sdb

Default values:

Hostname: OrangePizero
Username: root
Password: orangepi
Filesystem usage: 91% (resize to fill SD card with sudo fs_resize)

However, cat /etc/os-release shows Ubuntu 15.04 (Vivid Vervet) and uname -a shows kernel 3.4.39. This doesn't match my expectations.

Armbian

| Download | R1 tread |

Transfer OS to SD card:

sudo dd bs=4M if=Armbian_5.34_Orangepi-r1_Ubuntu_xenial_default_3.4.113.img of=/dev/sdb

Default values (2017-11-19):

Hostname: orangepi
Username: root
Password: 1234
Filesystem usage: 71% of 1.4G (auto-resize after reboot)
Kernel: 3.4.113-sun8i armv7l
OS: Ubuntu 16.04.3 LTS (Xenial Xerus)
Connection: Serial via TTL and SSH.
Main ethernet port: eth0 (close to 13 pin interface)

General system configuration (beta): sudo armbian-config

Monitor system values: sudo armbianmonitor -m

 

Comments to page Orange Pi R1