pandora-firmware: Add bluetooth-conf to the firmware package (not sure this is the...
authorDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 1 Dec 2009 18:25:06 +0000 (18:25 +0000)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 1 Dec 2009 18:25:06 +0000 (18:25 +0000)
recipes/pandora-system/pandora-firmware.bb
recipes/pandora-system/pandora-firmware/README.txt
recipes/pandora-system/pandora-firmware/bluetooth-conf [new file with mode: 0644]

index 8986715..0589cbd 100755 (executable)
@@ -6,19 +6,22 @@ PR = "r1"
 SRC_URI = " \
         file://brf6300.bin \
         file://wl1251-fw.bin \
-        file://wl1251-nvs.bin \
+        file://wl1251-nvs.bin \        
+        file://bluetooth-conf \        
 "
 
 SUMMARY = "This is required to support the Bluetooth and WiFi modules on the Pandora"
 S = "${WORKDIR}"
 
 do_install() {
-        install -d ${D}/lib/firmware
-        install -m 0644 ${S}/brf6300.bin ${S}/wl1251-fw.bin ${S}/wl1251-nvs.bin ${D}/lib/firmware/
+        install -d ${D}${base_libdir}/firmware
+        install -m 0644 ${S}/brf6300.bin ${S}/wl1251-fw.bin ${S}/wl1251-nvs.bin ${D}${base_libdir}/firmware/
+        install -d ${D}${sysconfdir}/sysconfig
+        install -m 0755 ${S}/bluetooth-conf ${D}${sysconfdir}/sysconfig/bluetooth     
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-FILES_${PN} += "/lib/firmware"
+FILES_${PN} += "${base_libdir}/firmware ${sysconfdir}/sysconfig"
 
 COMPATIBLE_MACHINE = "omap3-pandora"
index 4b12299..747d1fa 100755 (executable)
@@ -1,3 +1,5 @@
 Place Pandora firmware files in this dir. to build the pandora-firmware package (needed for WiFi and BT support).\r
 \r
-brf6300.bin and wl1251-fw.bin and wl1251-nvs.bin
\ No newline at end of file
+brf6300.bin and wl1251-fw.bin\r
+\r
+This also contains a simple script to help bring up the Bluetooth interface on the system.
\ No newline at end of file
diff --git a/recipes/pandora-system/pandora-firmware/bluetooth-conf b/recipes/pandora-system/pandora-firmware/bluetooth-conf
new file mode 100644 (file)
index 0000000..a197808
--- /dev/null
@@ -0,0 +1,5 @@
+BLUETOOTH=yes\r
+PORT=/dev/ttyS1\r
+SPEED=115200\r
+PROTO=texas\r
+PROBE=no\r