/srv/irclogs.ubuntu.com/2022/07/21/#ubuntu-kernel.txt

vic-thortomreyn: yes, it tells to come here to this channel to ask :)09:13
vic-thori guess that ~ubuntu-kernel/ubuntu/+source/linux-firmware is kind of a mirror of the kernel.org's linux-firmware git. But, what creates the actual ubuntu package?09:15
juerghvic-thor, me :-)10:19
juerghvic-thor, older releases are frozen just receive individual fixes. the current devel release (kinetic) is periodically rebased onto upstream linux-firmware. we do have some additional blobs that we carry (see WHENCE.ubuntu).10:21
juerghvic-thor, note that all the packaging files are also in our repo (debian/*).10:22
juerghvic-thor, debian/README.ubuntu on kintetic branch.10:23
vic-thorthanks10:24
vic-thorim a bit confused about how all these works. If I query the modinfo --field firmware XXX, i get a list of files. a random example, if I query the mlxsw_spectrum module, i get just one file: mellanox/mlxsw_spectrum-13.2000.1886.mfa2. As far as I have followed the kernel sources, that means that's the only file the kernel (the one i've queried about) will try to load. Am I correct? If so, why having all the other files in the 10:28
vic-thormellanox folder? Is it to support multiple kernels with just one firmware package?10:28
juerghvic-thor, for mlxsw_spectrum there are different firmware versions in the repo, for different kernel versions.11:46
vic-thorjuergh: so, for a given kernel, it should stick to whatever file it says in the modinfo only11:47
juerghnot necessarily. modinfo might be lying to you. you can really only tell what the kernel is loading (or tries to) by looking at the kernel log (dmesg).11:48
juerghmodinfo might also give you a whole list of blobs but only one might be relevant for your specific HW. for example a GPU driver that support a range of GPUs each needing a different fw. which one gets loaded depends on your HW.11:49
juerghand sometimes modinfo doesn't list blobs because the driver doesn't advertise it (and hence is broken).11:50
juerghbut still loads the fw, just doesn't list it in modinfo11:51
juerghif that makes sense11:51
vic-thoryes, i think so. The proper way to advertise it is through the MODULE_FIRMWARE macro, isn't it?11:56
vic-thori was more worried about taking megabytes of firmware files related to a strange piece of hardware I dont even compile the kernel module about11:58
=== cpaelzer_ is now known as cpaelzer
=== fling_ is now known as fling
juerghyes MODULE_FIRMWARE. some drivers generate the fw name dynamically and for them it can be hard to advertise it in modinfo.14:49
=== fling_ is now known as fling

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!