ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
vagrantc has quit [Quit: leaving]
smaeul has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
Halamix2 has quit [Quit: Gone (and/or ZNC is doing something stupid)]
Halamix2 has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit []
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
megi has joined #linux-sunxi
megi has quit []
megi has joined #linux-sunxi
megi1 has joined #linux-sunxi
megi has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #linux-sunxi
apritzel has quit [Quit: Leaving]
dsimic is now known as Guest10316
dsimic has joined #linux-sunxi
Guest10316 has quit [Ping timeout: 480 seconds]
warpme has quit [Ping timeout: 480 seconds]
megi1 has quit []
tnovotny has joined #linux-sunxi
warpme has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
Daanct12 has quit [Quit: WeeChat 4.1.2]
JohnDoe_71Rus has quit []
hramrach has quit [Ping timeout: 480 seconds]
hramrach has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
NekoMay has quit [Ping timeout: 480 seconds]
norton has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
NekoMay has joined #linux-sunxi
warpme has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
mripard has quit [Quit: mripard]
mripard has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
mripard has quit [Quit: mripard]
mripard has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
<jernej> apritzel: what wifi chip is used in Transpeed 8K618-T? I couldn't find anything useful by module name.
<apritzel> that's a good question, I found the same number mentioned in some forum around a Rockchip TV Box, and there is was identified as something already supported (either RTL or BCM, don't remember right now)
<apritzel> but I couldn't get it to probe, neither the BT nor the WiFi part, even though I think I collected all the GPIOs needed from both the live BSP system and their DT
<apritzel> that's why I removed the nodes from the DT, and leave this for later
<jernej> Is there anything in dmesg or boot log?
<jernej> from Android, I mean
<apritzel> give me a minute ...
<jernej> oh, you can also do lsmod if you're running Android
<apritzel> the MAC OUI says "10:A5:D0 Murata Manufacturing Co., Ltd.", which I think gave me more leads on the Internet ...
<apritzel> their logbuf is ridiculously small, and paired with flooding it with stupid logs that doesn't give much information.
<apritzel> also they switch the UART baudrate to 1.5Mbps sometimes during the boot, so you can't even log through your terminal
<apritzel> jernej: ah: Driver bcmsdh_sdmmc
<jernej> apritzel: great, so it's some kind of originally broadcom module
<jernej> can you read SDIO ID?
<apritzel> I am just trying to find that, do you know where that is exactly, in sysfs?
<apritzel> found it (/sys/bus/sdio/devices/.../modalias)
<apritzel> Broadcom 4335
<jernej> ok, so nothing special
<apritzel> which is good news, you mean?
<jernej> yes :)
<jernej> did you enable external 32k clock?
<apritzel> yes, did that
<apritzel> it's referenced by both UART and WiFi
<jernej> do you have Anroid DT somewhere?
<apritzel> the GPIO semantics are not clear, since mainline and BSP use different properties (enable vs. shutdown), but I tried both
<apritzel> jernej: that's a quick dump, but remember: it's a BSP DT, so don't forget goggles and gloves, and wash your hands afterwards: https://pastebin.com/8HybkyMj
<apritzel> jernej: you probs found that already, but it's of course the "allwinner,sunxi-wlan" device ;-)
<jernej> I did
<apritzel> so I tried for a bit to replicate the GPIOs in a mainline fashion, but always got a timeout
<jernej> apritzel: did you set reset-gpios property of wifi_pwrseq to PG18, active low?
<apritzel> yes :-(
<apritzel> this is one of the attemps I had: https://pastebin.com/2bg43kfm
<jernej> although, I see why you are confused. Traditionally, that pin is active low in other modules, but here is marked as active high
<apritzel> I remember having a pinctrl for the 32KHz clock as well
<apritzel> jernej: feel free to dump some ideas, I can try them later today
<apritzel> jernej: regarding cpufreq probing: the reasons are nasty, and to protect my sanity, I forgot all the details, but I can look them up again
kuba2k2 has quit [Ping timeout: 480 seconds]
<jernej> apritzel: I certainly don't want you to go insane, but any hints would be appreciated :)
apritzel has quit [Ping timeout: 480 seconds]
<jernej> and since Android DT says active high, try both polarities for reset gpio, just to be sure
jelly has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
jelly has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
warpme has quit []
juri__ has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
KREYREN_oftc has quit [Remote host closed the connection]
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
warpme has quit []
juri_ has joined #linux-sunxi
juri__ has quit [Ping timeout: 480 seconds]
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
juri__ has quit [Read error: Connection reset by peer]
<apritzel> jernej: yeah, I figured that part with the 32K clock pinmux, and I had this in one of my experiments, but I can retry this
juri_ has joined #linux-sunxi
<apritzel> dammit, now it of course seems to work: I think I just tried the clock pinmux with Bluetooth before, because that seemed easier, but never with Wifi
<apritzel> "dammit" as in: now too late for the merge window :-(
<apritzel> anyway we probably need to solve one problem before: it seems like both BT and WiFi require that clock, however only one can claim the pinmux, right?
vagrantc has quit [Quit: leaving]
<apritzel> so we would need one "pseudo gate" clock, which allows to have the pinctrl-0 property, but otherwise just bypasses its input clock?