aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-22 02:16:55 +0100
committerficus <ficus@robocracy.org>2012-11-22 02:16:55 +0100
commit82197781bd1bd73feb082217ef3af8acede8152f (patch)
treec9affe34ca570ac3aec85ae7f3831c85617f76cd
parentc5126b9f9027fb3a63f9a4c9883356799ce14506 (diff)
downloadtorouter-live-82197781bd1bd73feb082217ef3af8acede8152f.tar.gz
torouter-live-82197781bd1bd73feb082217ef3af8acede8152f.zip
horrible uap kernel module hack (dreamplug)
-rwxr-xr-xconfig/hooks/uap-driver.sh.chroot13
-rw-r--r--config/includes.chroot/etc/modprobe.d/dreamplug.conf5
-rw-r--r--config/includes.chroot/lib/firmware/mrvl/README4
-rwxr-xr-xconfig/includes.chroot/lib/firmware/mrvl/helper_sd.binbin0 -> 2616 bytes
-rwxr-xr-xconfig/includes.chroot/lib/firmware/mrvl/sd8688.binbin0 -> 297284 bytes
-rwxr-xr-xconfig/includes.chroot/lib/firmware/mrvl/sd8688_ap.binbin0 -> 222572 bytes
-rw-r--r--config/includes.chroot/lib/firmware/mrvl/sd8688_helper.binbin0 -> 2616 bytes
-rw-r--r--config/includes.chroot/tmp/uap8xxx.ko-3.2.0-4-kirkwoodbin0 -> 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
new file mode 100755
index 0000000..746ae0b
--- /dev/null
+++ b/config/includes.chroot/lib/firmware/mrvl/helper_sd.bin
Binary files differ
diff --git a/config/includes.chroot/lib/firmware/mrvl/sd8688.bin b/config/includes.chroot/lib/firmware/mrvl/sd8688.bin
new file mode 100755
index 0000000..507b9c1
--- /dev/null
+++ b/config/includes.chroot/lib/firmware/mrvl/sd8688.bin
Binary files differ
diff --git a/config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin b/config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin
new file mode 100755
index 0000000..d3b042b
--- /dev/null
+++ b/config/includes.chroot/lib/firmware/mrvl/sd8688_ap.bin
Binary files differ
diff --git a/config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin b/config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin
new file mode 100644
index 0000000..746ae0b
--- /dev/null
+++ b/config/includes.chroot/lib/firmware/mrvl/sd8688_helper.bin
Binary files differ
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
new file mode 100644
index 0000000..0c0c544
--- /dev/null
+++ b/config/includes.chroot/tmp/uap8xxx.ko-3.2.0-4-kirkwood
Binary files differ