Jump to content

Xunlong Orange Pi 3 (xunlong-orangepi3): Difference between revisions

From postmarketOS Wiki
Begs (talk | contribs)
m Add link to blogpost
Halamix2 (talk | contribs)
 
(45 intermediate revisions by 8 users not shown)
Line 6: Line 6:
| imagecaption = Orange Pi 3 with UART connected
| imagecaption = Orange Pi 3 with UART connected
| releaseyear = 2019
| releaseyear = 2019
| originalsoftware = BSP Linux 4.9
| originalsoftware = BSP
| originalversion = Linux 4.9
| chipset = Allwinner H6
| chipset = Allwinner H6
| cpu = 4x 1.8 GHz ARM Cortex-A53
| cpu = 4x 1.8 GHz ARM Cortex-A53
| gpu = Mali T720 MP2 600 MHz
| gpu = Mali T720 MP2 600 MHz
| storage = 8 GB eMMC (or empty slot) + microSD
| storage = 8 GB eMMC (or empty slot) + microSD
| display = HDMI port
| display = HDMI port,CVBS out via 3.5mm jack 
| memory = 1/2 GiB  
| memory = 1/2 GiB  
| architecture = aarch64
| architecture = aarch64
 
| status_usbnet = -
| status_usbnet = Y
| status_flashing = -
| status_flashing = -
| status_touch = -
| status_touch = -
| status_screen = Y
| status_screen = P
| status_wifi = Y
| status_wifi = Y
| status_ethernet =N
| status_xwayland = Y
| status_xwayland = Y
| status_fde =  
| status_fde = Y
| status_mainline = Y
| status_mainline = Y
| status_battery = -
| status_battery = -
Line 29: Line 30:
| status_bluetooth = Y
| status_bluetooth = Y
| status_camera = -
| status_camera = -
| status_cameraflash = -
| status_gps = -
| status_gps = -
| status_mobiledata = -
| status_mobiledata = -
| status_sms = -
| status_sms = -
| status_calls = -
| status_calls = -
| status_otg = Y
| status_otg = -
| status_nfc = -
| status_nfc = -
| status_irtx = -
| status_fossbootloader = Y
| status_usba = Y
| status_keyboard = -
| status_touchpad = -
| status_hdmidp = P
| status_irrx=N
| booting = yes
| booting = yes
 
| status_uboot = yes
| n-android =
| status_uboot_primary = Y
| status_uboot_secondary = -
| status_uboot_mainline = Y
| status_uboot_internalstorage = Y
| status_uboot_sd = Y
| status_uboot_usbhost =
| status_uboot_usbperipheral =
| status_uboot_screen = N
| status_uboot_keyboard = N
| status_uboot_buttons = -
| status_uart = Y
| pmoskernel = Mainline
| pmoskernel = Mainline
| whet_dhry = 1455.9
| whet_dhry = 1646.7
| type = Single Board Computer
}}
}}


== Contributors ==
== Contributors ==
* [[user:Begs|Begs]]
* [[user:mxkrsv|mxkrsv]]
* [[user:exkc|exkc]]


== Maintainer(s) ==
== Maintainer(s) ==
* [[user:Begs|Begs]]
* [[user:mxkrsv|mxkrsv]]


== Users owning this device ==
== Users owning this device ==
Line 52: Line 73:


== Installation ==
== Installation ==
Follow the [[Installation_guide]], use sdcard method. Then insert microSD into TF-card slot and plug the power cable, pmOS should boot. If not, try once again (on cold boot SPL sometimes decides there is 4096 MiB of RAM and boot hangs).
Follow the [[Installation]] guide, use sdcard method. Then insert microSD into TF-card slot and plug the power cable, pmOS should boot. If not, try once again (on cold boot SPL sometimes decides there is 4096 MiB of RAM and boot hangs).


To install to eMMC, flash ondev to SD or run pmbootstrap from present pmOS installation on SD.
To install to eMMC, flash ondev to SD or run pmbootstrap from present pmOS installation on SD.
Line 61: Line 82:
== OTG ==
== OTG ==
As said in board's DTS,
As said in board's DTS,
<source lang="c">
<syntaxhighlight lang="dts">
/*
/*
  * This board doesn't have a controllable VBUS even though it
  * This board doesn't have a controllable VBUS even though it
Line 67: Line 88:
  * unsafe.
  * unsafe.
  */
  */
</source>
</syntaxhighlight>
So you can't connect it to a PC via microUSB to transfer data, it will only gain charge. But there is 5 standard USB ports that can be used to connect any devices.
So you can't connect it to a PC via microUSB to transfer data, it will only gain charge. But there is 5 standard USB ports that can be used to connect any devices.


Line 74: Line 95:


