Chinaunix首页 | 论坛 | 博客
  • 博客访问: 424976
  • 博文数量: 69
  • 博客积分: 957
  • 博客等级: 准尉
  • 技术积分: 1161
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-26 14:54
文章分类

全部博文(69)

文章存档

2013年(15)

2012年(12)

2011年(42)

分类: LINUX

2012-02-23 10:31:02

文件系统编译成功后,wifi可以直接使用了,但是bluetooth不能使用,以下是需要做的,按步骤来即可:

http://riverhkw.blog.chinaunix.net

注:按照以下步骤操作经证实没有问题,切记接口为ttyO1,而非tty01,否则怎么都起不来的。

帖子一:
> Guys, I got it working in ICS master branch fromAOSPwith minimal changes and a re-compiled kernel:
>
> 1) check out masterAOSP
> 2) add ti-wpan project from omapzoom (git://) to hardware/ti/wpan

此处可用此调用来下载:


> 3) modify device/ti/panda/ as follows:
> a) add TIInit_7.2.31.bts firmware from pandroid project in TI gforge (.) -- it's a linux installer, copy the firmware from the installed directory to ti/panda
> b) add android.hardware.bluetooth.xml from omapzoom blaze_tablet (http://git.omapzoom.org/?p=device/ti/blaze_tablet.git;a=blob;f=androi...)

> c) modify device.mk with:
> PRODUCT_COPY_FILES := device/ti/panda/TIInit_7.2.31.bts:system/etc/firmware/TIInit_7.2.31.bts \
>                       device/ti/panda/android.hardware.bluetooth.xml:system/etc/permissions/andro id.hardware.bluetooth.xml
> PRODUCT_PACKAGES := $(call inherit-product-if-exists, hardware/ti/wpan/)
> d) modify BoardConfig.mk with:
> BOARD_HAVE_BLUETOOTH := true
> e) modify init.omap4pandaboard.rc with:
> # change permissions forBluetooth/FM/GPS
>        chmod 0600 /sys/class/rfkill/rfkill0/state
>        chownbluetoothbluetooth/sys/class/rfkill/rfkill0/state
>        chmod 0600 /dev/ttyO1
>        chownbluetoothbluetooth/dev/ttyO1
> #shared transport user space mgr service forBluetooth, FM and GPS
> service uim /system/bin/uim-sysfs
>        class core
>        userbluetooth
>        groupbluetoothnet_bt_admin
> f - IMPORTANT) re-compile kernel fromAOSP: (
branch remotes/origin/android-omap-panda-3.0) with the following:
>        1) make sure you copy the original defconfig from arch/arm/configs/panda_defconfig to .config in kernel root
>        2) make menuconfig with ARCH=arm
>        3) Networking Support->Bluetoothsubsystem support->
>           a) turn on L2CAP, SCO, RFCOMM (with tty), BNEP, and HIDP
>           b)Bluetoothdevice drivers-> make sure you have HCI UART (H4 protocol) and Texas Instruments WiLink7 driver enabled
>        4) exit and save
>        5) re-compile, use the zImage (not the uImage) and replace the kernel in ti/panda/kernel with it.
> 4) Re-compileAOSPwith new kernel, see if BT and wifi works :-D

帖子二:
Thanks to richi-chen and .
I followed the steps given by and following are
some of the important changes which may require (for me without these
changes Bluetooth didn't come up)

In the init.omap4pandaboard.rc I have modified the following


on boot

        mount debugfs /sys/kernel/debug /sys/kernel/debug
        chmod 0666 /dev/pvrsrvkm
        chmod 0777 /dev/ttyO1        /* Added by me */
        chmod 0777 /dev/tty*
        chmod 0777 /dev/tty

and

service uim /system/bin/uim-sysfs
        class core
        user bluetooth
        group bluetooth net_bt_admin
        group bluetooth root     /* Added by me. But not sure is this really
required or not. Yet to try without having this line */

After this Bluetooth is started working. I mean able to see the

devices, not yet tried file transfer options

-VH


具体内容参照



阅读(4450) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

river_hkw2012-10-04 16:23:01

插上usb后,系统应该在串口有输出的,你根据android4.0.3源码包里的readme里面的步骤做,设备就能识别了

houyizi3132012-09-04 15:46:37

兄弟:我的板子pandaboard B1在usbboot bootloader.bin的时候:卡在:using built-in 2enstage.bin
waiting for omap44xx devices……
这是什么情况?win7上面装的ubuntu12.04:硬件是:i7-3770;16G内存;
望指点……非常感谢……houyizi313@gmail.com……