jaeger changed the topic of #crux-arm to: CRUX-ARM 3.7 Released! - http://crux-arm.nu/Documentation/ReleaseNotes3-7 | Logs: https://libera.irclog.whitequark.org/crux-arm/
grunge has quit [Read error: Connection reset by peer]
grunge has joined #crux-arm
dim44 has joined #crux-arm
<dim44> Hi, anyone knows how to enable wifi on a raspi4 running crux-arm 3.7?
<cruxbridge> <tim> Heyo, i never did it but whats your error?
<dim44> There's no error, I just don't see the interface at all. I'm using the stock kernel with a CRUX filesystem. Being running smoothly, without WiFi, for a year now.
<dim44> *As in the official kernel from raspian distro.
<r0ni> https://github.com/crux-arm/crux-ports-raspberrypi5-arm64/tree/3.7/firmware-bcrm80211 - pretty sure 4/5 have same wifi possibly but IIRC the firmware is in the linux-firmware package
<jaeger> also, you may need to uncompress the module. If I remember right the upstream kernel uses .xz compressed modules
<jaeger> from my rpi4:
<jaeger> # find /lib/modules -name "brcmfmac.ko*"
<jaeger> /lib/modules/5.15.82-v8+/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
<jaeger> /lib/modules/5.15.92-v8+/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
<jaeger> /lib/modules/6.6.69-v8+/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko.xz
<jaeger> I don't remember if I uncompressed the 5.x ones or if upstream was that way, but you can see the 6.x one is compressed
<dim44> Thanks and I was just looking at modules related errors. Will do and report back probably by tomorrow
<jaeger> Maybe we should just start building our kmod with compression support
<pitillo> that could be interesting, we can use overlays for that... at least for all these devices which provide compressed modules at kernel
<jaeger> I just enabled compressed modules in kmod on my rpi4 as a test, seems to work fine. A bunch of modules got loaded that weren't before, including wifi
<beerman> i use compressed modules because the default raspian kernel builds them and i was too lazy to change that :) works as well on the rpi5
<pitillo> that sounds great
<pitillo> if kmod compression is not included, we can overlay it for any device as needed
<dim44> Update: I hadn't installed the linux-firmware package. After I did, wlan0 shows up normally.
<dim44> Thank you everyone for the help. I was stuck with raspian for a week now, was pretty unstable and sluggish.
<jaeger> Nice :) Glad it's working