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)
Wed, Sep 17, 4:59 AM
Unknown Object (File)
Tue, Sep 16, 12:57 PM
Unknown Object (File)
Sep 14 2025, 5:40 AM
Unknown Object (File)
Aug 29 2025, 8:19 AM
Unknown Object (File)
Aug 6 2025, 9:35 PM
Unknown Object (File)
Aug 6 2025, 9:24 AM
Unknown Object (File)
Aug 5 2025, 7:08 PM
Unknown Object (File)
Aug 5 2025, 3:14 PM
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.