Re: /boot/firmware/ and /boot/modules/ (was: firmware modules)

From: LuMiWa <lumiwa_at_dismail.de>
Date: Sun, 30 Mar 2025 16:18:06 UTC
On Sat, 29 Mar 2025 06:02:37 +0000
Graham Perrin <grahamperrin@gmail.com> wrote:

> On 20/03/2025 18:40, Mark Millard wrote:
> > … It looks to me like some things involve loadable kernel modules
> > that add code to into the kernel and some do not involve such.
> > Those that do not are probably just loaded into a device that is
> > using the material via the FreeBSD kernel. Which type of file looks
> > to determine /boot/firmware/ vs. /boot/modules/ for where the files
> > are put.
> >
> > Also, …
> /boot/firmware/    loadable binary firmware kernel modules
> 
> /boot/modules/     third-party loadable kernel modules, such as
>                     those installed with pkg(8) or from ports(7)
> 
> hier(7) 
> <https://man.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-current> 
> 
> 

My question is why binary pkg from FreeBSD repository install
gpu-firmware-amd-kmod in /boot/modules/ 
and
wifi-firmware-iwlwifi-kmod in /boot/modules/

but wifi-firmware-iwlwifi-kmod from kmods repository install in
/boot/firmware/

Why is not the same?

Thank you.


-- 
“Some people never go crazy. What truly horrible lives they must lead.”
― Charles Bukowski