Orange Pi 3
The OrangePi 3 board is an Open-source Single Board Computer (SBC) of 93x60mm created and sold by Xunlong.
- Create initial system from scratch (sources): all the steps, using u-boot and Linux kernel sources.
- Rootfs guide to create either a minimal system using Busybox or a full Devuan GNU/Linux system.
- The "SD card creation" section from the "from scratch" page : also provides information to use u-boot, kernel, and Devuan root filesystem I built.
You can get the images here: Images for Orange Pi 3 board.
Connection and startup
USB-UART serial console connection
On the J3 connector (3 pins male 2.54mm, next to the power button and micro USB port, pin 1 on the power button side) :
- pin 1 - GND : Black
- pin 2 - UART RX : Orange
- pin 3 : UART TX : Yellow
SD card boot
The OrangePi 3 board boots from the SD card which has to be prepared following specific steps. Follow the "SD card creation" section from the "from scratch" page
The OrangePi 3 board has one extension ports using common 2.54mm (0.1inch) pitch:
- con12 : 2x13
|con4 : 2x13 Header|
|3||TWI0_SDA / PA12 / GPIO12||4||5V|
|5||TWI0_SCK / PA11 / GPIO11||6||GND|
|7||PWM1 / PA06 / GPIO6||8||UART1_TX / PG06 / GPIO198|
|9||GND||10||UART1_RX / PG07 / GPIO199|
|11||UART2_RX / PA01 / GPIO1||12||SIM_CLK/PA_EINT7 / PA07 / GPIO7|
|13||UART2_TX / PA00 / GPIO0||14||GND|
|15||UART2_CTS / PA03 / GPIO3||16||TWI1-SDA / PA19 / GPIO19|
|17||3.3V||18||TWI1-SCK / PA18 / GPIO18|
|19||SPI1_MOSI / PA15 / GPIO15||20||GND|
|21||SPI1_MISO / PA16 / GPIO16||22||UART2_RTS / PA02 / GPIO2|
|23||SPI1_CLK / PA14 / GPIO14||24||SPI1_CS / PA13 / GPIO13|
|25||GND||26||SIM_DET/PA_EINT10 / PA10 / GPIO10|
For WiFi, you'll need a fw_bcm43456c5_ag.bin firmware file and nvram.txt configuration that can be found in the Xulongs's repository for H6:
Mainline brcmfmac driver expects the firmware and nvram at the following paths relative to the firmware directory:
For Bluetooth 5.0, you'll need a BCM4345C5.hcd firmware file that can be found in the Xulongs's repository for H6:
The driver expects the firmware at the following path relative to the firmware directory: