Re: "don't know how to make /usr/main-src/sys/contrib/dev/iwm/iwm-3160-17.fw.uu. Stop"

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 27 Jan 2025 16:50:03 UTC
On Jan 26, 2025, at 20:51, Adrian Chadd <adrian@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