== Ethernet ==
== Ethernet ==
Main blocker is described [https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24978 here]. Until it's resolved, you'll have to pick that patch and build u-boot manually, than flash it manually over an existing pmOS installation, out of scope of this page.
Broken
 
== Mini PCIe ==
The Mini PCIE had provided one usb bus and one pcie x1 bus.
The usb bus work but the pcie bus doesn't work, and likely won't ever. See linux-sunxi wiki for details so the only mini pcie card going to work with it is card that use the uab 2.0(like some of the 1g/2g/3g/4g modem).
 
== GPIO ==
 
Untested, but seems to work.
 
== CVBS ==
 
Untested, but seems not to work.
 
==Ir Rx==
 
Not working (needs kernel config adjustment).


== See also ==
== See also ==
* [https://linux-sunxi.org/Xunlong_Orange_Pi_3 linux-sunxi wiki page]
* [https://linux-sunxi.org/Xunlong_Orange_Pi_3 linux-sunxi wiki page]
* [https://begs.srht.site/blog/2021/running-postmarketos-on-orange-pi-3/ Blogpost about porting efforts]
* [http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_3 Offical wiki page]
* [https://www.mxkrsv.dev/posts/pmos-opi3/ Blogpost about porting efforts]
* [https://github.com/orangepi-xunlong/u-boot-orangepi The source code of the stock uboot]
* [https://linux-sunxi.org/GPIO Instruction for gpio from linux-sunxi]  
* {{MR|2268|pmaports}} Initial merge request
* {{MR|2268|pmaports}} Initial merge request
<!--
<!--
Line 85: Line 125:
* {{Kernel package|DEVICE_CODENAME}}
* {{Kernel package|DEVICE_CODENAME}}
-->
-->
== Screenshots ==
<gallery>
File:Exkc-xfce4-Orange-Pi -3.jpeg|thumb|left|xfce4 on Orange Pi 3
File:2022-10-22-011232.jpg|thumb|left|Console on Orange Pi 3
</gallery>

Latest revision as of 11:34, 1 February 2025

Xunlong Orange Pi 3
Orange Pi 3 with UART connected
Orange Pi 3 with UART connected
Manufacturer Xunlong
Name Orange Pi 3
Codename xunlong-orangepi3
Released 2019
Type single board computer
Hardware
Chipset Allwinner H6
CPU 4x 1.8 GHz ARM Cortex-A53
GPU Mali T720 MP2 600 MHz
Display HDMI port,CVBS out via 3.5mm jack
Storage 8 GB eMMC (or empty slot) + microSD
Memory 1/2 GiB
Architecture aarch64
Software
Original software BSP
Original version Linux 4.9
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Mainline
Unixbench Whet/Dhry score 1646.7
Features
Internal storage
No data
SD card
No data
Screen
Partial
Multimedia
3D Acceleration
Works
Audio
Partial
IR RX
Broken
Connectivity
WiFi
Works
Bluetooth
Works
Ethernet
Broken
Miscellaneous
FDE
Works
USB-A
Works
HDMI/DP
Partial
Sensors
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
U-Boot
Primary Bootloader
Works
Mainline
Works
Internal Storage
Works
SD card
Works
USB Host
No data
USB Peripheral
No data
Display
Broken
Keyboard
Broken

Contributors

Maintainer(s)

Users owning this device

  • Exkc (Notes: toy found in store (no power brick))


Installation

Follow the Installation guide, use sdcard method. Then insert microSD into TF-card slot and plug the power cable, pmOS should boot. If not, try once again (on cold boot SPL sometimes decides there is 4096 MiB of RAM and boot hangs).

To install to eMMC, flash ondev to SD or run pmbootstrap from present pmOS installation on SD.

Serial console

See linux-sunxi wiki page, connect your USB-UART adapter's RX to board's TX and vice versa.

OTG

As said in board's DTS,

/*
 * This board doesn't have a controllable VBUS even though it
 * does have an ID pin. Using it as anything but a USB host is
 * unsafe.
 */

So you can't connect it to a PC via microUSB to transfer data, it will only gain charge. But there is 5 standard USB ports that can be used to connect any devices.

Audio

Hardware codec isn't supported in Linux kernel yet, so audio jack output won't work. However, HDMI audio works.

Ethernet

Broken

Mini PCIe

The Mini PCIE had provided one usb bus and one pcie x1 bus. The usb bus work but the pcie bus doesn't work, and likely won't ever. See linux-sunxi wiki for details so the only mini pcie card going to work with it is card that use the uab 2.0(like some of the 1g/2g/3g/4g modem).

GPIO

Untested, but seems to work.

CVBS

Untested, but seems not to work.

Ir Rx

Not working (needs kernel config adjustment).

See also

Screenshots