History log of /haiku/data/bin/install-wifi-firmwares.sh
Revision Date Author Comments
# daf10ef3 04-Aug-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

install-wifi-firlwares: stop using haiku-files.org

- Move the firmwares to github
- Move broadcom fwcutter to a package

Fixes #11841


# e304f354 28-Apr-2020 Humdinger <humdingerb@gmail.com>

Fix URL in install-wifi-firmwares.sh

Fixes #15916


# 3aba70f9 01-Feb-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

install_wifi_firmwares: fix build of b43-fwcutter

byteswap.h was removed from glibc in current versions, so point to an
older git revision to get it.


# 49506076 19-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Add a features.h to auto enable _DEFAULT_SOURCE

Unless __STRICT_ANSI__ is defined (as it is when running the compiler in
--std=c89 or --std=c99, but not when running it without any specific
args), we can enable these by default and behave like most other
systems. I don't know why no one has done this yet despite suggesting it
multiple times and people prefer to #define _BSD_SOURCE manually
everywhere.

Remove all places in our Jamfiles and sources where it had been defined.
_DEFAULT_SOURCE is now enabled by default for all sources of Haiku, since we
let the compiler use GNU extensions (no strict C standard specified on
command line)

Use _DEFAULT_SOURCE as the define name to match current versions of
glibc. Enable it if _BSD_SOURCE is #defined in compiler flags, for
backward compatibility.

Change-Id: I6db04da5f6db437723cdfba3478f5094a69d7727
Reviewed-on: https://review.haiku-os.org/c/1633
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# b4167829 28-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

install-wifi-firmwares: Cleanup and fixes.

* Unlink/Symlink not needed as we now use a package.
* Use correct URLs to download headers.

Fixes #14412.

Change-Id: I76dbca3d48d0b2933a27bea666551ff86d404a93
Reviewed-on: https://review.haiku-os.org/493
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# b247f935 23-Nov-2017 Jérôme Duval <jerome.duval@gmail.com>

install-wifi-firmwares.sh: remove haiku requires.

fixes #13794


# d64b771b 07-Jun-2014 luroh <lurohh@gmail.com>

Fix offline installation of iprowifi2100 and iprowifi2200 firmware.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>


# b3fe7084 12-May-2014 luroh <lurohh@gmail.com>

Specify the location of the .PackageInfo file.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# de5c16f1 02-Jan-2014 Matt Madia <mattmadia@gmail.com>

Do not create the hpkg from within the directory to package.


# 73f8409a 06-Oct-2013 Matt Madia <mattmadia@gmail.com>

Fixed directories. Thanks jessica.

Note to self: Don't push on an empty coffee cup.


# c3cb090f 06-Oct-2013 Matt Madia <mattmadia@gmail.com>

Update script for package-management related changes.

A hpkg will be created locally, which contains the firmwares. This hpkg will
be copied to system. IIRC, the firmware must live in their respective
subdirectories.

To note, once the approve_license flags are implemented on the end-user
applicacation side, the Intel ipw2100 and Intel ipw2200 could be moved
to a separate package. However (and IIRC) the Broadcom involves using a closed
binary blob, that should not become a pre-made package.


# f73f5d4c 29-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Initial changes to remove /boot/common

* find_directory() and hard-coded paths use /boot/system instead of
/boot/common.
* The build system creates the writable directories in /boot/system
instead of /boot/common.
* The build system no longer installs any packages in /boot/common.


# a8c2e979 17-Jun-2012 Matt Madia <mattmadia@gmail.com>

Removed dead code.

As the downloadable files are now hosted on haiku-files.org and the user is
presented the Intel license at the beginning of the script, the function
OpenIntelFirmwareWebpage is unneeded.


# e8fc340a 17-Jun-2012 Matt Madia <mattmadia@gmail.com>

Prevent removing permissions on a wifi firmware's subdirs.

Prior to this /boot/system/data/firmware/broadcom43xx/b43-fwcutter would
have its w+x bits removed.


