(→iw) |
(→WiFi) |
||
(8 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
=== Enabling GuruPlug Server Marvell Libertas 8688 SDIO 802.11b/g WiFi === | === Enabling GuruPlug Server Marvell Libertas 8688 SDIO 802.11b/g WiFi === | ||
− | Enable the following | + | The GuruPlug Server Plus incorporates an [http://www.azurewave.com/ AzureWave] AW-GH381 IEEE 802.11 b/g Wireless LAN & Bluetooth 3.0 module IC, functionally equivalent to the [http://www.marvell.com/wireless/assets/8688.pdf Marvell 88W8688] |
+ | |||
+ | == WiFi == | ||
+ | |||
+ | Enable the following as kernel <B>modules</B> and compile your modules: | ||
<PRE> | <PRE> | ||
Line 8: | Line 12: | ||
Marvell 8xxx Libertas WLAN driver support | Marvell 8xxx Libertas WLAN driver support | ||
Marvell Libertas 8385/8686/8688 SDIO 802.11b/g cards | Marvell Libertas 8385/8686/8688 SDIO 802.11b/g cards | ||
+ | </PRE> | ||
+ | |||
+ | The modules above will want to load firmware from the root filesystem that is not available until the filesystem is mounted. This will result in an initial error loading firmware (see below), but the kernel will retry later and should succeed. To mitigate this issue, I choose to compile these as loadable modules rather than built-in. | ||
+ | |||
+ | <PRE> | ||
+ | mmc0: new high speed SDIO card at address 0001 | ||
+ | libertas_sdio mmc0:0001:1: Direct firmware load failed with error -2 | ||
+ | libertas_sdio mmc0:0001:1: Falling back to user helper | ||
</PRE> | </PRE> | ||
Line 19: | Line 31: | ||
</PRE> | </PRE> | ||
− | And reboot. | + | And reboot. The modules should now load. If not, manually load them using: |
<PRE> | <PRE> | ||
− | + | insmod /lib/modules/<kernel ver>/kernel/drivers/net/wireless/libertas/libertas.ko | |
− | libertas_sdio | + | insmod /lib/modules/<kernel ver>/kernel/drivers/net/wireless/libertas/libertas_sdio.ko |
− | + | </PRE> | |
− | </PRE> | + | |
− | + | When loaded, the following debug messages should be displayed: | |
<PRE> | <PRE> | ||
Line 34: | Line 45: | ||
</PRE> | </PRE> | ||
− | == | + | == Bluetooth == |
− | + | Enable the following Linux kernel modules and recompile your kernel. These modules will want to load firmware from the root filesystem that is not available until mounted. This will result in an initial error loading firmware, but the kernel will retry later and should succeed. To mitigate this issue, I choose to compile these as loadable modules rather than built-in. | |
− | + | ||
− | + | ||
<PRE> | <PRE> | ||
− | + | Networking Support -> Bluetooth subsystem support | |
− | + | Networking Support -> Bluetooth subsystem support -> Bluetooth device drivers | |
− | + | Marvell Bluetooth driver support | |
− | + | Marvell BT-over-SDIO driver | |
− | + | ||
− | + | ||
</PRE> | </PRE> | ||
− | + | The WLAN/Bluetooth SoC has an ARMv5TE core that runs closed firmware. Download the Binary BLOBs (firmware) to /lib/firmware/mrvl/: | |
<PRE> | <PRE> | ||
− | wget | + | mkdir /lib/firmware /lib/firmware/mrvl |
− | + | cd /lib/firmware/mrvl | |
− | + | wget http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mrvl/sd8688_helper.bin | |
− | + | wget http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mrvl/sd8688.bin | |
− | + | ||
− | + | ||
</PRE> | </PRE> | ||
− | + | Upon reboot, you should now see the following kernel message as the module loads: | |
<PRE> | <PRE> | ||
− | + | Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2 | |
− | + | ||
− | + | ||
</PRE> | </PRE> | ||
− | + | and be greeted with a Bluetooth hci device: | |
<PRE> | <PRE> | ||
− | + | # hciconfig | |
+ | hci0: Type: BR/EDR Bus: SDIO | ||
+ | BD Address: 00:24:23:1F:B3:EA ACL MTU: 1021:7 SCO MTU: 240:3 | ||
+ | DOWN | ||
+ | RX bytes:647 acl:0 sco:0 events:22 errors:0 | ||
+ | TX bytes:442 acl:0 sco:0 commands:22 errors:0 | ||
</PRE> | </PRE> | ||
+ | |||
+ | If this is not the case, check that the btmrvl.ko & btmrvl_sdio.ko modules are loaded. |
The GuruPlug Server Plus incorporates an AzureWave AW-GH381 IEEE 802.11 b/g Wireless LAN & Bluetooth 3.0 module IC, functionally equivalent to the Marvell 88W8688
Enable the following as kernel modules and compile your modules:
Device Drivers > Network device support > Wireless LAN Marvell 8xxx Libertas WLAN driver support Marvell Libertas 8385/8686/8688 SDIO 802.11b/g cards
The modules above will want to load firmware from the root filesystem that is not available until the filesystem is mounted. This will result in an initial error loading firmware (see below), but the kernel will retry later and should succeed. To mitigate this issue, I choose to compile these as loadable modules rather than built-in.
mmc0: new high speed SDIO card at address 0001 libertas_sdio mmc0:0001:1: Direct firmware load failed with error -2 libertas_sdio mmc0:0001:1: Falling back to user helper
Download Binary BLOBs to /lib/firmware:
mkdir /lib/firmware cd /lib/firmware wget http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mrvl/sd8688_helper.bin wget http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mrvl/sd8688.bin
And reboot. The modules should now load. If not, manually load them using:
insmod /lib/modules/<kernel ver>/kernel/drivers/net/wireless/libertas/libertas.ko insmod /lib/modules/<kernel ver>/kernel/drivers/net/wireless/libertas/libertas_sdio.ko
When loaded, the following debug messages should be displayed:
libertas_sdio mmc0:0001:1 (unregistered net_device): 00:24:23:1f:b3:e9, fw 10.38.1p25, cap 0x00000303 libertas_sdio mmc0:0001:1 wlan0: Marvell WLAN 802.11 adapter
Enable the following Linux kernel modules and recompile your kernel. These modules will want to load firmware from the root filesystem that is not available until mounted. This will result in an initial error loading firmware, but the kernel will retry later and should succeed. To mitigate this issue, I choose to compile these as loadable modules rather than built-in.
Networking Support -> Bluetooth subsystem support Networking Support -> Bluetooth subsystem support -> Bluetooth device drivers Marvell Bluetooth driver support Marvell BT-over-SDIO driver
The WLAN/Bluetooth SoC has an ARMv5TE core that runs closed firmware. Download the Binary BLOBs (firmware) to /lib/firmware/mrvl/:
mkdir /lib/firmware /lib/firmware/mrvl cd /lib/firmware/mrvl wget http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mrvl/sd8688_helper.bin wget http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/mrvl/sd8688.bin
Upon reboot, you should now see the following kernel message as the module loads:
Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2
and be greeted with a Bluetooth hci device:
# hciconfig hci0: Type: BR/EDR Bus: SDIO BD Address: 00:24:23:1F:B3:EA ACL MTU: 1021:7 SCO MTU: 240:3 DOWN RX bytes:647 acl:0 sco:0 events:22 errors:0 TX bytes:442 acl:0 sco:0 commands:22 errors:0
If this is not the case, check that the btmrvl.ko & btmrvl_sdio.ko modules are loaded.