Page MenuHomeFreeBSD

iwlwifi: add message how to install firmware on FreeBSD
ClosedPublic

Authored by bz on Jun 10 2025, 2:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 3, 7:34 PM
Unknown Object (File)
Mon, Nov 3, 7:30 PM
Unknown Object (File)
Mon, Nov 3, 7:25 PM
Unknown Object (File)
Mon, Nov 3, 7:24 PM
Unknown Object (File)
Sun, Nov 2, 4:55 AM
Unknown Object (File)
Fri, Oct 31, 12:27 AM
Unknown Object (File)
Mon, Oct 27, 12:30 AM
Unknown Object (File)
Sep 17 2025, 4:59 AM
Subscribers

Details

Summary

While it is too late for 14.3-R point people at fwget(8) to install
firmware if the driver cannot find any.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Jun 10 2025, 2:05 PM

I keep wondering if pointing people to iwlwifi.4 man page might be better or if wording should be different.

LGTM with or without the existing linux-firmware message left in place

sys/contrib/dev/iwlwifi/iwl-drv.c
278–282

Is this still useful, or should we just have it for only !defined(__FreeBSD__)?

This revision is now accepted and ready to land.Jun 10 2025, 2:37 PM

Is the "On FreeBSD" part redundant?

"Install the firmware by running fwget(8)."?

Is the "On FreeBSD" part redundant?

Yes that is a good point. If we leave the linux-firmware link in place then it makes some sense to mention it (to make it clear that it isn't a leftover message from the upstream driver. If we remove the Linux link then we could also remove the On FreeBSD.

I initially thought to keep the git.k.o link as one could always just grab the firmware file from there and drop it in /boot/firmware these days.
Might sometimes be easier to rescue oneself with a usb pen drive just grabbing files directly compared to downloading a package and copying it over and installing/extracting it possibly running into pkg bootstrap issues, etc (and not everyone knows tar just works as well).
I don't know. I am too deep into the materials and too little user.

We should maybe put that in the handbook or manual. We can always iterate on it later.