# 174bc1dc 17-Jun-2012 Matt Madia <mattmadia@gmail.com>

Host wifi firmware related files on haiku-files.org


# 87a8b1c9 01-Jun-2012 Fredrik Modeen <fredrik@modeen.se>

change wlan iwp2100 to use iprowifi2100 and the right firmware, should fix Ticket #7938 and #7898


# 6e434fd8 15-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

wifi-firmware: Move from svn to cgit for byteswap.h


# 5c6260dc 12-Aug-2011 Matt Madia <mattmadia@gmail.com>

Minor cleanup. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0041b382 21-Jul-2010 Matt Madia <mattmadia@gmail.com>

Added some much needed echo statements about the scripts progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37671 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 171c986c 20-May-2010 Matt Madia <mattmadia@gmail.com>

Mentioned http://www.haiku-os.org/guides/dailytasks/wireless as a source for
more information. eg, if one needs to manually install the files neeeded by
the script.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36876 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 45e4791e 03-May-2010 Matt Madia <mattmadia@gmail.com>

*cough* forgot that the script will continue even if a single firmware fails
to install properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36598 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0da448bf 03-May-2010 Matt Madia <mattmadia@gmail.com>

Updated the download location for broadcom's file that contains firmware. Also
added an echo, to confirm the success of installing all firmwares.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 199ad3da 29-Apr-2010 Matt Madia <mattmadia@gmail.com>

Automatic whitespace cleanup. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8acc2e08 02-Mar-2010 Matt Madia <mattmadia@gmail.com>

Fixed a typo in DownloadFileIfNotCached. Fixes #5519.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35734 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91db8189 01-Mar-2010 Matt Madia <mattmadia@gmail.com>

Return the original failed exit code and not that of 'echo'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35710 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b6c650ce 01-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

From: Matt Madia

Create the script's tempdir before displaying the initial alert.

Fixes #5509.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35695 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8480d723 24-Feb-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Matt Madia: Fixed stdout/stderr redirection order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2e874dd 24-Jan-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Matt Madia: Replaced non-POSIX "&>" by "2>&1 >".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35275 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 81a0bf6f 19-Jan-2010 Colin Günther <coling@gmx.de>

Adding a wifi firmware installation script done by mmadia. This script installs
firmware for unshipable broadcom43xx and marvell88w8335. Furthermore it installs
the firmware for ipw2100 and iprowifi2200, which requires the user to consent
to its license terms. Thank you mmadia!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35164 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d64b771b96050fca8ff1859daa5ec44ff3493af7 07-Jun-2014 luroh <lurohh@gmail.com>

Fix offline installation of iprowifi2100 and iprowifi2200 firmware.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>


# b3fe70844e087a579563b43cf4c1b2525946ca27 12-May-2014 luroh <lurohh@gmail.com>

Specify the location of the .PackageInfo file.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# de5c16f10ad133de6e8f864e3bbb16679d6ad900 02-Jan-2014 Matt Madia <mattmadia@gmail.com>

Do not create the hpkg from within the directory to package.


# 73f8409af24aadd4fa74e9078a20e7ecad7d2086 06-Oct-2013 Matt Madia <mattmadia@gmail.com>

Fixed directories. Thanks jessica.

Note to self: Don't push on an empty coffee cup.


# c3cb090f10ebdb7a7ada7b27ff4ec9370fa4dc9c 06-Oct-2013 Matt Madia <mattmadia@gmail.com>

Update script for package-management related changes.

A hpkg will be created locally, which contains the firmwares. This hpkg will
be copied to system. IIRC, the firmware must live in their respective
subdirectories.

To note, once the approve_license flags are implemented on the end-user
applicacation side, the Intel ipw2100 and Intel ipw2200 could be moved
to a separate package. However (and IIRC) the Broadcom involves using a closed
binary blob, that should not become a pre-made package.


# f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6 29-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Initial changes to remove /boot/common

* find_directory() and hard-coded paths use /boot/system instead of
/boot/common.
* The build system creates the writable directories in /boot/system
instead of /boot/common.
* The build system no longer installs any packages in /boot/common.


