qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
429 stars 182 forks source link

*BSD driver and compilation status #62

Open leaf-node opened 10 years ago

leaf-node commented 10 years ago

I was going through the readme file to clean it up a bit. I noticed that it says near the top that 'this works' for FreeBSD, but near the bottom it says that there's no driver for this NIC on FreeBSD. Which is true?

Does the build on NetBSD work? I intend to try it out. (For fun, if for no other reason.) NetBSD's man pages say that athn covers this NIC.

I saw that OpenBSD was also mentioned in the readme, and their man page implied that their driver covered the NIC. However I ran into many troubles trying to build the toolchain with the gcc from the portage tree. The one installed by default is 4.2, whereas portage offers 4.8. However... ./configure did not seem to recognize symlinks to 'egcc' in /usr/local/bin, and playing with $PATH gave bizarre results in more ways than one. Either way, there isn't an updated binutils package in portage, so I'm doubtful that the firmware can be built on OpenBSD as it stands.

What's the status on FreeBSD and NetBSD?

f-andrey commented 9 years ago

Readme say "this means you need a driver" (for FreeBSD nonexistence) for OpenBSD seems athn

FreeBSD may build firmware, set env "CC=gcc48" (probably possible to use other versions) otherwise configuration is also trying to use the system clang and dropped an error