lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
montjoie has quit [Ping timeout: 264 seconds]
montjoie has joined #armbian-rockchip
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC>
<amazingfate> Does bluetooth works on opi3b with legacy 5.10 kernel? I can see bluetooth from `rfkill list` but I can't enable it from gnome's system setting. I don't know if xunlong's image works. @microlinux @rpardini
* DC-IRC
<rpardini> is switching to legacy kernel to test
<DC-IRC>
<rpardini> Yeah same here. `rfkill list` sees it, but unblocking it does nothing.
<DC-IRC>
<rpardini> On the DT.... `&pinctrl` has 2 `wireless-bluetooth` nodes, one at uart1 and another at uart8. Quick look at schematics shows UART1 only.
<DC-IRC>
<amazingfate> I just made some fixes on mainline kernel to get the same status as legacy kernel.
<DC-IRC>
<amazingfate> Gpio2 B1 is for sdmmc1 pwren and uart8 rtsn
<DC-IRC>
<rpardini> yeah but uart1's rts should be GPIO2 B5, no?
<DC-IRC>
<rpardini> I think if we twist those a bit me might only need an hciattach
<DC-IRC>
<rpardini> I think if we twist those a bit we might only need an hciattach
<DC-IRC>
<rpardini> damn I now realized I'm looking at mainline DT not vendor, sorry
<DC-IRC>
<amazingfate> They should be almost the same. I copied a lot from vendor devicetree.
<DC-IRC>
<rpardini> oh okay yeah indeed.
<DC-IRC>
<rpardini> looks to me uart8 is unrelated here, and &uart1 is missing the rtsn pin (uart1m0_rtsn)
<DC-IRC>
<amazingfate> Yeah I just added it.
<DC-IRC>
<amazingfate> Removing uart8's pinctrl doesn't harm the wireless.
<DC-IRC>
<rpardini> yeah if we get the uart working then it might be just an hciattach away
<DC-IRC>
<rpardini> we've DT for "OrangePi 4 LTS" (3399) which seems to have same uwe stuff
<DC-IRC>
<rpardini> a small firmware path fix might also be in order
<DC-IRC>
<rpardini> but that will only show, I suspect, after we do the hciattach
<DC-IRC>
<amazingfate> Here is the patch I use for mainline.
<DC-IRC>
<rpardini> looks sane
<DC-IRC>
<rpardini> I realize now there's a pile at play here.... uwe driver at network drivers, but then also a rockchip64-specific patch at `wifi-4003-uwe5622-adjust-for-rockchip.patch`
<DC-IRC>
<rpardini> it's Paolo's
<DC-IRC>
<rpardini> and meanwhile at orangepi4-lts.conf
<DC-IRC>
<nicod_sbc> That's awesome. That kind of content of devs explaining what steps they take to add a board or fix a bug.
<DC-IRC>
<nicod_sbc> That's awesome. That's the kind of content I'd love of devs explaining what steps they take to add a board or fix a bug.
<DC-IRC>
<rpardini> I just feel bad nobody asked decent questions at the end. If any of us would be there there'd be no time enough for all the questions
<DC-IRC>
<efectn> i wonder why there is still no rockchip rng and crypto driver on mainline
<DC-IRC>
<efectn> i hope they will mainline them with rk3588