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
<Armbian-Discord> <T​onymac32> It's x with GPU acceleration
<Armbian-Discord> <T​onymac32> When the GPU is a POS like a mali450 it's hopeless.
<Armbian-Discord> <T​onymac32> @ManoftheSea it should honestly be fine but we have shared families that no one will leave the hell alone without adding a ton of unrelated unmanaged patches to, so it could be broken this week.
<Armbian-Discord> <T​onymac32> Having a SoC family that no one cares about/meddles with is a luxury for evin people
<Armbian-Discord> <M​anoftheSea> Heh heh, yeah. Plus the work done by turris
<Armbian-Discord> <M​anoftheSea> I got Talos booting from extlinux.conf, because I'm not sure how to pass a cmdline with u-boot "bootefi" command
<Armbian-Discord> <M​anoftheSea> But I'm wondering if helios64 can boot nixos without needing patched kernel
<Armbian-Discord> <T​onymac32> Eeww
jahro_me has quit [Ping timeout: 256 seconds]
jahro_me has joined #armbian-rockchip
<Armbian-Discord> <r​pardini> I think you don't... u-boot bootefi should load, say, grub, which then can define the kernel cmdline.
<Armbian-Discord> <r​pardini> seems like FriendlyELEC/Firefly changed the Wifi chip to AP6398SV -- which is not supported by brcm driver; their 5.x images also don't work with it. Their 4.x "works" using brcmhd driver, whatever that is.
<Armbian-Discord> <W​erner> So ideally it should be noticed on download page that the old model is supported only for now?
<Armbian-Discord> <r​pardini> No idea, I'm trying to contact vendor to understand; since their own images don't work... I guess it's shortage related. In that case a 1-line note about the AP6398SV might save us from a few disappointed users.
<Armbian-Discord> <T​enkawa> is that a built in chip on the T4?
<Armbian-Discord> <T​enkawa> if so c0rnelius I think has a T4 and I will ask him if he has seen this on his.
<Armbian-Discord> <T​enkawa> and if/what he did to fix it
<Armbian-Discord> <T​enkawa> apparently brcmhd is Cypress's codebase for brcmfmac directly
<Armbian-Discord> <T​enkawa> Interesting part is.. unless this is a new set of drivers, all the references I found to them out there on the web and in other products are quite old (several years)
<Armbian-Discord> <r​pardini> Yep, it's onboard wifi. Bane of my existence....
<Armbian-Discord> <T​enkawa> Yeah I hear ya. I like at least now having better port options for my wifi needs. I finally found AC dongles that run well in Linux
<Armbian-Discord> <T​enkawa> So using up a usb3 port is worth it
<Armbian-Discord> <M​anoftheSea> Ew, grub. But it shouldn't have to. And you can compile in the cmdline, true.
<Armbian-Discord> <T​enkawa> btw if you are ever looking for one... this one is decent and decently priced
<Armbian-Discord> <T​enkawa> Bus 004 Device 002: ID 2357:012d TP-Link Archer T3U [Realtek RTL8812BU]
<Armbian-Discord> <T​enkawa> I get a consistent 867mb with it
<Armbian-Discord> <r​pardini> and is it mainline supported? I've no EXTRAWIFI in armbian-next (well, a few are working, but not all)
<Armbian-Discord> <T​enkawa> it needs the driver added to the source but it compiles into mainline fine.. (it's not included with the kernel.org sourcr no)
<Armbian-Discord> <T​enkawa> We just build a 4 line Makefile and Kconfig sed to add it into the build
<Armbian-Discord> <b​albes150> When I tested the T4 (it was a few months ago, it could change now), Wi-Fi and BT worked. Have you tried installing the full firmware package ? Are the antennas (2) connected to the board ? Are the Wi - Fi and BT interfaces completely missing or are they not working properly ?
<Armbian-Discord> <r​pardini> Hi Oleg, thanks, it's a new chip on the board, AP6398SV -- still investigating if it's a permanent change from FriendlyELEC or a one-off board due to chip shortage.
<Armbian-Discord> <r​pardini> FriendlyELEC added support for the AP6398SV on their newer 4.x kernels (via brcmhd driver... pff) but not on 5.x yet.
<Armbian-Discord> <T​enkawa> because brcmhd is a Cypress specific driver name
<Armbian-Discord> <T​enkawa> it doesn't exist in anything newer that I have been searching in so far
<Armbian-Discord> <T​enkawa> none of the kernel sources/etc
<Armbian-Discord> <T​enkawa> and it is ancient
<Armbian-Discord> <T​enkawa> the last codebase I can even find is somewhere around 2005
<Armbian-Discord> <b​albes150> Hm... I had a T4 c 6356. Chip 6398 is WiFi-5. In principle, you can try to make it work with the 6275 driver (if I'm not confused, I tested both options on P2 and they worked).
<Armbian-Discord> <T​enkawa> Yeah that's why I want to talk to c0rnelius because I think he's already had to come up with a workaround for this too if he's still writing stuff for the T4
<Armbian-Discord> <b​albes150> If they have not changed the control parameters (GPIO etc).
<Armbian-Discord> <r​pardini> 👍 Thanks will try and let you know.
<Armbian-Discord> <b​albes150> Show the output "dmesg | grep firm"
<Armbian-Discord> <r​pardini> it does not even try to load firmware...
<Armbian-Discord> <r​pardini> literally nothing wifi-related happens, except the Bluetooth (which is UART)
<Armbian-Discord> <b​albes150> You can easily link the new firmware to the T4 model itself (so that they do not interfere with the work of the "old" version).
<Armbian-Discord> <b​albes150> Remove the entire "brcm" directory from the firmware directory and it will show which firmware it is trying to search for.
<Armbian-Discord> <b​albes150> Do you have any official image in which WiFi\BT works?
<Armbian-Discord> <r​pardini> (Confirmed: there's no brcm or firmware at all in dmesg)
<Armbian-Discord> <r​pardini> Only image that works is rk3399-sd-friendlycore-lite-focal-4.19-arm64-20221114.img from FriendElec
<Armbian-Discord> <r​pardini> (rk3399-sd-friendlycore-lite-focal-5.15-arm64-20221114.img does NOT work, exact same problem, nothing in dmesg, no firmware trying to load, nothing)
<Armbian-Discord> <r​pardini> but yeah don't stress over this Oleg, they changed chip, let them make their 5.x work first then we port
<Armbian-Discord> <b​albes150> lGive me a link to a working image, I'll see how it's implemented.
<Armbian-Discord> <r​pardini> it's their official images, in a Google Drive. Somewhere I found a changelog that says "Update bcmdhd version 100.10.545.19 and support AP6398SV wifi".
<Armbian-Discord> <r​pardini> but again is only for 4.x kernels.
<Armbian-Discord> <b​albes150> This is not a new chip and I think it can be made to work. The only obstacle is to get the exact settings parameters for DTS (I wonder if there are freely available sources of kernel 4.19, which they use) http://armdesigner.com/download/AP6398SV_datasheet_V1.6_20211119.pdf
<Armbian-Discord> <j​emershaw> What is the best way to go from a running dts in linux 4.4 to linux 5.x -- should the 4.4 one just work or are there certain things that I'd need to modify?