aboutsummaryrefslogtreecommitdiffstats
path: root/uap_hack/dreamplug_libertas
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-24 16:27:57 +0200
committerficus <ficus@robocracy.org>2012-09-24 16:27:57 +0200
commit509aec268e05287b53c8047b6a99edbc43d7371e (patch)
tree35b9e507a91ad8e24b695e65e1942c8dc01d43dc /uap_hack/dreamplug_libertas
parent86ab91c3f7eb1bf8e7989d3793e37fa52741b892 (diff)
downloadtorouter-509aec268e05287b53c8047b6a99edbc43d7371e.tar.gz
torouter-509aec268e05287b53c8047b6a99edbc43d7371e.zip
add uap hack for 3.2.0-3-kirkwood
Diffstat (limited to 'uap_hack/dreamplug_libertas')
-rwxr-xr-xuap_hack/dreamplug_libertas/firmware/mrvl/helper_sd.binbin0 -> 2616 bytes
-rwxr-xr-xuap_hack/dreamplug_libertas/firmware/mrvl/sd8688.binbin0 -> 297284 bytes
-rwxr-xr-xuap_hack/dreamplug_libertas/firmware/mrvl/sd8688_ap.binbin0 -> 222572 bytes
-rw-r--r--uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_helper.binbin0 -> 2616 bytes
-rwxr-xr-xuap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh16
-rwxr-xr-xuap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh16
-rw-r--r--uap_hack/dreamplug_libertas/modprobe_libertas_uap.conf5
-rw-r--r--uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.0-3-kirkwoodbin0 -> 63316 bytes
-rw-r--r--uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.9-kirkwoodbin0 -> 63316 bytes
9 files changed, 37 insertions, 0 deletions
diff --git a/uap_hack/dreamplug_libertas/firmware/mrvl/helper_sd.bin b/uap_hack/dreamplug_libertas/firmware/mrvl/helper_sd.bin
new file mode 100755
index 0000000..746ae0b
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/firmware/mrvl/helper_sd.bin
Binary files differ
diff --git a/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688.bin b/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688.bin
new file mode 100755
index 0000000..507b9c1
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688.bin
Binary files differ
diff --git a/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_ap.bin b/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_ap.bin
new file mode 100755
index 0000000..d3b042b
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_ap.bin
Binary files differ
diff --git a/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_helper.bin b/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_helper.bin
new file mode 100644
index 0000000..746ae0b
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/firmware/mrvl/sd8688_helper.bin
Binary files differ
diff --git a/uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh b/uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh
new file mode 100755
index 0000000..2078d1a
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/install_3.2.0-3-kirkwood.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+if ! [ `uname -r` = "3.2.0-3-kirkwood" ]
+then
+ echo "Got: `uname -r`, need 3.2.0-3-kirkwood"
+ echo "Wrong kernel version, binary module won't work. Try a source install?"
+ exit 1
+fi
+
+mkdir /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+cp uap8xxx.ko-$(uname -r) /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+depmod -a
+cp -r firmware/mrvl /lib/firmware/mrvl
+cp modprobe_libertas_uap.conf /etc/modprobe.d/libertas_uap
diff --git a/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh b/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh
new file mode 100755
index 0000000..47d6902
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/install_3.2.9-kirkwood.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+if ! [ `uname -r` = "3.2.9-kirkwood" ]
+then
+ echo "Got: `uname -r`, need 3.2.9-kirkwood"
+ echo "Wrong kernel version, binary module won't work. Try a source install?"
+ exit 1
+fi
+
+mkdir /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+cp uap8xxx.ko-$(uname -r) /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap
+depmod -a
+cp -r firmware/mrvl /lib/firmware/mrvl
+cp modprobe_libertas_uap.conf /etc/modprobe.d/libertas_uap
diff --git a/uap_hack/dreamplug_libertas/modprobe_libertas_uap.conf b/uap_hack/dreamplug_libertas/modprobe_libertas_uap.conf
new file mode 100644
index 0000000..0339023
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/modprobe_libertas_uap.conf
@@ -0,0 +1,5 @@
+# blacklist competing modules for the same hardware
+# used by libertas_uap (uap8xxx.ko)
+blacklist libertas_sdio
+blacklist libertas
+
diff --git a/uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.0-3-kirkwood b/uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.0-3-kirkwood
new file mode 100644
index 0000000..afb311d
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.0-3-kirkwood
Binary files differ
diff --git a/uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.9-kirkwood b/uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.9-kirkwood
new file mode 100644
index 0000000..540f74f
--- /dev/null
+++ b/uap_hack/dreamplug_libertas/uap8xxx.ko-3.2.9-kirkwood
Binary files differ