Re: git: 558d63889623 - main - iwlwififw: remove Intel iwlwifi firmware from src.git

2025-04-10 Thread Cy Schubert
In message , "Bjoern A. 
Zeeb"
 writes:
> On Thu, 10 Apr 2025, Cy Schubert wrote:
>
> > In message <[email protected]>, "Bjoern A.
> > Zeeb"
> > writes:
> >> The branch main has been updated by bz:
> >>
> >> URL: https://cgit.FreeBSD.org/src/commit/?id=558d638896239f9cd25b9d825ecfc
> e62
> >> ec54681e
> >>
> >> commit 558d638896239f9cd25b9d825ecfce62ec54681e
> >> Author: Bjoern A. Zeeb 
> >> AuthorDate: 2025-04-08 16:57:14 +
> >> Commit: Bjoern A. Zeeb 
> >> CommitDate: 2025-04-10 13:32:49 +
> >>
> >> iwlwififw: remove Intel iwlwifi firmware from src.git
> >>
> >> Following the example of rtw88 and rtw89 only ship iwlwifi firmware
> >> from ports/packages.  Users are asked to run fwget(8) to install the
> >> firmware needed for their system or build it from ports
> >> (see also UPDATING).
> >>
> >> This is the end of a long story adding wireless support to fwget(8),
> >> migrating the firmware for multiple branches into ports, splitting the
> m
> >> up into flavors, and updating some install media and the installer to
> >> provide firmware.
> >>
> >> The overall amount for new firmware amongst all drivers would have
> >> added more than 100M of binary blobs to src.git for the first import,
> >> ignoring future updates which (along with some duplication between
> >> multiple drivers) was considered too much.
> >>
> >> While maintenance within the src tree certainly would have been
> >> easier in the longer term this seems to be the better solution and
> >> I would like to thank everyone who helped along the path to get there.
> >>
> >> The iwlwififw.4 man page is to stay (for now) and will likely point
> >> at the appropriate firmware package flavor in the future as well
> >> so people may find it easier to transition.  In the long term this
> >> information is likely not needed anymore.
> >
> > Maybe have the man page mention the port.
>
> Yes, that's the plan for iwlwififw.4 (plust flavour depending on
> chipset/PCI IDs where possible given we do have the information and
> create it for fwget(8)).
>
> The longer term it is a lot easier to tell the user who wants to build
> themselves to run fwget -n to get the name of the package/flavour
> automatically and not maintain the information twice or thrice anymore.
>
>
> > It's not like we don't use ports for other firmware either, i.e. CPU
> > firmware. Ports maintaining firmware are an important part of our ecosystem
> .
>
> iwlwifi(8) just should mention fwget(8) and it does have the reference in
> SEE ALSO but unlike rtw88.4 and rtw89.4 it misses the sentence in the
> description.
>
> And I didn't want to mangle the fix, and the re-generation of the lists
> for the iwlwififw.4 man pages into this commit.
>
> The changes are queued here too but need to push some other fixes first.

Thank you for all your hard work.

>
> /bz
>
> -- 
> Bjoern A. Zeeb r15:7


-- 
Cheers,
Cy Schubert 
FreeBSD UNIX: Web:  https://FreeBSD.org
NTP:   Web:  https://nwtime.org

e^(i*pi)+1=0





Re: git: 558d63889623 - main - iwlwififw: remove Intel iwlwifi firmware from src.git

2025-04-10 Thread Bjoern A. Zeeb

On Thu, 10 Apr 2025, Cy Schubert wrote:


In message <[email protected]>, "Bjoern A.
Zeeb"
writes:

The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=558d638896239f9cd25b9d825ecfce62
ec54681e

commit 558d638896239f9cd25b9d825ecfce62ec54681e
Author: Bjoern A. Zeeb 
AuthorDate: 2025-04-08 16:57:14 +
Commit: Bjoern A. Zeeb 
CommitDate: 2025-04-10 13:32:49 +

iwlwififw: remove Intel iwlwifi firmware from src.git

Following the example of rtw88 and rtw89 only ship iwlwifi firmware
from ports/packages.  Users are asked to run fwget(8) to install the
firmware needed for their system or build it from ports
(see also UPDATING).

This is the end of a long story adding wireless support to fwget(8),
migrating the firmware for multiple branches into ports, splitting them
up into flavors, and updating some install media and the installer to
provide firmware.

The overall amount for new firmware amongst all drivers would have
added more than 100M of binary blobs to src.git for the first import,
ignoring future updates which (along with some duplication between
multiple drivers) was considered too much.

While maintenance within the src tree certainly would have been
easier in the longer term this seems to be the better solution and
I would like to thank everyone who helped along the path to get there.

The iwlwififw.4 man page is to stay (for now) and will likely point
at the appropriate firmware package flavor in the future as well
so people may find it easier to transition.  In the long term this
information is likely not needed anymore.


Maybe have the man page mention the port.


Yes, that's the plan for iwlwififw.4 (plust flavour depending on
chipset/PCI IDs where possible given we do have the information and
create it for fwget(8)).

The longer term it is a lot easier to tell the user who wants to build
themselves to run fwget -n to get the name of the package/flavour
automatically and not maintain the information twice or thrice anymore.



It's not like we don't use ports for other firmware either, i.e. CPU
firmware. Ports maintaining firmware are an important part of our ecosystem.


