Jump to content

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

From postmarketOS Wiki
Begs (talk | contribs)
clarify OTG status
Begs (talk | contribs)
Add info about ethernet.
Line 72: Line 72:
== Audio ==
== Audio ==
Hardware codec isn't supported in Linux kernel yet, so audio jack output won't work. However, HDMI audio works.
Hardware codec isn't supported in Linux kernel yet, so audio jack output won't work. However, HDMI audio works.
== Ethernet ==
Ethernet is currently broken. I came up with a patch below to fix PHY, but there is completely no data flow even though link is up.
<source lang="diff">
diff --git a/arch/arm/dts/sun50i-h6-orangepi-3.dts b/arch/arm/dts/sun50i-h6-orangepi-3.dts
index 7e83f6146f..bb0b92e675 100644
--- a/arch/arm/dts/sun50i-h6-orangepi-3.dts
+++ b/arch/arm/dts/sun50i-h6-orangepi-3.dts
@@ -204,6 +204,11 @@
};
reg_aldo2: aldo2 {
+ /*
+ * HACK: forces TF-A to think this regulator is
+ * disabled
+ */
+ status = "ok";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc33-audio-tv-ephy-mac";
</source>


== See also ==
== See also ==

Revision as of 17:18, 27 August 2021

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
Hardware
Chipset Allwinner H6
CPU 4x 1.8 GHz ARM Cortex-A53
GPU Mali T720 MP2 600 MHz
Display HDMI port
Storage 8 GB eMMC (or empty slot) + microSD
Memory 1/2 GiB
Architecture aarch64
Software
Original software BSP Linux 4.9
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Mainline
Unixbench Whet/Dhry score 1455.9
Features
USB Networking
Works
Internal storage
No data
SD card
No data
Screen
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
Miscellaneous
FDE
No data
USB OTG
Works
HDMI/DP
No data
Sensors
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


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

Ethernet is currently broken. I came up with a patch below to fix PHY, but there is completely no data flow even though link is up.

diff --git a/arch/arm/dts/sun50i-h6-orangepi-3.dts b/arch/arm/dts/sun50i-h6-orangepi-3.dts
index 7e83f6146f..bb0b92e675 100644
--- a/arch/arm/dts/sun50i-h6-orangepi-3.dts
+++ b/arch/arm/dts/sun50i-h6-orangepi-3.dts
@@ -204,6 +204,11 @@
 			};
 
 			reg_aldo2: aldo2 {
+				/*
+				 * HACK: forces TF-A to think this regulator is
+				 * disabled
+				 */
+				status = "ok";
 				regulator-min-microvolt = <3300000>;
 				regulator-max-microvolt = <3300000>;
 				regulator-name = "vcc33-audio-tv-ephy-mac";

See also