PalmTT3: Bluetooth

Here you have some fresh news ... we have something to present on this years LinuxEXPO, no but really ... bluetooth works on palmtt3. It's still in early stage and the init routine is still a bit unclear, but I somehow know how to turn it on and hciattach. This way I'd like to thank snua12 for his hardware hacking (desoldering dead palmtt3 board and also pointing out that there is a testpoint which gets high when BT is on) and for lending me his palmtt3 and kEdAR for giving us one dead palmtt3 to desolder it and trace the pins. It was easy to hook up wire to that pin and try which GPIO turns it on then. Read on ...

Here is what I think works (with kedars latest image, I was too lazy to build my own and kedars was enough ;D ):

ezx-gpiotool -R44;ezx-gpiotool -R45
# should return 44 1 45 0 or something like that, you need them both zero, use gpioed or gpioedng to set gpios

set TPS65010 GPIO4 low
set PXA GPIO45 high
set TPS65010 GPIO4 high
set PXA GPIO45 low

# now you should have GPIO 44 and 45 low (permutate the steps above somehow, to get to this state ... but for sure TPS GPIO4 has to be high in the end)

hciattach ttyS1 -s 115200 bcm2035

Voila, you'll be able to see a device called Bluez(0), for example like this
# hcitool scan
Scanning ...
00:00:00:00:00:00 BlueZ (0)

I managed to l2ping the device, so it seems to work, check the photo http://marex.hackndev.com/p1020393.jpg

UPDATE: bnep works ...
root@palm:~$ uname -a
Linux palm 2.6.21-hnd3-tt3 #42 PREEMPT Mon Sep 3 23:04:18 CEST 2007 armv5tel unknown
root@palm:~$ cat /proc/cpuinfo
Processor : XScale-PXA255 rev 6 (v5l)
BogoMIPS : 265.45
Features : swp half thumb fastmult edsp
CPU implementer : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x2d0
CPU revision : 6
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache format : Harvard
I size : 32768
I assoc : 32
I line length : 32
I sets : 32
D size : 32768
D assoc : 32
D line length : 32
D sets : 32

Hardware : Palm Tungsten T3
Revision : 0000
Serial : 0000000000000000
root@palm:~$ ifconfig
bnep0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:112 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12343 (12.0 KiB) TX bytes:12841 (12.5 KiB)

That are really great news.

That are really great news. But still not great enough to wake me up at 3.40am! :-E

;-)

;-)

What new info have you got

What new info have you got by tracing bcm pinouts that we didn't knew 10 months before?
Or there are any modifications?

http://www.handhelds.org/moin/moin.cgi/PalmTungstenT3Hardware

I can confirm it's

I can confirm it's working!

Marex: Good work

Andy: no, there was no new information, "only" software trace of GPIOs was done by Marex

okay, I've bricked my

okay, I've bricked my iPhone, so I was able to test BT on TT3. It works, good work Marex!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.