narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-amlogic
nashpa has quit [Ping timeout: 258 seconds]
Darkmatt- has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 272 seconds]
Darkmatt- is now known as Darkmatter66
nashpa has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
tlwoerner has quit [Ping timeout: 245 seconds]
tlwoerner has joined #linux-amlogic
Barada has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
The_Coolest has joined #linux-amlogic
maciejjo has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 245 seconds]
ldevulder has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 268 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
nsaenz has quit [Ping timeout: 272 seconds]
yann has quit [Ping timeout: 272 seconds]
nsaenz has joined #linux-amlogic
ccaione has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 258 seconds]
Barada has quit [Quit: Barada]
afaerber has joined #linux-amlogic
ldevulder has quit [Quit: Leaving]
yann has joined #linux-amlogic
theperfectpunk has joined #linux-amlogic
<theperfectpunk> Hi I booted on S912 with kernel 5.2.0-rc7 with panfrost drm
<theperfectpunk> I'm getting this in dmesg https://pastebin.com/LkVQtqxE
<theperfectpunk> I have asked on #panfrost about it, they replied that check if there are any pending patches in the kernel
<ndufresne> could be why I had trouble updating to 5.2, for some reason I didn't manage to get k output
<narmstrong> yeah, panfrost fails to load on 5.2
<narmstrong> no time to debug it :=/
<xdarklight> narmstrong: will it help if theperfectpunk tries https://github.com/superna9999/linux/commit/df28223b151155ab0edd8419b0347a7135443fd3 ?
<xdarklight> (that's in your v5.1 integ tree, but not upstreamed yet)
<narmstrong> yes, it should maybe work, but it worked without :-/
<theperfectpunk> narmstrong:
<theperfectpunk> will try with it
<theperfectpunk> thanks
theperfectpunk has quit [Quit: Leaving.]
Darkmatter66 has quit [Ping timeout: 268 seconds]
yann has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #linux-amlogic
nashpa has quit [Ping timeout: 245 seconds]
nashpa has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<BlueMatt> which config options are likely required for gxbb (odroid-c2) usb?
<BlueMatt> I enabled the obvious ones, but nothing in lsusb 0v
<BlueMatt> -v
<BlueMatt> I do see [ 0.376753] GPIO line 501 (usb-hub-reset) hogged as output/high
Darkmatter66 has quit [Ping timeout: 244 seconds]
<xdarklight> BlueMatt: can you pastebin your .config? from the top of my head: CONFIG_USB_DWC2, CONFIG_REGULATOR_GPIO, CONFIG_PHY_MESON8B_USB2
<ukleinek> BlueMatt: hogging a reset pin sounds wrong
<BlueMatt> missing DWC2, let me try that then I'll dump my .config somewhere
<BlueMatt> thanks y'all
<BlueMatt> right, now it sees the hub but no devices
<xdarklight> ukleinek: it's an unsolved problem with the USB devicetree bindings: devicetree bindings are only applied to devices which are visible on the bus but if the hub's reset line is active then it won't show up on the bus. you can describe the hub's reset line in .dts but the whole hub cannot be seen until the device comes out of reset ...
Darkmatter66 has joined #linux-amlogic
<BlueMatt> config: http://sprunge.us/Xd1fye
<xdarklight> BlueMatt: hmm, can you please also pastebin your kernel log (dmesg output)?
<BlueMatt> sec
<xdarklight> OK so it sees the hub: "hub 1-1:1.0: 4 ports detected"
<BlueMatt> yea, lsusb shows it, but a regular ol flash drive doesn't show up
<BlueMatt> in lsusb
<xdarklight> can you please pastebin the output of: cat /sys/kernel/debug/gpio
<xdarklight> and then try "lsusb -vvvv" as root
<ukleinek> BlueMatt: does your usb flash get power
<ukleinek> ?
<BlueMatt> right, that comit is in this kernel, but after reboot it showed up, but hotplug appears to not work?
<BlueMatt> reboot it showed up, hotplug its not there and isnt coming back
<xdarklight> hmm, maybe there's some other fix in dwc2 which was not backported to v4.19
<BlueMatt> happy to cherry-pick if you have a candidate
<xdarklight> I typically test with -rc kernels and linux-next, I'll see if I spot something in the dwc2 history
sputnik_ has joined #linux-amlogic
<xdarklight> hmm, nothing stands out at first sight
<xdarklight> can you compile and try Linux 5.1 or 5.2-rcX?
<BlueMatt> yea, sure, will checkout 5.1 in a sec
<BlueMatt> hmmm welp I tweaked some config and now hotplug is working in 4.9
<BlueMatt> welp maybe I had some hotplug thing disabled....
<BlueMatt> ah, no, hotplug works only if I have devices hooked up at startup
<BlueMatt> if I reboot with nothing they appear not to
<BlueMatt> I'll try with 5.1
sputnik_ has quit [Ping timeout: 245 seconds]
<BlueMatt> nope, same thing with v5.1
<BlueMatt> if I boot with nothing attached, plugging something in does nothing
<BlueMatt> weirdly, it also depends on *which* device is attached at bootup....if I have this spinning usb disk attached at startup...nothing, if I have this usb drive attached at startup *as well*, both come up just fine
<BlueMatt> saldy I have to run so cant debug further
<xdarklight> BlueMatt: I'll try this on one of my 32-bit Meson boards (which use the same USB setup as GXBB on your Odroid-C2) later. however, I suspect that we need to report this to the dwc2 maintainers
yann has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
mag has quit [Quit: Bye]
mag has joined #linux-amlogic
vagrantc has quit [Quit: leaving]