30 Commits
Author SHA1 Message Date
Humdinger 66032c9f31 install-wifi-firmwares.sh: Fix download URL
Change-Id: I5a8eba3f3b0d4d0071e011959d5d1aedc9db24e2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9318
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-31 20:57:45 +00:00
Adrien Destugues daf10ef340 install-wifi-firlwares: stop using haiku-files.org
- Move the firmwares to github
- Move broadcom fwcutter to a package

Fixes #11841
2020-08-04 10:52:19 +02:00
Humdinger e304f35430 Fix URL in install-wifi-firmwares.sh
Fixes #15916
2020-04-28 17:44:57 +02:00
Adrien Destugues 3aba70f980 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.
2020-02-01 09:28:39 +01:00
Adrien Destugues 4950607607 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 <[email protected]>
2019-07-29 20:26:46 +00:00
Augustin Cavalier b41678294b 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 <[email protected]>
2018-08-28 20:14:00 +00:00
Jérôme Duval b247f935d1 install-wifi-firmwares.sh: remove haiku requires.
fixes #13794
2017-11-23 17:11:51 +01:00
luroh d64b771b96 Fix offline installation of iprowifi2100 and iprowifi2200 firmware.
Signed-off-by: Jérôme Duval <[email protected]>
2014-08-26 23:10:37 +02:00
luroh b3fe70844e Specify the location of the .PackageInfo file.
Signed-off-by: Jessica Hamilton <[email protected]>
2014-05-22 09:31:57 +12:00
Matt Madia de5c16f10a Do not create the hpkg from within the directory to package. 2014-01-02 21:39:41 -05:00
Matt Madia 73f8409af2 Fixed directories. Thanks jessica.
Note to self: Don't push on an empty coffee cup.
2013-10-06 21:33:14 -04:00
Matt Madia c3cb090f10 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.
2013-10-06 21:21:28 -04:00
Ingo Weinhold f73f5d4c42 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.
2013-10-03 21:52:25 +02:00
Matt Madia a8c2e97934 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.
2012-06-17 16:29:38 -04:00
Matt Madia e8fc340a30 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.
2012-06-17 16:24:41 -04:00
Matt Madia 174bc1dca0 Host wifi firmware related files on haiku-files.org 2012-06-17 15:49:44 -04:00
Fredrik Modeen 87a8b1c97b change wlan iwp2100 to use iprowifi2100 and the right firmware, should fix Ticket #7938 and #7898 2012-06-01 22:29:26 +02:00
Alexander von Gluck IV 6e434fd80e wifi-firmware: Move from svn to cgit for byteswap.h 2012-02-15 17:25:13 -06:00
Matt Madia 5c6260dc23 Minor cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 02:31:02 +00:00
Matt Madia 0041b38214 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
2010-07-21 23:07:52 +00:00
Matt Madia 171c986c57 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
2010-05-20 14:13:01 +00:00
Matt Madia 45e4791e6a *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
2010-05-03 20:19:50 +00:00
Matt Madia 0da448bf13 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
2010-05-03 20:07:54 +00:00
Matt Madia 199ad3daa6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 16:04:29 +00:00
Matt Madia 8acc2e0854 Fixed a typo in DownloadFileIfNotCached. Fixes #5519.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 12:07:59 +00:00
Matt Madia 91db81894a 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
2010-03-01 21:58:27 +00:00
Stephan Aßmus b6c650ce68 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
2010-03-01 10:05:27 +00:00
Ingo Weinhold 8480d72320 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
2010-02-24 10:57:08 +00:00
Ingo Weinhold d2e874ddff 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
2010-01-25 04:10:32 +00:00
Colin Günther 81a0bf6fdc 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
2010-01-19 10:17:33 +00:00