libera/#devuan-arm/ Friday, 2021-12-03

steevc0rnelius: can confirm that socinfo patch works correctly05:53
steev[    2.367917] soc soc0: Amlogic Meson G12A (S905Y2) Revision 28:b (30:2) Detected05:53
c0rneliusNice.05:57
c0rneliusDid it help the audio though?05:57
steevnope :(06:32
steevoh also06:32
steevi don't think it *truly* matters but06:32
steevhttps://github.com/RPi-Distro/firmware-nonfree/blob/dcea7a3c12490f264033e489f8c6b56032d9f249/debian/config/brcm80211/brcm/brcmfmac43456-sdio.clm_blob works with the radxa zero06:34
steeviirc, that's the firmware from the pi40006:34
steevthat's the clm_blob for it*06:34
steevoh!06:36
steevsomething else you may want to do in your images06:37
steevupdate-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream06:37
steevwithout that, you get06:38
steevcfg80211: loaded regulatory.db is malformed or signature is missing/invalid06:38
steevand you can't actually set the regdomain06:38
c0rneliusI've seen that before and that's specifically Debian related.06:56
c0rneliusI'll look into it thanks for the insight.06:56
steevit defaults to debian, because debian kernels and the regdb are signed with the same key, but if your kernel doesn't have the debian key in it....07:02
c0rneliusNo my kernel doesn't and I add my own regdb15:58
c0rneliussteev: whats the current date of the firmware being used. The one I have for the 400 is a diff size?16:15
steevc0rnelius: i specifically mean the clm_blob, not the firmware itself16:16
steevbut16:16
steev[   10.471563] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Jun 16 2017 12:38:26 version 7.45.96.2 (66c4e21@sh-git) (r) FWID 01-1813af8416:16
c0rneliuswell thats pretty old. I believe the 400 one is 202016:17
c0rneliusI could just add the blob and update the *.bin16:17
steevi don't know that the bin will work, i haven't tested that, just the clm_blob16:21
steevthey aren't always compatible16:21
c0rneliusWell I can always revert it, if it doesn't work.16:23
c0rneliusRather not be using some 2017 firmware if the 2020 works.16:24
c0rneliusyou can test it if you want https://github.com/pyavitz/firmware/tree/radxa16:25
steevdevice does come up16:29
steev[    8.242187] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: May 14 2020 17:26:08 version 7.84.17.1 (r871554) FWID 01-3d9e1d8716:29
c0rneliuslooks better to me16:31
c0rneliusI could probs update the 43430 as well. Thats up to 2021.16:37
steevi'16:39
steevve had it work on some devices, and others, just not load properly16:39
steevupdating the firmware, i mean, even if it's the same number16:39
c0rneliusthe one i'm currently using on the nanopi neo plus2 is on 2020 firmware.16:40
c0rneliusI can't recall now if thats what I used in the radxa branch? I'd have to look.16:41
steevi'm showing 2017 on the image you built as well (so stock)16:47
c0rneliussize wise it looks like I used the same one for both branches which was the latest I could find that worked from cypress.16:52
steevc0rnelius: yeah those work fine; you *could* rename the .bin to brcmfmac43456-sdio.radxa,zero.bin which gets rid of a message that it tries to find that before the generic brcmfmac43456-sdio.bin but the message is harmless18:47
c0rneliusmy plan was this -> https://github.com/pyavitz/debian-image-builder/blob/feature/patches/rockchip/3399/edge/018-direct-firmware-load-failed-error-2-REVERT-broadcom-firmware-c.patch18:50
c0rneliuswhich reverts firmware.c file18:50
c0rneliusI've tested it on the pi and T4 and works just fine for the time being.18:51
c0rneliusI need to look through the file proper and just pull out whats checking for that stupid thing.18:51
c0rneliusI don't even understand why they changed it? I mean who is gonna do that for every damn board? Its tarded.18:53
c0rneliusI don't know what broadcom was thinking there.18:55
c0rneliusI believe there is a way to just suppress or ignore which can be added to file. So that if not found it at least doesn't error -2 on you in the dmesg.18:58
steevthe one other thing you do, that i really like that i need to figure out... is that header patch of your19:13
steevi like that it fixes actually having cross compiled headers19:13
c0rneliusalso fixes GLIBC errors when compiling native.19:18
c0rneliusSo if compiled on say Ubuntu Jammy which is way ahead of Bullseye it will correct that and recompile the headers so they are useful.19:19
c0rneliusits pretty basic, I just place the patch in the source and tell the builddeb what to do with it.19:20
c0rneliushttps://github.com/pyavitz/debian-image-builder/blob/feature/patches/packaging/general-packaging.patch#L11319:21
c0rneliusArmbian does the same thing, but in reverse. So its patched and compiled during the creation of the kernel. I do it during the install so that it fixes possible complications.19:25
c0rneliusFor example in this one it checks to see if its arm, and if found is more specific. https://github.com/pyavitz/rpi-img-builder/blob/master/patches/rpi2%2B3-packaging.patch#L11519:27
c0rneliusI tried pointing this out to them at one point but they said I"m doing it wrong or something and just dropped the subject.19:28
steevyou are doing it correctly19:34
steevi'll probably look closer while on vacation20:27
c0rneliusI don't know how you guys build ur kernels but it shouldn't be to complicated to add.20:37
c0rneliusIf someone with no formal training, schooling or a degree in anything computer related such as my self, can do it. I'm sure you got this :)20:39
steevi am.... in the same boat as you :P21:07
steevbut, i just do it as part of the script build, like you do21:07
steevin a perfect world, i'd just get the patches in to our kernel proper, but, changing them every few days would mean lots of kernel updates across the board21:09
Vallrrq: what would be the correct /etc/apt/sources.list entry to use your pool1 iso as a local repo?23:03
rrqI think you use "# apt-cdrom" to add it to the sources list23:05
Vallrrq: thanks! I was trying to construct  an entry manually and was getting the shaft and not the elevator ;-)23:08
rrqthis page might be useful: https://wiki.debian.org/DebianInstaller/Modify/CD#Installing_From_the_New_Image23:09
rrq.. or a bit further down (especially it might need the "[trusted=yes]" phrase added)23:11

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!