Jump to content

Xunlong Orange Pi 5 Plus (xunlong-orangepi5-plus)

From postmarketOS Wiki
Xunlong Orange Pi 5 Plus
Orange Pi 5 Plus
Orange Pi 5 Plus
Manufacturer Xunlong
Name Orange Pi 5 Plus
Codename xunlong-orangepi5-plus
Released 2023
Type single board computer
Hardware
Chipset Rockchip RK3588
CPU 4x 2.4GHz Cortex-A76
4x 1.8 GHz Cortex-A55
GPU Mali-G610
Storage eMMC + microSD + NVMe
Memory 4/8/16 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Linux 5.10
Extended version
The most recent supported version from the manufacturer.
Linux
FOSS bootloader yes
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.10.0
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
7651.8
Device package device-xunlong-orangepi5-plus
Kernel package linux-postmarketos-rockchip
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Untested
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Untested
Internal storage
eMMC, SD cards, UFS...
Works
SD card
Also includes other external storage cards.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Untested
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Untested
IR RX
Works
Connectivity
Ethernet
Works
Miscellaneous
USB-A
Whether the full-sized USB-A port works.
Works
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
HDMI/DP
Video and audio output with HDMI or DisplayPort.
Works
Sensors
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Untested

Contributors

Users owning this device

Installation

Follow the Installation guide, install to a USB drive (microSD is currently unsupported).

To install to internal storage, such as eMMC or NVMe, install and run pmbootstrap from pmOS on the SBC.

Note that the stock U-Boot that comes preloaded on this device is buggy and can't be used to boot pmOS. See the Alternate Firmware section below for instructions on installing custom firmware.

WiFi/Bluetooth

The M.2 E key slot on top is fully functional in pmOS. If your WiFi card requires firmware, you will need to install it.

Camera

MIPI cameras are untested.

Display

Middle HDMI port: HDMI output #1

Right HDMI port: HDMI output #2

Left HDMI port: HDMI input (exposed as a v4l2 device)

UART

ttyS2 is the default UART interface used for kernel logs and a getty is spawned on it at boot. It is exposed on the board through a 3 pin header. The default baud rate is 1500000

Alternate Firmware

Backing up stock firmware

Before attempting to replace the firmware, you should create backup on the stock u-boot.

Note that reading/writing the firmware will take a while.

doas dd if=/dev/mtdblock0 of=stock-u-boot.bin

Copy this file somewhere safe in case you ever need to flash the stock bootloader back.

Upstream U-Boot

U-Boot currently lacks display output for the rk3588, so you can only interact with it via uart. To boot from usb drives, you must interrupt autoboot and run usb start; boot.

Follow the building instructions for Rockchip rk3588 boards, but with the orangepi-5-plus-rk3588_defconfig config instead. Use BL31 from rkbin instead of building from source as that is currently broken.

Follow the flashing instructions to write your u-boot build to a Micro SD card. U-Boot should automatically boot postmarketOS. From there, you can copy over u-boot-rockchip-spi.bin to the device and flash the internal spi flash doas dd if=u-boot-rockchip-spi.bin of=/dev/mtdblock0.

EDKII (UEFI)

See also: EDK II

EDKII is a full UEFI firmware that has been ported to several RK3588 boards. Unlike the U-Boot firmware, this acts like a traditional UEFI on a PC, and supports display output in the firmware.

Follow the offical installation instructions for more info.

Photos

Case

See also