diff options
author | ficus <ficus@robocracy.org> | 2012-11-22 02:16:55 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-22 02:16:55 +0100 |
commit | 82197781bd1bd73feb082217ef3af8acede8152f (patch) | |
tree | c9affe34ca570ac3aec85ae7f3831c85617f76cd /config | |
parent | c5126b9f9027fb3a63f9a4c9883356799ce14506 (diff) | |
download | torouter-live-82197781bd1bd73feb082217ef3af8acede8152f.tar.gz torouter-live-82197781bd1bd73feb082217ef3af8acede8152f.zip |
horrible uap kernel module hack (dreamplug)
Diffstat (limited to 'config')
-rwxr-xr-x | config/hooks/uap-driver.sh.chroot | 13 | ||||
-rw-r--r-- | config/includes.chroot/etc/modprobe.d/dreamplug.conf | 5 | ||||
-rw-r--r-- | config/includes.chroot/lib/firmware/mrvl/README | 4 | ||||
-rwxr-xr-x | config/includes.chroot/lib/firmware/mrvl/helper_sd.bin | bin | 0 -> 2616 bytes | |||
-rwxr-xr-x | config/includes.chroot/lib/firmware/mrvl/sd8688.bin | bin | 0 -> 297284 bytes | |||
-rwxr-xr-x | config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin | bin | 0 -> 222572 bytes | |||
-rw-r--r-- | config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin | bin | 0 -> 2616 bytes | |||
-rw-r--r-- | config/includes.chroot/tmp/uap8xxx.ko-3.2.0-4-kirkwood | bin | 0 -> 63372 bytes |
8 files changed, 22 insertions, 0 deletions
diff --git a/config/hooks/uap-driver.sh.chroot b/config/hooks/uap-driver.sh.chroot new file mode 100755 index 0000000..dc2e379 --- /dev/null +++ b/config/hooks/uap-driver.sh.chroot @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +echo "Determining kernel version..." +cd /boot +KERNELVERSION=`ls vmlinuz-* | sed "s/vmlinuz-//g"` +echo $KERNELVERSION + +echo "Installing uap8xxx.ko Marvell WiFi kernel module..." +mkdir -p /lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/libertas_uap +mv /tmp/uap8xxx.ko-$KERNELVERSION /lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/libertas_uap/uap8xxx.ko +depmod -a diff --git a/config/includes.chroot/etc/modprobe.d/dreamplug.conf b/config/includes.chroot/etc/modprobe.d/dreamplug.conf new file mode 100644 index 0000000..ca41938 --- /dev/null +++ b/config/includes.chroot/etc/modprobe.d/dreamplug.conf @@ -0,0 +1,5 @@ +# blacklist competing modules for the same hardware +# used by libertas_uap master-mode wifi driver (uap8xxx.ko) +blacklist libertas_sdio +blacklist libertas + diff --git a/config/includes.chroot/lib/firmware/mrvl/README b/config/includes.chroot/lib/firmware/mrvl/README new file mode 100644 index 0000000..41b4db9 --- /dev/null +++ b/config/includes.chroot/lib/firmware/mrvl/README @@ -0,0 +1,4 @@ +These drivers have unknown progeny and licensing (extracted from a DreamPlug's +default filesystem). + +Not the same as: http://packages.debian.org/squeeze/libertas-firmware diff --git a/config/includes.chroot/lib/firmware/mrvl/helper_sd.bin b/config/includes.chroot/lib/firmware/mrvl/helper_sd.bin Binary files differnew file mode 100755 index 0000000..746ae0b --- /dev/null +++ b/config/includes.chroot/lib/firmware/mrvl/helper_sd.bin diff --git a/config/includes.chroot/lib/firmware/mrvl/sd8688.bin b/config/includes.chroot/lib/firmware/mrvl/sd8688.bin Binary files differnew file mode 100755 index 0000000..507b9c1 --- /dev/null +++ b/config/includes.chroot/lib/firmware/mrvl/sd8688.bin diff --git a/config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin b/config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin Binary files differnew file mode 100755 index 0000000..d3b042b --- /dev/null +++ b/config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin diff --git a/config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin b/config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin Binary files differnew file mode 100644 index 0000000..746ae0b --- /dev/null +++ b/config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin diff --git a/config/includes.chroot/tmp/uap8xxx.ko-3.2.0-4-kirkwood b/config/includes.chroot/tmp/uap8xxx.ko-3.2.0-4-kirkwood Binary files differnew file mode 100644 index 0000000..0c0c544 --- /dev/null +++ b/config/includes.chroot/tmp/uap8xxx.ko-3.2.0-4-kirkwood |