October 23, 2026, 11:37:47 AM

Recent posts

#1
TERES DIY Laptop / Adrian Black's Turbo VCFMW 202...
Last post by DesSony7 - Today at 08:17:19 AM
https://www.youtube.com/watch?v=NpClmSsoqO8

Look at the video from 1:05:51 to 1:19:10!   ;D

DesSony7
#2
A64 / Re: Use USB OTG in host mode
Last post by winfried - October 22, 2026, 04:11:20 PM
Thanks, I understand now. ;)
#3
A64 / Re: Use USB OTG in host mode
Last post by LubOlimex - October 22, 2026, 02:58:29 PM
The phys property is a software ownership reference, not the physical USB connection.

On A64, PHY0 is shared and dynamically routed:
- Device mode → MUSB
- Host mode → EHCI0/OHCI0

MUSB and the Sun4i PHY driver manage PHY0, VBUS, and role switching. EHCI0/OHCI0 still use PHY0 electrically when it is routed to them, but must not claim it separately because that forces PHY0 permanently into host mode and breaks OTG switching.

This is specific to the A64 chip board which requires different routing (as compared to A20) - PHY0 has to be dual-routed. Fixes are only for the A64 board since the OTG in other Allwinner boards (A20,A13..) works fine. For example A20 uses a different architecture where PHY0 remains attached to MUSB and EHCI/OHCI use separate PHYs.
#4
A64 / Re: Use USB OTG in host mode (...
Last post by winfried - October 22, 2026, 01:12:15 PM
Confirmed !

Did update and reboot and there was the mouse and Codec:

Bus 004 Device 002: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 04b3:310c IBM Corp. Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Thanx a lot.

Just for understanding:
 Why the ehci0: (usb@1c1a000) and ohci0: ( usb@1c1a400) does not need any phys ?
#5
A64 / Re: Use USB OTG in host mode
Last post by LubOlimex - October 22, 2026, 10:51:00 AM
Patch is now live, run apt update and apt dist-upgrade and let me know how it goes.
#6
A20 / Re: T2-OLinuXino-LIME2-IND are...
Last post by LubOlimex - October 22, 2026, 08:28:59 AM
A1 speed card with any size bigger than 8GB. Notice that getting A2 or faster card is not recommended.

It is also recommended to check the card with software tools like f3 (fight flash fraud) or H2testW.

This is mentioned on page 8 of the manual: https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf
#7
A64 / Re: Use USB OTG in host mode
Last post by winfried - October 21, 2026, 10:32:06 PM
Just for information:

Just changed what your script does in the dts tree in linux-olimex kernel and installed the compiled dtb files like described in Olimage-guide.pdf:

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 29571559e434..68a2d28226d2 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -593,8 +593,8 @@ ehci0: usb@1c1a000 {
                                 <&ccu CLK_USB_OHCI0>;
                        resets = <&ccu RST_BUS_OHCI0>,
                                 <&ccu RST_BUS_EHCI0>;
-                       phys = <&usbphy 0>;
-                       phy-names = "usb";
+                       /* phys = <&usbphy 0>; */
+                       /* phy-names = "usb"; */
                        status = "disabled";
                };
 
@@ -605,8 +605,8 @@ ohci0: usb@1c1a400 {
                        clocks = <&ccu CLK_BUS_OHCI0>,
                                 <&ccu CLK_USB_OHCI0>;
                        resets = <&ccu RST_BUS_OHCI0>;
-                       phys = <&usbphy 0>;
-                       phy-names = "usb";
+                       /* phys = <&usbphy 0>; */
+                       /* phy-names = "usb"; */
                        status = "disabled";
                };

and it behaved the same way, but changing dr_mode to "host" instead of "otg" did not brought up the host mode after boot, so I wait for the kernel patch.
#8
A20 / Re: T2-OLinuXino-LIME2-IND are...
Last post by saltdelicious - October 21, 2026, 07:03:44 PM
Just curious, is there a recommended microSD card capacity for running Olimage Linux smoothly on this board? Also, can the system boot directly from the card without any additional configuration?
#9
ESP32 / Re: Olimax Esp32-POE-ISO
Last post by Klooid - October 21, 2026, 12:27:18 PM
Thanks for your last message as this helped me to get the device working. Thanks again.
#10
ESP32 / Re: Olimax Esp32-POE-ISO
Last post by LubOlimex - October 21, 2026, 11:49:30 AM
This makes it clear. The issue is the WROVER variant requires different pin for the PHY Ethernet clock. Did you select proper board and board variant in Arduiono IDE:



For the "-WROVER" boards you need to use GPIO0 for Ethernet clock. As the manual says:

"ESP32-POE-ISO-WROVER and ESP32-POE-ISO-WROVER-EA have no GPIO16 and GPIO17 led out, since they are used for the PSRAM. GPIO16 is replaced by GPIO33. GPIO17 is replaced by GPIO0, this is important for the Ethernet connectivity, since GPIO17/GPIO0 is Ethernet clock out. Make sure to use new assignments if your board variant comes with the WROVER chip."

Refer to the schematic and the manual, page 24 with the FAQ "Help! Ethernet is not working. I use ESP32-POE-WROVER and ESP32-POE-ISOWROVER. Is the device broken?":

https://github.com/OLIMEX/ESP32-POE/blob/master/DOCUMENTS/ESP32-POE-user-manual.pdf