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

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Mon, 27 Jan 2025 04:51:41 UTC
Hi!

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

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.




-adrian