This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI member,
I face some BT porting issue for on it and following the link
http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_PortingGuide#Bluetooth
it will show some failed logs as like below, I may some mistake for it ,
is there any information I can follow ? I've found Android 4.2 can not support "hciconfig" control,
how should implement ? any location of information I could reference ?
(stk) :line disc installation timed out
(stk) :ldisc_install = 0
(stk) :ldisc_install = 1
(stc): st_tty_open
(stk) : line discipline installed
(stk) :TIInit_10.6.15.bts
(stc): add_channel_to_table: id 2
Unable to handle kernel NULL pointer dereference at virtual address 0000001a
pgd = c0004000
[0000001a] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211 compat
CPU: 0 Not tainted (3.0.35-06126-g0f2d6ad-dirty #96)
PC is at st_int_recv+0x78/0x518
LR is at st_int_recv+0x3c/0x518
pc : [<c031a900>] lr : [<c031a8c4>] psr: 80000093
sp : d6227ee8 ip : c0319fa4 fp : c095b9f8
r10: d61ed66c r9 : d61ed694 r8 : d61ed618
r7 : 00000007 r6 : 00000004 r5 : d7123c6a r4 : d61ed600
r3 : ffffffff r2 : 00000000 r1 : 00000020 r0 : 00000000
Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 26e6c04a DAC: 00000015
PC: 0xc031a880:
a880 c080e570 c095bb18 e3500000 13510000 e92d4ff0 e1a05001 e24dd01c e1a04000
a8a0 e1a06002 0a00010c e59fb49c e5db314c e3530000 1a0000f8 e2849094 e1a00009
a8c0 eb0d321d e3560000 e58d0010 0a000054 e284806c e3a02000 e1a07006 e58d2014
a8e0 e1a0a008 ea000023 e2868002 e3a01020 e3a02000 e3e03000 e0848108 e5980004
a900 e1d001ba eb07638c e5db21f4 e3520000 e3a02000 e5840064 e5983004 e59010a4
a920 e590c098 e5d3301f e0811003 e08c3003 e58010a4 e5803098 e5943064 e5c36018
a940 e5943064 e5c32019 e3a02001 e5d53000 e584205c e5c43068 e5983004 e5d3201c
a960 e5842060 1a0000c8 e2855001 e2477001 e3570000 0a00002a e5946060 e3560000
LR: 0xc031a844:
a844 e1a01008 e8bd41f0 eafe1d46 e2840f42 e59f101c e59f201c ebfe907d eaffffc0
a864 e59f1014 e59f0014 ebfe9079 eaffffc6 c095b9f8 c080e500 c069aaac c080e570
a884 c095bb18 e3500000 13510000 e92d4ff0 e1a05001 e24dd01c e1a04000 e1a06002
a8a4 0a00010c e59fb49c e5db314c e3530000 1a0000f8 e2849094 e1a00009 eb0d321d
a8c4 e3560000 e58d0010 0a000054 e284806c e3a02000 e1a07006 e58d2014 e1a0a008
a8e4 ea000023 e2868002 e3a01020 e3a02000 e3e03000 e0848108 e5980004 e1d001ba
a904 eb07638c e5db21f4 e3520000 e3a02000 e5840064 e5983004 e59010a4 e590c098
a924 e5d3301f e0811003 e08c3003 e58010a4 e5803098 e5943064 e5c36018 e5943064
SP: 0xd6227e68:
7e68 00000000 d6226000 000061a8 00000000 c0045f54 ffffffff 00000000 00000000
7e88 d6036000 0000040f 00000005 00000004 00000007 c004b2d0 00000000 00000020
7ea8 00000000 ffffffff d61ed600 d7123c6a 00000004 00000007 d61ed618 d61ed694
7ec8 d61ed66c c095b9f8 c0319fa4 d6227ee8 c031a8c4 c031a900 80000093 ffffffff
7ee8 d602c540 d7123c6a c00a78d8 c0044320 60000013 00000000 c0044320 d72a38c8
7f08 d72a38d8 d7123d6a d72abb40 d72a3800 d7123c6a 00000007 d72a38a8 c0319fbc
7f28 00000007 c02f9d58 c02f9c18 d614fae0 d6226000 c12fc2e0 c1300700 d72a38c8
7f48 c0044880 c0044880 00000009 c00a7310 d614fae0 00000000 c02f9c18 c1300705
IP: 0xc0319f24:
9f24 eafffff1 e2830030 e59f1064 e59f2064 e5d43018 ebfe92c6 eaffffc1 e59f0058
9f44 eb0d1873 e59d3004 e59300a8 e1500006 0a000004 ebff7c87 e59d3004 e59300a8
9f64 ebff5fa8 e59d3004 e59300a4 eb000794 e59d0004 eb0007eb e3a00000 eaffffda
9f84 c095b9f8 c069aa10 c080e250 c080e228 c080e204 c080e1f4 c069aa00 c080e268
9fa4 e92d4008 e1a02003 e59f302c e5900124 e5933000 e12fff33 e59f0020 e5d0305c
9fc4 e3530000 08bd8008 e2800048 e59f1010 e59f2010 e8bd4008 eafe929d c09ba284
9fe4 c095b9f8 c080e290 c069aa2c e92d4010 e1a04000 e24dd008 e59f107c e59f007c
a004 eb0d1843 e28d0004 e3a01000 eb00079d e59d3004 e28410a8 e3a00005 e58340a8
FP: 0xc095b978:
b978 00000129 00000000 c080dd38 c069a904 c080dd44 c080dd0c 000000dc 00000000
b998 c080dd38 c069a934 c080dd44 c080dd14 000000cf 00000000 c080dd38 c069a91c
b9b8 c080dd44 c080dd0c 000000fb 00000000 c080df04 c069a964 c080de30 c080de08
b9d8 00000215 00000000 c080df04 c069a964 c080de30 c080de74 00000220 00000000
b9f8 c080e870 c069a9dc c080e878 c07e6b20 0000030f 00000000 c080e870 c069a9f0
ba18 c080e878 c080e9b8 000002eb 00000000 c080e870 c069aa00 c080e878 c080e99c
ba38 0000025d 00000000 c080e870 c069aa2c c080e878 c080e8b8 000002fb 00000000
ba58 c080e870 c069aa3c c080e878 c080e8b8 000002be 00000000 c080e870 c069aa48
R4: 0xd61ed580:
d580 00000020 00000000 c082340c c0823400 00000000 000000a6 00000000 00000000
d5a0 00000020 00010003 00000500 00000005 00000cbd 00008a3b 7f1c0300 01000415
d5c0 1a131100 170f1200 00000016 00009600 00009600 0000000d 00000000 00000000
d5e0 d61e32e0 d61e3360 00000000 00000000 c06a34fc d61ed834 d61ed534 00000000
d600 00000000 00000000 00000000 00000000 00000000 c093e9d8 00000000 00000000
d620 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d640 00000000 00000000 00000000 00010000 00000000 00000000 00000000 00000000
d660 00000000 00000000 00000000 d61ed66c d61ed66c 00000000 00000000 00000000
R5: 0xd7123bea:
3be8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 d7123c1c
3c08 d7123d1c 00000055 00000100 00000055 00000055 040e0400 00ff0501 01040e04
3c28 0400ff05 0501040e 0e0400ff ff050104 040e0400 00ff0501 01040e04 0400fd09
3c48 a801040e 0e0400fd fd5b0104 040e0400 00fddd01 01040e04 0400fe38 0c01040e
3c68 0e0400fd fd550104 0e040000 ff050104 040e0400 00ff0501 01040e04 0400ff05
3c88 0501040e 0e0400ff ff050104 040e0400 00ff0501 01040e04 0400ff05 0501040e
3ca8 0e0400ff ff050104 040e0400 00ff0501 01040e04 0400ff05 0501040e 0e0400ff
3cc8 ff050104 040e0400 00ff0501 01040e04 0400ff05 0501040e 0e0400ff ff050104
3ce8 040e0400 00ff0501 01040e04 0400ff05 0501040e 0e0400ff ff050104 040e0400
R8: 0xd61ed598:
d598 00000000 00000000 00000020 00010003 00000500 00000005 00000cbd 00008a3b
d5b8 7f1c0300 01000415 1a131100 170f1200 00000016 00009600 00009600 0000000d
d5d8 00000000 00000000 d61e32e0 d61e3360 00000000 00000000 c06a34fc d61ed834
d5f8 d61ed534 00000000 00000000 00000000 00000000 00000000 00000000 c093e9d8
d618 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d638 00000000 00000000 00000000 00000000 00000000 00010000 00000000 00000000
d658 00000000 00000000 00000000 00000000 00000000 d61ed66c d61ed66c 00000000
d678 00000000 00000000 d61ed680 d61ed680 00000000 00000000 00000000 00000001
R9: 0xd61ed614:
d614 c093e9d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d634 00000000 00000000 00000000 00000000 00000000 00000000 00010000 00000000
d654 00000000 00000000 00000000 00000000 00000000 00000000 d61ed66c d61ed66c
d674 00000000 00000000 00000000 d61ed680 d61ed680 00000000 00000000 00000000
d694 00000001 00000000 00000001 00000002 d61ed6c0 d72a3800 00000000 00000000
d6b4 00000000 00000000 00000000 00000000 c08ff310 00000000 00000000 00000000
d6d4 d61ed6d4 d61ed6d4 00000000 00000000 00000000 d61ed6e8 d61ed6e8 010c0e04
d6f4 06001001 0d060000 002b0f00 00000000 00000000 00000000 00000000 d72bf240
R10: 0xd61ed5ec:
d5ec 00000000 c06a34fc d61ed834 d61ed534 00000000 00000000 00000000 00000000
d60c 00000000 00000000 c093e9d8 00000000 00000000 00000000 00000000 00000000
d62c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d64c 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
d66c d61ed66c d61ed66c 00000000 00000000 00000000 d61ed680 d61ed680 00000000
d68c 00000000 00000000 00000001 00000000 00000001 00000002 d61ed6c0 d72a3800
d6ac 00000000 00000000 00000000 00000000 00000000 00000000 c08ff310 00000000
d6cc 00000000 00000000 d61ed6d4 d61ed6d4 00000000 00000000 00000000 d61ed6e8
Process kworker/0:2 (pid: 1229, stack limit = 0xd62262f0)
Stack: (0xd6227ee8 to 0xd6228000)
7ee0: d602c540 d7123c6a c00a78d8 c0044320 60000013 00000000
7f00: c0044320 d72a38c8 d72a38d8 d7123d6a d72abb40 d72a3800 d7123c6a 00000007
7f20: d72a38a8 c0319fbc 00000007 c02f9d58 c02f9c18 d614fae0 d6226000 c12fc2e0
7f40: c1300700 d72a38c8 c0044880 c0044880 00000009 c00a7310 d614fae0 00000000
7f60: c02f9c18 c1300705 d6226000 d614fae0 c12fc2e0 c12fc2e8 d614faf0 d6226000
7f80: c0044880 c0044880 00000009 c00a77e8 00000013 00000000 c0044880 c0044880
7fa0: d6227fc4 d6035f04 d614fae0 c00a7678 00000013 00000000 00000000 00000000
7fc0: 00000000 c00ab8dc c004c408 00000000 d614fae0 00000000 00000000 00000000
7fe0: d6227fe0 d6227fe0 d6035f04 c00ab85c c004c408 c004c408 00000000 00000000
[<c031a900>] (st_int_recv+0x78/0x518) from [<c0319fbc>] (st_tty_receive+0x18/0x4c)
[<c0319fbc>] (st_tty_receive+0x18/0x4c) from [<c02f9d58>] (flush_to_ldisc+0x140/0x19c)
[<c02f9d58>] (flush_to_ldisc+0x140/0x19c) from [<c00a7310>] (process_one_work+0x12c/0x494)
[<c00a7310>] (process_one_work+0x12c/0x494) from [<c00a77e8>] (worker_thread+0x170/0x3cc)
[<c00a77e8>] (worker_thread+0x170/0x3cc) from [<c00ab8dc>] (kthread+0x80/0x88)
[<c00ab8dc>] (kthread+0x80/0x88) from [<c004c408>] (kernel_thread_exit+0x0/0x8)
Code: e3a02000 e3e03000 e0848108 e5980004 (e1d001ba)
---[ end trace cb34aa522403fb1c ]---
(stc): st_register(3)
Kernel panic - not syncing: Fatal exception
[<c0052fc4>] (unwind_backtrace+0x0/0x138) from [<c065fff8>] (panic+0x74/0x194)
[<c065fff8>] (panic+0x74/0x194) from [<c004f454>] (die+0x218/0x284)
[<c004f454>] (die+0x218/0x284) from [<c065f9ec>] (__do_kernel_fault.part.3+0x54/0x74)
[<c065f9ec>] (__do_kernel_fault.part.3+0x54/0x74) from [<c0056d70>] (do_page_fault+0x2cc/0x334)
[<c0056d70>] (do_page_fault+0x2cc/0x334) from [<c0045410>] (do_DataAbort+0x34/0x9c)
[<c0045410>] (do_DataAbort+0x34/0x9c) from [<c004b2d0>] (__dabt_svc+0x70/0xa0)
Exception stack(0xd6227ea0 to 0xd6227ee8)
7ea0: 00000000 00000020 00000000 ffffffff d61ed600 d7123c6a 00000004 00000007
7ec0: d61ed618 d61ed694 d61ed66c c095b9f8 c0319fa4 d6227ee8 c031a8c4 c031a900
7ee0: 80000093 ffffffff
[<c004b2d0>] (__dabt_svc+0x70/0xa0) from [<c031a900>] (st_int_recv+0x78/0x518)
[<c031a900>] (st_int_recv+0x78/0x518) from [<c0319fbc>] (st_tty_receive+0x18/0x4c)
[<c0319fbc>] (st_tty_receive+0x18/0x4c) from [<c02f9d58>] (flush_to_ldisc+0x140/0x19c)
[<c02f9d58>] (flush_to_ldisc+0x140/0x19c) from [<c00a7310>] (process_one_work+0x12c/0x494)
[<c00a7310>] (process_one_work+0x12c/0x494) from [<c00a77e8>] (worker_thread+0x170/0x3cc)
[<c00a77e8>] (worker_thread+0x170/0x3cc) from [<c00ab8dc>] (kthread+0x80/0x88)
[<c00ab8dc>] (kthread+0x80/0x88) from [<c004c408>] (kernel_thread_exit+0x0/0x8)
CPU1: stopping
[<c0052fc4>] (unwind_backtrace+0x0/0x138) from [<c00453a8>] (do_IPI+0x1d4/0x208)
[<c00453a8>] (do_IPI+0x1d4/0x208) from [<c004b34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6037e70 to 0xd6037eb8)
7e60: d61ed694 00000003 60000013 00000001
7e80: d6036000 00000001 c093e9d8 d636c81c c093e9f8 c0431914 00000001 00000404
7ea0: 00003211 d6037eb8 c031a2d8 c0667110 20000013 ffffffff
[<c004b34c>] (__irq_svc+0x4c/0xe8) from [<c0667110>] (__raw_spin_lock_irqsave+0x8c/0xb8)
[<c0667110>] (__raw_spin_lock_irqsave+0x8c/0xb8) from [<c031a2d8>] (st_register+0x74/0x328)
[<c031a2d8>] (st_register+0x74/0x328) from [<c04317a4>] (ti_st_open+0x94/0x1f4)
[<c04317a4>] (ti_st_open+0x94/0x1f4) from [<c05fd60c>] (hci_dev_open+0xe0/0x3c4)
[<c05fd60c>] (hci_dev_open+0xe0/0x3c4) from [<c05fd918>] (hci_power_on+0x28/0xb8)
[<c05fd918>] (hci_power_on+0x28/0xb8) from [<c00a7310>] (process_one_work+0x12c/0x494)
[<c00a7310>] (process_one_work+0x12c/0x494) from [<c00a77e8>] (worker_thread+0x170/0x3cc)
[<c00a77e8>] (worker_thread+0x170/0x3cc) from [<c00ab8dc>] (kthread+0x80/0x88)
[<c00ab8dc>] (kthread+0x80/0x88) from [<c004c408>] (kernel_thread_exit+0x0/0x8)
Hi,
It looks like you have a crash inside the ti-st (shared transport) driver in your kernel.
Which kernel version is it?
I would compare the drivers in you kernel driver source under drivers/misc/ti-st with the ones in:
https://github.com/TI-OpenLink/wl18xx/tree/mc_internal_310/drivers/misc/ti-st
And try to see if your driver looks similar.
If it is similar to the latest you need to add debug info to st_register and see why it crash.
Best Regards,
Eyal
Hi Eyal,
Thanks so much for your information,
the link you provided is Wilink8 driver, is it possible to suit for mine,
the attached is the current kernal FW I used, please help to confirm it.
BR
Kuan Chih