From 2823a678f771b718f111f13b24bf9438264372ab Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 1 Dec 2009 18:25:06 +0000 Subject: [PATCH] pandora-firmware: Add bluetooth-conf to the firmware package (not sure this is the right place but will do for now). --- recipes/pandora-system/pandora-firmware.bb | 11 +++++++---- recipes/pandora-system/pandora-firmware/README.txt | 4 +++- .../pandora-system/pandora-firmware/bluetooth-conf | 5 +++++ 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 recipes/pandora-system/pandora-firmware/bluetooth-conf diff --git a/recipes/pandora-system/pandora-firmware.bb b/recipes/pandora-system/pandora-firmware.bb index 8986715..0589cbd 100755 --- a/recipes/pandora-system/pandora-firmware.bb +++ b/recipes/pandora-system/pandora-firmware.bb @@ -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" diff --git a/recipes/pandora-system/pandora-firmware/README.txt b/recipes/pandora-system/pandora-firmware/README.txt index 4b12299..747d1fa 100755 --- a/recipes/pandora-system/pandora-firmware/README.txt +++ b/recipes/pandora-system/pandora-firmware/README.txt @@ -1,3 +1,5 @@ Place Pandora firmware files in this dir. to build the pandora-firmware package (needed for WiFi and BT support). -brf6300.bin and wl1251-fw.bin and wl1251-nvs.bin \ No newline at end of file +brf6300.bin and wl1251-fw.bin + +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 index 0000000..a197808 --- /dev/null +++ b/recipes/pandora-system/pandora-firmware/bluetooth-conf @@ -0,0 +1,5 @@ +BLUETOOTH=yes +PORT=/dev/ttyS1 +SPEED=115200 +PROTO=texas +PROBE=no -- 2.39.2