On Jan 26, 2025, at 20:51, Adrian Chadd <adr...@freebsd.org> wrote:

> Hi!

Hello.

> So, there's no longer a build target for the firmware uuencoded files -> 
> kernel module.

Yea. But there are the sys/conf/files dependency lines in
main that still list .fw.uu files. That includes a reference
related to the error I get in my context unless I avoid
"device iwmfw" in the kernel configuration:

/. . ./sys/conf/files:   dependency      "$S/contrib/dev/iwm/iwm-3160-17.fw.uu" 
\

It makes things look like the .fw.uu removal activity is still
incomplete.

> Being able to build iwm in the kernel rather than a module is broken.
> 
> Now, the real issue(s) are that iwm needs firmware to initialise, and the 
> firmware needs to exist, and thus it needs access to the rootfs for 
> firmware_get() to find the now binary files in /boot/firmware instead of the 
> kernel module old way, and that whole pipeline is broken if it's loaded at 
> boot time or included in the kernel directly. There isn't a nice way to defer 
> the firmware load attempt until /after/ rootfs is up.
> 

Yep.
 
===
Mark Millard
marklmi at yahoo.com


Reply via email to