iwlwifi(8) just should mention fwget(8) and it does have the reference in
SEE ALSO but unlike rtw88.4 and rtw89.4 it misses the sentence in the
description.

And I didn't want to mangle the fix, and the re-generation of the lists
for the iwlwififw.4 man pages into this commit.

The changes are queued here too but need to push some other fixes first.

/bz

--
Bjoern A. Zeeb r15:7



Re: git: 558d63889623 - main - iwlwififw: remove Intel iwlwifi firmware from src.git

2025-04-10 Thread Cy Schubert
In message <[email protected]>, "Bjoern A. 
Zeeb"
writes:
> The branch main has been updated by bz:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=558d638896239f9cd25b9d825ecfce62
> ec54681e
>
> commit 558d638896239f9cd25b9d825ecfce62ec54681e
> Author: Bjoern A. Zeeb 
> AuthorDate: 2025-04-08 16:57:14 +
> Commit: Bjoern A. Zeeb 
> CommitDate: 2025-04-10 13:32:49 +
>
> iwlwififw: remove Intel iwlwifi firmware from src.git
> 
> Following the example of rtw88 and rtw89 only ship iwlwifi firmware
> from ports/packages.  Users are asked to run fwget(8) to install the
> firmware needed for their system or build it from ports
> (see also UPDATING).
> 
> This is the end of a long story adding wireless support to fwget(8),
> migrating the firmware for multiple branches into ports, splitting them
> up into flavors, and updating some install media and the installer to
> provide firmware.
> 
> The overall amount for new firmware amongst all drivers would have
> added more than 100M of binary blobs to src.git for the first import,
> ignoring future updates which (along with some duplication between
> multiple drivers) was considered too much.
> 
> While maintenance within the src tree certainly would have been
> easier in the longer term this seems to be the better solution and
> I would like to thank everyone who helped along the path to get there.
> 
> The iwlwififw.4 man page is to stay (for now) and will likely point
> at the appropriate firmware package flavor in the future as well
> so people may find it easier to transition.  In the long term this
> information is likely not needed anymore.

Maybe have the man page mention the port.

It's not like we don't use ports for other firmware either, i.e. CPU 
firmware. Ports maintaining firmware are an important part of our ecosystem.

> 
> Sponsored by:   The FreeBSD Foundation
> Requested by:   core (Oct 2022)
> Reviewed by:thj, jrm (earlier)
> MFC after:  3 days
> Differential Revision: https://reviews.freebsd.org/D49713
> ---
>  ObsoleteFiles.inc  |   3 +
>  UPDATING   |   6 +
>  share/doc/legal/Makefile   |   1 -
>  share/doc/legal/intel_iwlwififw/Makefile   |   5 -
>  sys/contrib/dev/iwlwififw/LICENCE.iwlwifi_firmware |  39 --
>  sys/contrib/dev/iwlwififw/WHENCE   | 483 ---
> --
>  sys/contrib/dev/iwlwififw/iwlwifi-3160-17.ucode| Bin 918268 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-3168-29.ucode| Bin 1036288 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-7260-17.ucode| Bin 1049340 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-7265-17.ucode| Bin 1180412 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-7265D-29.ucode   | Bin 1036772 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-8000C-36.ucode   | Bin 2428004 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-8265-36.ucode| Bin 2436632 -> 0 bytes
>  .../iwlwififw/iwlwifi-9000-pu-b0-jf-b0-46.ucode| Bin 1518772 -> 0 bytes
>  .../iwlwififw/iwlwifi-9260-th-b0-jf-b0-46.ucode| Bin 1489652 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-Qu-b0-hr-b0-77.ucode | Bin 1404704 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-Qu-b0-jf-b0-77.ucode | Bin 1322436 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-Qu-c0-hr-b0-77.ucode | Bin 1404720 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-Qu-c0-jf-b0-77.ucode | Bin 1322452 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-QuZ-a0-hr-b0-77.ucode| Bin 1404840 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-QuZ-a0-jf-b0-77.ucode| Bin 1321956 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-cc-a0-77.ucode   | Bin 1366144 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-gl-c0-fm-c0-83.ucode | Bin 1799504 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-gl-c0-fm-c0.pnvm | Bin 226668 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-so-a0-gf-a0-83.ucode | Bin 1739988 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-so-a0-gf-a0.pnvm | Bin 55580 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-so-a0-gf4-a0-83.ucode| Bin 1703968 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-so-a0-gf4-a0.pnvm| Bin 28064 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-so-a0-hr-b0-81.ucode | Bin 1539288 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-so-a0-jf-b0-77.ucode | Bin 1446036 -> 0 bytes
>  .../dev/iwlwififw/iwlwifi-ty-a0-gf-a0-83.ucode | Bin 1683076 -> 0 bytes
>  sys/contrib/dev/iwlwififw/iwlwifi-ty-a0-gf-a0.pnvm | Bin 55484 -> 0 bytes
>  sys/modules/Makefile   |   4 -
>  sys/modules/iwlwififw/Makefile |  30 --
>  sys/modules/iwlwififw/Makefile.inc |  18 -
>  sys/modules/iwlwififw/iwlwifi-3160-fw/Makefile |   4 -
>  sys/modules/iwlwififw/iwlwifi-3168-fw/Makefile |   4 -
>  sys/modules/iwlwififw/iwlwifi-7260-fw/Makefile |   4 -
>