# a8c2e97934b5167dc3143ca60f63c0a1b60606a5 17-Jun-2012 Matt Madia <mattmadia@gmail.com>

Removed dead code.

As the downloadable files are now hosted on haiku-files.org and the user is
presented the Intel license at the beginning of the script, the function
OpenIntelFirmwareWebpage is unneeded.


# e8fc340a3050e0d3299657994bf06ebf4cfc913f 17-Jun-2012 Matt Madia <mattmadia@gmail.com>

Prevent removing permissions on a wifi firmware's subdirs.

Prior to this /boot/system/data/firmware/broadcom43xx/b43-fwcutter would
have its w+x bits removed.


# 174bc1dca0519bbde4fb0cfcabb98bb76cfa916c 17-Jun-2012 Matt Madia <mattmadia@gmail.com>

Host wifi firmware related files on haiku-files.org


# 87a8b1c97bba3fb7ad49f461d7362b706e52f353 01-Jun-2012 Fredrik Modeen <fredrik@modeen.se>

change wlan iwp2100 to use iprowifi2100 and the right firmware, should fix Ticket #7938 and #7898


# 6e434fd80e4640c64031faf5e49720c5672fc470 15-Feb-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

wifi-firmware: Move from svn to cgit for byteswap.h


# 5c6260dc232fcb2d4d5d1103c1623dba9663b753 12-Aug-2011 Matt Madia <mattmadia@gmail.com>

Minor cleanup. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0041b382147b19ee82ba05e36f007951892c2223 21-Jul-2010 Matt Madia <mattmadia@gmail.com>

Added some much needed echo statements about the scripts progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37671 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 171c986c57c8cc8d9b5b32457781150d1d294d98 20-May-2010 Matt Madia <mattmadia@gmail.com>

Mentioned http://www.haiku-os.org/guides/dailytasks/wireless as a source for
more information. eg, if one needs to manually install the files neeeded by
the script.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36876 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 45e4791e6a90ca76e0a557f78801449e057a59ec 03-May-2010 Matt Madia <mattmadia@gmail.com>

*cough* forgot that the script will continue even if a single firmware fails
to install properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36598 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0da448bf13830e3192edae13b4b7dc82ed87b8d8 03-May-2010 Matt Madia <mattmadia@gmail.com>

Updated the download location for broadcom's file that contains firmware. Also
added an echo, to confirm the success of installing all firmwares.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 199ad3daa6b37391e249d1fb328c9f750257586d 29-Apr-2010 Matt Madia <mattmadia@gmail.com>

Automatic whitespace cleanup. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8acc2e0854336cc694efcaabe126842dab667f99 02-Mar-2010 Matt Madia <mattmadia@gmail.com>

Fixed a typo in DownloadFileIfNotCached. Fixes #5519.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35734 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91db81894a59584d56769216b9c6c8aae26a608e 01-Mar-2010 Matt Madia <mattmadia@gmail.com>

Return the original failed exit code and not that of 'echo'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35710 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b6c650ce6897933051323b964edbda0c4ac657c3 01-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

From: Matt Madia

Create the script's tempdir before displaying the initial alert.

Fixes #5509.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35695 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8480d723206403fdc2c0edfde4248f95fe686ef8 24-Feb-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Matt Madia: Fixed stdout/stderr redirection order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2e874ddff04dfbfb66ff834d86721a81d5d5ac7 24-Jan-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Patch by Matt Madia: Replaced non-POSIX "&>" by "2>&1 >".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35275 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 81a0bf6fdc31caa6f0c6cfc721f8d9c0698c36b0 19-Jan-2010 Colin Günther <coling@gmx.de>

Adding a wifi firmware installation script done by mmadia. This script installs
firmware for unshipable broadcom43xx and marvell88w8335. Furthermore it installs
the firmware for ipw2100 and iprowifi2200, which requires the user to consent
to its license terms. Thank you mmadia!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35164 a95241bf-73f2-0310-859d-f6bbb57e9c96