|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
How to build upgt firmware
I think I just need to know how to build the upgt firmware. I'm not finding anything anywhere on this, except my own posts from release 8.2!
upgt is a wireless usb stick driver and as of release 9.0 is now included loaded in the GENERIC kernel, but it requires firmware. The firmware is available from a location but it seems to be broken: the filename for the firmware is sometimes called Code:
upgt-firmware-2.13.1.0.tar.gz Code:
upgt-fw-2.13.1.0.tar.gz Moreover, inspecting the contents it is internally inconsistent, and also specifies the wrong total size in bytes. I unpacked it, re-packed it with consistent name, and adjusted the checksum to match and tried a manual make. It then goes and tries to install a file that's just not present in the zip. Also, wierdly, making the build attempts to retrieve itself from Code:
/usr/ports/distfiles Are there TWO files, one called firmware and one called fw? Or is it completely broken? How are you supposed to build this? Can anyone help? Thanks very much. |
|
||||
upgt-firmware-2.13.1.0.tar.gz is the port, and upgt-fw-2.13.1.0.tar.gz is the distfile for the port (i.e. the source).
utgp(4) lists the following URL on FreeBSD 9.0-RELEASE: http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz The manapage incorrectly says this is a package to be added with pkg_add, this is not true, this is a port, so you'll need to extract & build it, which seems to work fine for me. Code:
[~]# fetch http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz upgt-firmware-2.13.1.0.tar.gz 100% of 1345 B 2128 kBps [~]# tar xf upgt-firmware-2.13.1.0.tar.gz [~]# cd upgt-firmware-2.13.1.0/ [~/upgt-firmware-2.13.1.0]# make ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Extracting for upgt-firmware-kmod-2.13.1.0_1 => SHA256 Checksum OK for upgt-fw-2.13.1.0.tar.gz. ===> Patching for upgt-firmware-kmod-2.13.1.0_1 ===> Configuring for upgt-firmware-kmod-2.13.1.0_1 ===> Building for upgt-firmware-kmod-2.13.1.0_1 [...output snipped...] [~/upgt-firmware-2.13.1.0]#
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Thanks Carpetsmoker. I see that there are two files now. However, my build looks for fw and since it's not there tries to download but there's no network, that's why I need it. Catch 22.
So I: Put the fw zip in /usr/ports/distfiles Put the other zip, probably anywhere, but I unpacked it in /usr/src/sys/modules/usb/upgtfw/ Then in that directory, "make" and "make install". Since in release 9.0 everything else is pre-loaded in kernel I'd like to do the same with upgtfw but "device upgtfw" is rejected in the kernel conf file. There are other "device ****fw" lines but it doesn't work in this case. So to load it dynamically at boot use /boot/loader.conf and add this line: upgtfw_load="YES" Then reboot. USB wireless stick should be recognised properly. Now you can use what you paid for. Thanks to all those that made this possible. |
Tags |
driver, firmware, upgt, wireless |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iwn0: fatal firmware error | tehsean | OpenBSD General | 7 | 5th October 2010 03:10 PM |
It's necesary to use firmware configuring rum or zyd? | ximo | FreeBSD General | 7 | 8th July 2009 10:05 AM |
wpi firmware Intel eula | plouk | NetBSD General | 7 | 4th July 2009 04:14 AM |
How do I manually load firmware in OpenBSD? | Shagbag | OpenBSD Packages and Ports | 3 | 18th September 2008 08:37 PM |
location for wpi-firmware-.tgz | bsdnewbie999 | OpenBSD General | 1 | 18th June 2008 04:20 AM |