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
<saintdev> xdarklight: that patch appears to "fix" the issue with ethernet
<xdarklight> saintdev: "nice". I guess it's some timing problem but I've no idea where to start debugging
<saintdev> I think you might be right. when I powered my C1 back up after copying the patched kernel package to the SD card, the network came up on the old kernel
<saintdev> I rebooted a few times on that kernel and it didn't come up again lol
<saintdev> The patched one has come up every time so far (about 5 or 6 reboots)
<afaerber> Hm, looks like S905X GPIOAO has no interrupt support, only the non-AO one?
<saintdev> How do I set the MAC address? it doesn't seem to be picked up from u-boot.
Darkmatter66 has quit [Ping timeout: 268 seconds]
Darkmatter66 has joined #linux-amlogic
Barada has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 246 seconds]
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
yann has quit [Ping timeout: 246 seconds]
warpme_ has quit [Quit: warpme_]
<xdarklight> saintdev: unfortunately you have to do it in userspace, see https://wiki.archlinux.org/index.php/MAC_address_spoofing for some options
warpme_ has joined #linux-amlogic
<xdarklight> afaerber: it should have GPIO IRQ support on GPIOAO* but probably not on TEST_N and RESET_N
ldevulder_ is now known as ldevulder
warpme__ has joined #linux-amlogic
warpme_ has quit [Ping timeout: 248 seconds]
warpme__ has quit [Read error: Connection reset by peer]
warpme_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 244 seconds]
yann has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
Darkmatter66 has quit [Ping timeout: 268 seconds]
Darkmatter66 has joined #linux-amlogic
warpme_ has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 258 seconds]
<afaerber> xdarklight, I found only one gpio-intc node in the linux-next DT though, navigating down to meson-gx.dtsi (and I'm testing 5.1.7)
<afaerber> so I was wondering whether the hardware doesn't have it or whether it's not yet implemented or whether I'm just not seeing it...
<afaerber> GPIOAO_8 is the one I'd need for a HAT
sputnik__ has quit [Ping timeout: 244 seconds]
<xdarklight> afaerber: are you requesting the GPIO IRQ via the GPIO number or directly via the gpio-intc?
<xdarklight> gpio_to_irq is not implemented yet, so you have to use the latter (like it's done for the Ethernet PHY IRQ)
Barada has quit [Quit: Barada]
Darkmatter66 has quit [Ping timeout: 258 seconds]
Darkmatter66 has joined #linux-amlogic
yann has quit [Ping timeout: 272 seconds]
Darkmatter66 has quit [Ping timeout: 244 seconds]
Darkmatter66 has joined #linux-amlogic
yann has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
<zkrx> anyone's got a clue why I can't reboot with microSD on odroid n2? here are the logs https://pastebin.com/raw/dt5LGSHy
<zkrx> I tried two different cards
<xdarklight> zkrx: random guess: maybe Linux turns off the TFLASH_VDD and u-boot doesn't turn it back on?
<zkrx> wow it works
<zkrx> xdarklight: ^
<zkrx> xdarklight: is this the proper way to fix it?
sputnik__ has joined #linux-amlogic
<xdarklight> zkrx: I believe the proper way is to fix u-boot, but I'm not sure if all vendor u-boots are affected (then it's very likely that we should fix it in Linux)
<xdarklight> narmstrong: ^
<xdarklight> actually, it may even be a bootrom issue. so I'm not sure if a "fix" requires shipping new chips
<zkrx> xdarklight: I don't think we can fix this in U-boot. As you just said, it's the bootrom that fails here. Linux needs to leave this regulator enabled.
<xdarklight> zkrx: there are some suspend related regulator flags but none for shutdown/reboot. I guess this means we need to talk to the regulator maintainers and see what they think about this
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 272 seconds]