rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
matthias_bgg has quit [Ping timeout: 240 seconds]
jstein has joined #linux-sunxi
sunshavi has quit [Ping timeout: 256 seconds]
sunshavi has joined #linux-sunxi
chewitt_ has joined #linux-sunxi
chewitt has quit [Ping timeout: 272 seconds]
chewitt_ has quit [Ping timeout: 246 seconds]
chewitt has joined #linux-sunxi
jstein has quit [Quit: quit]
lkcl has quit [Ping timeout: 265 seconds]
lkcl has joined #linux-sunxi
mripard has quit [Ping timeout: 246 seconds]
apritzel has quit [Ping timeout: 256 seconds]
victhor_ has quit [Ping timeout: 272 seconds]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
asdf28 has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 264 seconds]
ChriChri_ is now known as ChriChri
JohnDoe_71Rus has joined #linux-sunxi
asdf28 has quit [Ping timeout: 256 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 272 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
sunshavi has quit [Read error: Connection reset by peer]
hlauer has joined #linux-sunxi
s_frit has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
cmeerw has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
cmeerw has quit [Quit: Leaving]
cmeerw has joined #linux-sunxi
mripard has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 240 seconds]
mmarc__ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
DrFrankensteinUK has quit [Remote host closed the connection]
DrFrankensteinUK has joined #linux-sunxi
asdf28 has joined #linux-sunxi
Asara has quit [Ping timeout: 258 seconds]
Asara has joined #linux-sunxi
afaerber has quit [*.net *.split]
atsampson has quit [*.net *.split]
jernej has quit [*.net *.split]
wb9688 has quit [*.net *.split]
OnkelUlla has quit [*.net *.split]
vpeter has quit [*.net *.split]
hlauer has quit [*.net *.split]
andy25225 has quit [*.net *.split]
tbueno has quit [*.net *.split]
zumbi has quit [*.net *.split]
ndufresne has quit [*.net *.split]
lerc_ has quit [*.net *.split]
xzz53 has quit [*.net *.split]
shailangsa has quit [*.net *.split]
\\Mr_C\\ has quit [*.net *.split]
iyzsong has quit [*.net *.split]
xeniter has quit [*.net *.split]
kevans91 has quit [*.net *.split]
JuniorJPDJ has quit [*.net *.split]
fevv8[m] has quit [*.net *.split]
Nemo_bis has quit [*.net *.split]
duracrisis has quit [*.net *.split]
quark_ has quit [*.net *.split]
Asara has quit [*.net *.split]
lucascastro has quit [*.net *.split]
ElBarto has quit [*.net *.split]
Perlovka has quit [*.net *.split]
ScrumpyJack has quit [*.net *.split]
arnidg has quit [*.net *.split]
ganbold has quit [*.net *.split]
jeandet has quit [*.net *.split]
ullbeking has quit [*.net *.split]
hramrach has quit [*.net *.split]
ccaione has quit [*.net *.split]
laj_ has quit [*.net *.split]
freemangordon has quit [*.net *.split]
vbmithr has quit [*.net *.split]
z3ntu has quit [*.net *.split]
davidebeatrici has quit [*.net *.split]
zhovner has quit [*.net *.split]
afaerber has joined #linux-sunxi
vpeter has joined #linux-sunxi
jernej has joined #linux-sunxi
atsampson has joined #linux-sunxi
wb9688 has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
bauen1 has quit [Ping timeout: 246 seconds]
bauen1 has joined #linux-sunxi
Asara has joined #linux-sunxi
ElBarto has joined #linux-sunxi
lucascastro has joined #linux-sunxi
ScrumpyJack has joined #linux-sunxi
arnidg has joined #linux-sunxi
Perlovka has joined #linux-sunxi
vbmithr has joined #linux-sunxi
ullbeking has joined #linux-sunxi
ganbold has joined #linux-sunxi
jeandet has joined #linux-sunxi
ccaione has joined #linux-sunxi
hramrach has joined #linux-sunxi
laj_ has joined #linux-sunxi
freemangordon has joined #linux-sunxi
Ke has quit [Ping timeout: 240 seconds]
shailangsa has joined #linux-sunxi
iyzsong has joined #linux-sunxi
andy25225 has joined #linux-sunxi
lerc_ has joined #linux-sunxi
ndufresne has joined #linux-sunxi
xzz53 has joined #linux-sunxi
zumbi has joined #linux-sunxi
hlauer has joined #linux-sunxi
kevans91 has joined #linux-sunxi
xeniter has joined #linux-sunxi
tbueno has joined #linux-sunxi
Irenes[m] has quit [Ping timeout: 244 seconds]
MartijnBraam has quit [Ping timeout: 268 seconds]
Tooniis has quit [Ping timeout: 268 seconds]
psydruid has quit [Ping timeout: 265 seconds]
sandelinos[m] has quit [Ping timeout: 240 seconds]
ullbeking has quit [Ping timeout: 266 seconds]
solderfumes[m] has quit [Ping timeout: 240 seconds]
kprasadvnsi[m] has quit [Ping timeout: 268 seconds]
shailangsa has quit [Max SendQ exceeded]
\\Mr_C\\ has joined #linux-sunxi
t4h4[m] has quit [Ping timeout: 265 seconds]
thefloweringash has quit [Ping timeout: 240 seconds]
clementp[m] has quit [Ping timeout: 244 seconds]
Jeremy_Rand_DT[m has quit [Ping timeout: 240 seconds]
zhovner has joined #linux-sunxi
ullbeking has joined #linux-sunxi
Nemo_bis has joined #linux-sunxi
duracrisis has joined #linux-sunxi
quark_ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
apritzel has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 265 seconds]
bauen1 has quit [Quit: Lost terminal]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 256 seconds]
shailangsa has joined #linux-sunxi
sandelinos[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
shailangsa has quit [Ping timeout: 264 seconds]
mmarc__ has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
Ke has joined #linux-sunxi
Tooniis has joined #linux-sunxi
apritzel has quit [Ping timeout: 268 seconds]
sandelinos[m] has quit [Ping timeout: 246 seconds]
t4h4[m] has quit [Ping timeout: 240 seconds]
Ke has quit [Ping timeout: 240 seconds]
fevv8[m] has quit [Ping timeout: 265 seconds]
Tooniis has quit [Ping timeout: 246 seconds]
MartijnBraam has quit [Ping timeout: 268 seconds]
victhor_ has joined #linux-sunxi
kprasadvnsi[m] has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
z3ntu has joined #linux-sunxi
apritzel has joined #linux-sunxi
solderfumes[m] has joined #linux-sunxi
psydruid has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
Irenes[m] has joined #linux-sunxi
Ke has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
sandelinos[m] has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
dddddd has joined #linux-sunxi
Shailangsa_ has joined #linux-sunxi
Tooniis has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
sunshavi has joined #linux-sunxi
dddddd has joined #linux-sunxi
dddddd has quit [Excess Flood]
dddddd has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
igraltist has joined #linux-sunxi
dddddd has joined #linux-sunxi
apritzel has quit [Ping timeout: 268 seconds]
dddddd has quit [Ping timeout: 256 seconds]
dddddd has joined #linux-sunxi
bauen1 has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
Mangy_Dog has joined #linux-sunxi
apritzel has joined #linux-sunxi
jstein has joined #linux-sunxi
Shailangsa_ has quit [Ping timeout: 268 seconds]
dddddd has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 272 seconds]
shailangsa has joined #linux-sunxi
freemangordon has quit [Quit: Leaving.]
freemangordon has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
mmarc__ has quit [Ping timeout: 272 seconds]
sunshavi has joined #linux-sunxi
victhor_ has quit [Remote host closed the connection]
gediz0x539 has quit [Quit: Leaving]
StandaSK has joined #linux-sunxi
StandaSK has quit [Client Quit]
elros1 has joined #linux-sunxi
prefixcactus has joined #linux-sunxi
tuxd3v has quit [Ping timeout: 272 seconds]
pCactus has quit [Ping timeout: 256 seconds]
mmarc__ has joined #linux-sunxi
apritzel has quit [Ping timeout: 240 seconds]
gaston1980 has quit [Quit: Konversation terminated!]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
cnxsoft1 has quit [Quit: cnxsoft1]
dddddd has joined #linux-sunxi
pCactus has joined #linux-sunxi
prefixcactus has quit [Ping timeout: 240 seconds]
pCactus has quit [Ping timeout: 240 seconds]
Perlovka has quit [Ping timeout: 265 seconds]
pCactus has joined #linux-sunxi
pCactus has quit [Ping timeout: 265 seconds]
apritzel has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
pCactus has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 264 seconds]
Perlovka has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
warpme_ has joined #linux-sunxi
victhor has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 246 seconds]
elros1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hlauer has quit [Ping timeout: 240 seconds]
random_yanek has quit [Ping timeout: 264 seconds]
random_yanek has joined #linux-sunxi
lucascastro has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
lucascastro has joined #linux-sunxi
mauz555 has joined #linux-sunxi
prefixcactus has joined #linux-sunxi
pCactus has quit [Ping timeout: 246 seconds]
apritzel has quit [Ping timeout: 272 seconds]
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 264 seconds]
tuxd3v has joined #linux-sunxi
victhor has quit [Read error: Connection reset by peer]
victhor has joined #linux-sunxi
mmarc__ has joined #linux-sunxi
mauz555_ has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
xzz53 has quit [Quit: ZNC 1.7.3 - https://znc.in]
xzz53__ has joined #linux-sunxi
mauz555 has quit [Ping timeout: 272 seconds]
victhor has quit [Remote host closed the connection]
fl__0 has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
Net147_ has quit [Quit: Quit]
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
Net147 has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 272 seconds]
droman0 has joined #linux-sunxi
lucas_ has joined #linux-sunxi
lucas_ is now known as Guest69857
mmarc__ has joined #linux-sunxi
lucascastro has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
<mmarc__> Hi, I'm trying to get OTG device mode to work on Allwinner H6. Neither dwc3 nor dwc2 worked for me.
<mmarc__> dwc3 observes 0 endpoints and oopses when trying to use the first available end point
<mmarc__> dwc2 fails to do core reset
<mmarc__> What is alarming in both cases is that all hwparams are always zero
<mmarc__> dwc2@5200000 {
<mmarc__> compatible = "dwc2cherry"; // "dwc3cherry";
<mmarc__> reg = <0x5200000 0x10000>;
<mmarc__> interrupts = <0x00 0x1a 0x04>;
<mmarc__> clocks = <0x04 0x72 0x04 0x72 0x16 0x00>;
<mmarc__> clock-names = "ref\0bus_early\0suspend";
<mmarc__> resets = <0x04 0x33>;
<mmarc__> dr_mode = "device";
<mmarc__> phys = <0x34>;
<mmarc__> phy-names = "usb"; // "usb3-phy"
<mmarc__> status = "okay";
<mmarc__> phandle = <0x71>;
<mmarc__> };
<mmarc__> actually, should I stop trying with this dwc node, which is probably completely nonsense? Should I instead add some dr_mode stuff to a usb@... node? What is the difference?
netlynx has quit [Quit: Ex-Chat]
mauz555_ has quit []
<smaeul> mmarc__: are you trying to do OTG with the USB 2.0 or USB 3.0 controller?
<smaeul> AFAIK nobody has attempted OTG with the USB 3.0 (DWC3) controller, as all boards have it connected to a Type-A port
<mmarc__> hi smaeul, it's usb2.0 mini otg port, left top corner on the photo: https://linux-sunxi.org/CherryPi_PC_H6
<smaeul> the normal USB 2.0 OTG controller is a completely different IP block -- it is a MUSB (Mentor) controller, not DesignWare
cmeerw has quit [Ping timeout: 265 seconds]
<mmarc__> yes, should be musb, I even see it upon boot, but it won't connect to udc:
<mmarc__> [ 5.118192] kernel: musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
<mmarc__> [ 5.124016] kernel: musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 5
<mmarc__> Ah, I see, so DWC2/DWC3 are specifically for type-A port? I saw that on Intel
<smaeul> no, DWC2/DWC3 are for a Synopsis DesignWare IP block. it can do OTG, depending on how it is integrated into the SoC
<smaeul> no Allwinner chip has a DWC2 controller
<smaeul> you are correct that you need to set `dr_mode = "otg";` on the &usb2otg node in your device tree
<mmarc__> I have H3 chip, where musb-hdrc works as OTG device, but without dwc
matthias_bgg has joined #linux-sunxi
<smaeul> mmarc__: for now, please completely forget about dwc anything. it's not relevant to what you're trying to do
<mmarc__> Thanks, I've set this out for testing early morning. In case of success, I'll add a note on wiki.
<smaeul> note that there may be some GPIO/regulator needed to supply VBUS to the micro-usb port, in addition to the controller configuration
<mmarc__> [ 10.809124] kernel: configfs-gadget musb-hdrc.2.auto: failed to start g1: -19
<smaeul> or to turn off VBUS in your case -- see the note in the Orange Pi 3 device tree
<mmarc__> but this is without cable
<smaeul> if you don't have schematics, and you aren't sure how VBUS is hooked up, don't connect the port to anything valuable
<mmarc__> This note, right: “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.”
asdf28 has quit [Ping timeout: 246 seconds]
rojiro has quit [Remote host closed the connection]
<smaeul> yes, that note. you don't want to feed power back into the USB host
vagrantc_ has joined #linux-sunxi
mmarc__ has quit [Remote host closed the connection]
mmarc__ has joined #linux-sunxi
mmarc__ has quit [Ping timeout: 260 seconds]
qschulz has quit [Remote host closed the connection]
qschulz has joined #linux-sunxi
sunshavi has quit [Ping timeout: 246 seconds]