Libertas driver

From ArmadeusWiki
Revision as of 15:50, 14 January 2010 by JulienB (Talk | contribs) (Links)

Jump to: navigation, search

The libertas driver is a collection of modules providing support for Marvell Technology Group's Libertas chipsets. On this page we will only detail the setup of the driver for the SDIO interface modules compatible with 88w8686 chipset, used for example on the APF27's wireless extension board.

The Linux drivers are available since 2.6.24 kernel, thanks to the community effort to rewrite Marvell's proprietary drivers.

Installation

Libertas drivers are already installed on your rootfs (if you built it with an APF27 as target). The drivers require a proprietary firmware to be downloaded to the chipset before use. This firmware needs to be manually downloaded and installed:

  • get them from David's Woodhouse linux-firmware git repository:
$ cd somewhere_with_free_space/
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git linux-firmware_git
  • copy them (version v8) to you TFTP directory (here /tftpboot/):
$ cp linux-firmware_git/libertas/sd8686_v8.bin /tftpboot/
$ cp linux-firmware_git/libertas/sd8686_v8_helper.bin /tftpboot/
  • install them on your target (here 192.168.1.2 is my Host IP address):
# mkdir -p /lib/firmware/
# cd /lib/firmware/
# tftp -g -r sd8686_v8.bin -l sd8686.bin 192.168.1.2
# tftp -g -r sd8686_v8_helper.bin -l sd8686_helper.bin 192.168.1.2
# ls -al /lib/firmware/
drwxr-xr-x    2 root     root            0 Jan  1 01:01 .
drwxr-xr-x    4 root     root            0 Dec 30  2009 ..
-rw-r--r--    1 root     root       122800 Jan  1 01:00 sd8686.bin
-rw-r--r--    1 root     root         2464 Jan  1 01:01 sd8686_helper.bin
Note Note: You can also try official firmwares got at Marvell website (see Links above)


Usage

# modprobe libertas_sdio

Links