Author Topic: Working Tomtom Nav On Angstrom  (Read 163591 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #45 on: July 05, 2006, 11:28:55 am »
Quote
Quote
I am hoping to restart "zomtom" (the secret name I have just invented for zaurus-tomtom project).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134015\"][{POST_SNAPBACK}][/a][/div]

Oh goody, another 'only for zaurus and gcc 2.95.3 and qt/e from 5 years ago' project that would need a complete rewrite if you want to use it on another linux machine....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134016\"][{POST_SNAPBACK}][/a][/div]

actually, it would run a lot better on OZ because tomtom went kernel 2.6 a while back. When I get my Tosa working again, which is OZ/GPE, it'll be a lot easier because I shouldn't need a chroot'd environment to try and get the tomtom software working on a 2.4/cacko machine!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #46 on: July 24, 2006, 05:30:50 pm »
Quote
Quote
I am hoping to restart "zomtom" (the secret name I have just invented for zaurus-tomtom project).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134015\"][{POST_SNAPBACK}][/a][/div]

Oh goody, another 'only for zaurus and gcc 2.95.3 and qt/e from 5 years ago' project that would need a complete rewrite if you want to use it on another linux machine....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134016\"][{POST_SNAPBACK}][/a][/div]

p.s. there has been enough information in this thread for you to try it yourself - noone is stopping you from downloading the tomtom updates, ripping apart the ttsystem file using the opentom tools, and trying to get it running. so what's stopping you?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #47 on: July 24, 2006, 05:32:32 pm »
Quote
Of course, there's nothing to stop people emailing and asking TomTom whether they would consider a native Zaurus port of their software
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134015\"][{POST_SNAPBACK}][/a][/div]

I emailed tomtom about doing a port to OZ given that they are using kernel 2.6, and they eventually replied that they weren't planning to support another OS (although I *had* spelled it out to them that it was just a different flavour of linux and even the same kernel).
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #48 on: July 25, 2006, 08:08:01 am »
I have resumed work, now using OZ 3.5.4.1-beta-kernel-2.6 on my 6000. The good news is that I no longer need the nasty hacked chroot'd environment to handle the fact that TTG was built for kernel 2.6, causing library compatibility issues.

The first snag is that there's no longer a /dev/ts device (on kernel 2.4 there was a /dev/ts pipe).  Here's the output of the ttn command (note I am not running as root which breaks the close-down process but this is good otherwise it shuts down tosa completely!):

malloc_init: Never using mmap for malloc
Checking whether blueaclserver.a is running (bluetooth)
Executing [pidof 'blueaclserver.a' > /var/run/temp.txt]
#### RECEIVED SIGNAL 17 [errno 0, code 1]
#### Sent by process: pid 4487, uid 500
#### Exit status: 1, user time: 0, system time: 2
#### RESUMING
Error returned: 256
succeeded in opening /var/run/temp.txt
bluetooth_available = 0
Opening in MASTER mode
The framebuffer device was opened successfully.
InitScreen: 480x640, 16bpp - portrait - fake: 640x480
The framebuffer device was mapped to 0x40245000 successfully.
Error: Unable to open /dev/ts: No such file or directory
Unmounting SD Card...FAILED: No such file or directory
Unmounting flash...FAILED: No such file or directory
Powering off because hardware init failed

Forcefully unmounting /mnt/flash...FAILED: No such file or directory
Forcefully unmounting /mnt/sdcard...FAILED: No such file or directory
wd_set: WARNING: Attempt to set watchdog, but not opened yet!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Working Tomtom Nav On Angstrom
« Reply #49 on: July 27, 2006, 01:27:15 pm »
Which protocol does the tomtom software expect on /dev/ts?
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #50 on: July 28, 2006, 04:42:15 am »
Quote
Which protocol does the tomtom software expect on /dev/ts?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136625\"][{POST_SNAPBACK}][/a][/div]

I don't know... maybe you could look in their source code  

I'd have to ask on the opentom mailing list... at the moment the issue is moot 'cos although I've hacked in a link for /dev/ts, it bombs out due to missing things in /proc, which I will look into when I get time.
« Last Edit: December 23, 2008, 06:08:51 am by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

LukeLuke

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Working Tomtom Nav On Angstrom
« Reply #51 on: July 28, 2006, 04:47:53 am »
this tomtom that you using is replaced by a TOMTOM device or you are compiling the source ?

http://freshmeat.net/projects/ttlinux/

THANKS

Bye

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #52 on: July 28, 2006, 06:11:15 am »
Quote
this tomtom that you using is replaced by a TOMTOM device or you are compiling the source ?

http://freshmeat.net/projects/ttlinux/

THANKS

Bye
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I'm using an image extracted from a tomtom go 300, and am not using their kernel of course as it's running on a zaurus 6000 with the bera OZ 3.5.4.1 kernel 2.6.17.

also see [a href=\"http://www.opentom.org/Main_Page]http://www.opentom.org/Main_Page[/url] for info on dealing with TT system files.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

LukeLuke

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Working Tomtom Nav On Angstrom
« Reply #53 on: July 28, 2006, 06:40:41 am »
why not use the source ?

Bye

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Working Tomtom Nav On Angstrom
« Reply #54 on: July 28, 2006, 07:15:43 am »
Well what do you know, they provide the source code.

i was not expecting that
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Working Tomtom Nav On Angstrom
« Reply #55 on: July 28, 2006, 09:36:56 am »
Of course they need to provide the source, it's GPL. That goes for the modifications they did to GPL software like Linux, BlueZ etc. but _not_ for the navigation software. This is all closed. The real challenge is to make the closed stuff working on anything which is not a TTG. The source may help a bit to understand what userland is expecting from kernel space though.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Working Tomtom Nav On Angstrom
« Reply #56 on: July 29, 2006, 09:45:37 am »
But is this for the software or the kernel, from  what i gather from the pictures its the software however pictures can be deciving

if it is the user space apps then my comment stands otherwise i stated the obvious
« Last Edit: December 23, 2008, 06:09:33 am by speculatrix »
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Working Tomtom Nav On Angstrom
« Reply #57 on: July 29, 2006, 09:56:52 am »
Quote
But is this for the software or the kernel, from  what i gather from the pictures its the software however pictures can be deciving

if it is the user space apps then my comment stands otherwise i stated the obvious
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136841\"][{POST_SNAPBACK}][/a][/div]

It's only the kernel judging from a brief look at the unpacked tarball.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Working Tomtom Nav On Angstrom
« Reply #58 on: July 30, 2006, 08:51:32 am »
thats a shame, linux could really do with some good gps software

i did have an idea awhile back about having people submit gps travel logs from thier day to day activities and write a program to stich all the co'ords into a map.

the wierd thing was the code i thoght up for seperating roads from curves would have also been good for hand writing recignition and fingerprint reading
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Working Tomtom Nav On Angstrom
« Reply #59 on: September 30, 2006, 06:20:34 pm »
I appreciate it's been a while, folks, but I've been massively busy with building work at my house, and change of job, and my self-repaired 6000 has not been terribly robust, my lack of a working GO prevented exploration (I recently purchased a refurbed GO 500), so I was pretty much stalled.

Anyway, I have very good news on this project. Someone, who wants to remain anonymous for now, came forward and picked up the project using my initial results, and TomTom navigator now mostly runs on the Zaurus running OZ!

There's some aspects still not working, but I hope that some more tweaking and fixes will get it working.

Now, an interesting part of it is that, unlike say the Palm or WinCE version, that the device ID and thus the code for the maps is NOT built into the hardware, as I discovered when I took the sd card from the go 300 and put it into a go 500 and the maps work.

So, if anyone is pretty keen to get TTN on their Zaurus, you can prepare for it thus:
1/ to get a software and map license, buy any old TomTom GO or Classic device with the maps of your country (the old GO 300's are getting quite cheap on ebay)
2/ be willing to drop Cacko/Sharp and backup your machine to prepare to run kernel 2.6, which probably means running OZ or maybe pdaXrom?
3/ get a GPS receiver which will appear to the zaurus as a serial device
3a/ either a bluetooth one (in which case you'll need a 6000W, or an 7xx or 3xxx and a bluetooth adaptor) - /dev/rfcomm0
3b/ a serial one (I forget which 1xxx or 3xxx models don't have properly working serial ports) - /dev/ttyS0
3c/ a compact flash one - serial_cs serial port?
3d/ a USB one (need USB host such as 6000 or 1xxx or 3xxx) - /dev/ttyUSB

Can I hear the sound of eager Zaurians panting for more? I will see if I can get some screenshots.

Now, the point of this exercise is to try and persuade TomTom that to release a Zaurus version since it would be virtually zero effort for them!

Paul
p.s. pics of the inside of a TomTom GO 300 at http://www.zaurus.org.uk/opentom
« Last Edit: September 30, 2006, 06:30:29 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.