Jump to content

Orange Pi Lite - Debian Stretch next - g_serial/g_ether does not work


Recommended Posts

Posted

Hello,

 

I am trying to use g_serial but it does not work.

I'm using fresh install of armbian (Armbian_5.38_Orangepilite_Debian_stretch_next_4.14.14.7z),
with apt-get update/apt-get upgrade/armbianconfig Install headers.

 

Linux orangepilite 4.14.15-sunxi #28 SMP Mon Jan 29 07:24:48 CET 2018 armv7l GNU/Linux

This is the overlay I use to enable OTG:
sudo /usr/sbin/armbian-add-overlay usbotg.dts

 

/dts-v1/;
/plugin/;

/ {
  compatible = "allwinner,sun8i-h3";

  fragment@0 {
    target = <&usb_otg>;
    __overlay__ {
      dr_mode = "otg";
      status = "okay";
    };
  };

};


After rebooting OPi there are several errors like this in syslog


 

musb_g_ep0_irq 712: SetupEnd came in a wrong ep0stage out/status

The other computer is running Ubuntu 16.04 LTS
I use small USB hub (full speed only) between my PC and OPi lite but if I make direct connection the errors are same.
If I unplug and plug USB cable between OrangePi Lite and my computer (or if I plug the cable after OPi boots) I get same errors.
I got same errors when trying with .g_ether

usb 7-2.1: new full-speed USB device number 4 using uhci_hcd
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: new full-speed USB device number 5 using uhci_hcd
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: device descriptor read/64, error -71
usb 7-2.1: new full-speed USB device number 6 using uhci_hcd
usb 7-2.1: device not accepting address 6, error -71
usb 7-2.1: new full-speed USB device number 7 using uhci_hcd
usb 7-2.1: device not accepting address 7, error -71
usb 7-2-port1: unable to enumerate USB device

The result of sudo armbianmonitor -u is here http://ix.io/Fcb

 


Regards

Posted

Hello,

I have same issue (Armbian 5.65, fresh install). Did you sovle this problem? Does anyone have working OTG on Orange Pi Lite?

Posted
49 minutes ago, Igor Martsekha said:

image which built from this repo


Use it.

In case you want this function in a quality OS with mainline kernel ... here you can see some overview how the process of mainlining looks like:
https://elinux.org/images/d/dc/Petazzoni-soc-mainlining-lessons-learned.pdf

 

Mainlining is expensive and long process of porting board support from a static development kernel to the mainstream. Not all boards get there and very rare with all functions.

 

A bit more concrete information - for Allwiner devices, what works, what not:
https://linux-sunxi.org/Linux_mainlining_effort

... while bugs in the implementation are not there.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines