From: Rick <ri...@ll...> - 2007-01-31 20:40:50
|
EXT-McGhehey, Mark J <Mark.J.McGhehey <at> boeing.com> writes: > Rick, > Several other users, including myself, have reported this very same > error. For some unknown reason, switching from using "gcc 4.1.1" (i.e > the default cross-compiler in newer builds) to "gcc 3.4.5", seems to > make this problem go away. So far, no one from Gumstix supportland > seems to be giving this issue much attention, other than to suggest > switching compilers. (i.e > http://sourceforge.net/mailarchive/message.php?msg_id=37778543) > Mark > > -----Original Message----- > From: Rick [mailto:rick <at> llamatrails.com] > Sent: Monday, January 29, 2007 7:33 AM > To: gumstix-users <at> lists.sourceforge.net > Subject: Re: [Gumstix-users] kernel 1231 and bluetooth issues > > Rick <rick <at> llamatrails.com> writes: > > > > > Gumstix connex 400xm-bt > > > The latest build root, version 1231, compiled fine, loaded fine. NFS > > works, usbnet, and my cf card wifi. Bluetooth doesn't. Sigh. > > > > On starting bluetooth, I get : > > > > # /etc/init.d/S30bluetooth start > > Starting 32kHz clock...Bus error > > > > More detailed error message: > # ./S30bluetooth start > Starting 32kHz clock...Unhandled fault: imprecise external abort (0x416) > at > 0x40006008 > Bus error > Thanks to all that replied, I now have it all working with the latest build 1232 *and* gcc 4.1.1 . I had tried the earlier gcc versions, but then had problems building uClibc. Aggghhh. All it took was to comment out these lines in the /etc/init.d/S30bluetooth file: # echo -n "Starting 32kHz clock..." # /usr/sbin/pxaregs OSCC_OON 1 # while /usr/sbin/pxaregs OSCC_OOK | tail -n 1 | grep -q -v 1;do # echo -n '.' # sleep 1 # done # echo "Settled" Crude, but it works. 8-) Here is the output of the pxaregs line after a clean boot and bluetooth up: [root@gumstix-bt ~]# /usr/sbin/pxaregs OSCC_OOK CM 32.768 kHz oscillator enabled and stabilized OSCC_OOK 0xe59ff014 11100101 10011111 11110000 00010100 OSCC_OOK 0 CM 32.768 kHz oscillator enabled and stabilized [root@gumstix-bt ~]# hciconfig hci0: Type: UART BD Address: 00:80:37:2E:27:57 ACL MTU: 339:11 SCO MTU: 93:14 UP RUNNING PSCAN ISCAN RX bytes:41400 acl:957 sco:0 events:2549 errors:0 TX bytes:24410 acl:923 sco:0 commands:763 errors:0 [root@gumstix-bt ~]# hcitool scan Scanning ... 00:0F:3D:05:88:82 llamatrails-0 00:16:CB:0E:DF:4E PeterPan 00:0A:3A:72:2B:26 RCP4 Rick |