Hi,
I'm able to get some response from Wilink Module. I'm getting the firmware version from wilink module... although there is error while requesting firmware download. The error log is as follows :
------------------------------------------------------------------------------
root@DM365_IPNC:~# insmod /opt/ipnc/modules/st_drv.ko
[ 84.890072] (stk) :st_kim_init
[ 84.893210] bf098638
[ 84.904503] platform_drv_probe
[ 84.907609] (stk) :kim_probe
[ 84.914357] (stc): st_core_init
[ 84.917557] (stk) :Requesting gpio_no 45
[ 84.932073] (stk) : Configuring gpio_no 45 as Output
[ 84.940914] (stk) : Value of GPIO45 : 0
[ 84.952057] (stk) : Value of GPIO45 : 8192
[ 84.964397] (stk) : Value of GPIO45 : 0
[ 84.974295] (stk) : Value of GPIO45 : 0
[ 84.978351] (stk) :sysfs entries created
[ 84.989212] (stk) : debugfs entries created
[ 85.003969] __driver_attach_exit
root@DM365_IPNC:~#
root@DM365_IPNC:~# insmod /opt/ipnc/modules/btwilink.ko
[ 92.498679] bf0a0454
[ 92.501107] platform_drv_probe
[ 92.513040] bt_ti_probe
[ 92.518587] Bluetooth Driver Version 1.0 DEBUG: Inside ti_st_register_dev
[ 92.544634] bt_ti_probe: Successfull
[ 92.549080] __driver_attach_exit
[ 92.553596] btwilink platform drv registered ret = 0
root@DM365_IPNC:~#
root@DM365_IPNC:~# uim &
root@DM365_IPNC:~# uim:@ main
uim:begin polling...
root@DM365_IPNC:~# hciconfig hci0 up
[ 99.490104] Calling st_register
[ 99.505021] (stc): st_register(0)
[ 99.508301] (stc): chnl_id list empty :0 Calling st_kim_start
[ 99.526569] (stk) : st_kim_start
[ 99.529681] (stk) : Value of GPIO45 : 0
[ 99.533803] (stk) : Configuring gpio_no 45 to HIGH STATE Configuring gpio_no 45 to HIGH STATE
[ 99.557742] (stk) : Value of GPIO45 : 0
[ 104.361751] (stk) : Value of GPIO45 : 8192
[ 106.773309] (stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)
u
[ 106.794079] (stc): st_tty_open im:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /
[ 106.804389] (stk) : line discipline installed dev/ttyS1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Installed N_TI_WL Line displine
uim:begin polling...
[ 116.454450] (stk) :TIInit_11.8.32.bts
[ 177.129084] (stk) : request_firmware failed(errno -2) for TIInit_11.8.32.bts
[ 177.146200] (stk) :download firmware failed
[ 177.161383] (stk) :ldisc_install = 0uim:poll broke d
[ 177.166804] (stk) : Value of GPIO45 : 8192
ue to event 10(PRI:2/ERR:8)
uim:read 0 from install
uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:beg[ 177.181402] (stk) : Configuring gpio_no 45 to HIGH STATEin polling...
Configuring gpio_no 45 to HIGH STATE
[ 177.198557] (stk) : Value of GPIO45 : 0
[ 4.879536] (stk) : Value of GPIO45 : 8192
[ 7.305678] (stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /dev/ttyS1
uim:@ set_baud_rate
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
[ 8.307363] (stk) :line disc installation timed out
[ 8.312387] (stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)
u
[ 8.340509] (stk) : Value of GPIO45 : 8192
im:read 0 from i[ 8.345380] (stk) : Configuring gpio_no 45 to HIGH STATEnstall
uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...
Configuring gpio_no 45 to HIGH STATE
[ 8.384768] (stk) : Value of GPIO45 : 0
[ 13.162464] (stk) : Value of GPIO45 : 8192
[ 15.561581] (stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /dev/ttyS1
uim:@ set_baud_rate
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
[ 16.567395] (stk) :line disc installation timed out
[ 16.572420] (stk) :ldisc_install = 0uim:poll broke d
[ 16.586556] (stk) : Value of GPIO45 : 8192
ue to event 10(PRI:2/ERR:8)
uim:read 0 from install
[ 16.597375] (stk) : Configuring gpio_no 45 to HIGH STATE
uim:Un-Installed N_TI_WL Line displine
uim:beg Configuring gpio_no 45 to HIGH STATE
in polling...
[ 16.611032] (stk) : Value of GPIO45 : 0
[ 21.467748] (stk) : Value of GPIO45 : 8192
[ 23.878550] (stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /dev/ttyS1
uim:@ set_baud_rate
uim: Can't get port settings
uim:set_baudrate() failed
uim:begin polling...
[ 24.887348] (stk) :line disc installation timed out
[ 24.897339] (stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 0 from install
[ 41.809079] Function entered at [<bf0975b0>] from [<bf0a03e4>]
[ 41.814934] r7:c7b87400 r6:c7b8c5c0 r5:00000000 r4:ffffffea
[ 41.820664] Function entered at [<bf0a02e0>] from [<c0379e3c>]
[ 41.826521] r7:c6c62d00 r6:c7b87624 r5:400448c9 r4:c7b87400
[ 41.832249] Function entered at [<c0379d88>] from [<c037f488>]
[ 41.838101] r6:00000000 r5:400448c9 r4:400448c9
[ 41.842773] Function entered at [<c037f3b0>] from [<c02cc9c8>]
[ 41.848624] r8:00000000 r7:c6c62d00 r6:00000000 r5:400448c9 r4:00000003
[ 41.855407] Function entered at [<c02cc7b8>] from [<c00b1a74>]
[ 41.861260] r6:400448c9 r5:c6c62d00 r4:00000003
[ 41.865928] Function entered at [<c00b1504>] from [<c00b1b24>]
[ 41.871784] Function entered at [<c00b1ae4>] from [<c002e020>]
[ 41.877637] r7:00000036 r6:4003efb4 r5:beff6f34 r4:4005d83c
[ 41.883387] Code: eb00036d e51b3020 e3530000 0a000002 (e5d53018)
[ 42.257502] ---[ end trace 1fe50670edd39529 ]---
Segmentation fault
-----------------------------------------------------------------------------------------------------
On community i checked this problem can be wrong firmware path. I have two following bts path on filesystem.
root@DM365_IPNC:~# ls /etc/lib/firmware/TIInit_11.8.32.bts -l
-rw-r--r-- 1 root root 70313 Apr 17 2015 /etc/lib/firmware/TIInit_11.8.32.bts
root@DM365_IPNC:~# ls /lib/firmware/TIInit_11.8.32.bts -l
-rw-r--r-- 1 root root 70313 Apr 11 2015 /lib/firmware/TIInit_11.8.32.bts
root@DM365_IPNC:~#
-------------------------------------------------------------------------------------------------------------------
I'm expecting some comments from your side on this, please suggest .
Thanks
Brajesh