my wife bought me a TomTom GO 300, and I discovered that it runs linux when I, naturally, googled to see what hacks had been done. I was quite surprised to find it ran linux.
interestingly, TT originally used 2.4.18 but now 2.6.10.
they provide useful downloads and all the patches for the kernel, so those with a particular predilection for low-level hackery might find that page interesting or useful.... especially if it'd be possible to use TT's bluetooth hands-free system.
all we need now is to hack a GPS receiver into our Zauruses along with wifi and bluetooth, and we've got it made!
oh yeah, there's an OpenTom project too: http://www.opentom.org/index.php/Main_Page (http://www.opentom.org/index.php/Main_Page)
Title: Working Tomtom Nav On Angstrom
Post by: loc4me on December 28, 2005, 10:21:41 pm
That is pretty neat. I am thinking of getting one for my girlfriend who just moved out of state.
what hacks did you find? Anything worth while? Do you think that the 500 price is worth it over the 300? In the USA we only have an option of the 700 or the 300 though. What do you think of the 300 vs 700?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on December 29, 2005, 05:38:34 am
Quote
That is pretty neat. I am thinking of getting one for my girlfriend who just moved out of state.
what hacks did you find? Anything worth while? Do you think that the 500 price is worth it over the 300? In the USA we only have an option of the 700 or the 300 though. What do you think of the 300 vs 700? [div align=\"right\"][a href=\"index.php?act=findpost&pid=108732\"][{POST_SNAPBACK}][/a][/div]
so far I've not found anything detailed apart from the OpenTom in terms of hacks.
the TT500 has a faster CPU, and a microphone, and will act as a hands-free bluetooth kit for your mobile phone. The TT700 has an internal hard drive, losing the SD card slot.
the TT300 is basically, out of the box, an appliance, and isn't much of a toy - it doesn't have any trickery, it's purely for getting you from A to B.
For example, I used to have a Garmin GPS-III+ (3+), and the TT300 is a very different beast:
What I gained: * tt300 has route planning and dynamically recalculates the route if you make a wrong turn * tt300 does turn-by-turn directions with different voices (you can record your own) * tt300 has city/road search * tt300 can download information via a bluetooth conn to a mobile phone's GPRS link
What I lost: * the garmin had track-back (breadcrumbs) * the garmin had multiple savable routes * garmin had much more analysis - average speed, altitude, sunrise & sunset at location or destination, fuel calculator
What I really really would like: * NMEA over bluetooth - the TT300 won't behave like a serial device over rfcomm so I can't use it with my Zaurus SL-6000 for war driving. I have read that it will do it over USB but I haven't gotten that far.
So, I am tempted to see if I could take my TT300 back to try and upgrade it to a TT500 (the price differential plummeted in the January sales), and hope that it offered NMEA over rfcomm, and I would find the hands-free kit v useful.
Paul
Title: Working Tomtom Nav On Angstrom
Post by: loc4me on December 29, 2005, 11:49:58 am
Thanks for the info. That is kinda what i have read, that the TomTom is an excelent plug and go device but it lacks some advanced features that other have.
I would like one but i think i would enjoy messing around with the advanced features. I will probably wait for a newer model. If you find any cool hacks let us know.
Title: Working Tomtom Nav On Angstrom
Post by: Mickeyl on December 30, 2005, 07:41:02 am
The TomTom guys did some good things to bluez and the kernel to improve bluetooth reliability. It would be good if someone had the time to could glance over these changes and - if applicable - send some of them upstream.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 01, 2006, 08:37:52 am
Update.
I haven't checked it carefully yet, but the TTG300 takes a 5V 2A power supply, if it's regulated it'd be nice because it'd mean being able to use their car power adaptor to recharge the Z.
I mailed the opentom people about SD card drivers, and it looks like there's "gold in them thar downloads".
Firstly, the SD card driver in the kernel supports >1GB cards (4GB have been tested).
Secondly, the TT driver is listed as opensource, they said "strings" reveals this: "author=Koen Martens <kmartens@sonologic.nl>, Jeroen taverne <jeroen.taverne@tomtom.com>, Dimitry Andric <dimitry.andric@tomtom.com> description=TomTom GO Storage Device Driver license=GPL vermagic=2.6.10-tt1008 ARMv4 gcc-3.3"
Thirdly, The OpenTom guy's driver works very reliably but is not too quick, but they reckon to have a DMA version *soon* which should support 6+ MB/s.
And finally they're (opentom) might be interested in providing help to support porting it to the Zaurus.
Great news for the start of a new year,
Paul
Title: Working Tomtom Nav On Angstrom
Post by: loc4me on January 01, 2006, 01:25:13 pm
Quote
Update.
And finally they're quite interested in providing help to support porting it to the Zaurus.
Great news for the start of a new year,
Paul [div align=\"right\"][a href=\"index.php?act=findpost&pid=109094\"][{POST_SNAPBACK}][/a][/div]
That would be great. Maybe this should be moved to a new Topic after this post. Paul, you should give the guys links to the forums so they can communicate with alll the knowledgeable people on here. I am sure there are many people on here who could aslo help with porting the SD driver to the zaurus.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 04, 2006, 08:00:15 am
I got this message off the opentom mailing list from Thomas Kleffel:
Hi,
ok, I think i need to clear up the SD-Card confusion a bit. There are currently 3 different SD card drivers there.
1) the early binary driver from TomTom (sd.o). Even if it is listed as GPL, it is not availabla as source. This is not TomTom's fault. TomTom signed a contract with the SD card driver association that forbids them to disclose their oh-so-secret intelectual property...
2) the early OpenTom driver. This is a hack I did about a year ago when driver #1 was only available for 2.4. I hacked SD-Card support into the MMC framework. This was only a quick hack, but however the 2.6.14-SD-Card support is somewhat based on it.
3) the new OpenTom/TomTom driver. I was paid by TomTom to develop a new open source SD card driver. It modifies the current MMC framework and is pretty stable and fast (6-8 MB/s). It is a clean implementation as I didn't sign anything with those SD-Card people. It is almost finished and will be available "really soon" .
So, what do those drivers do?
1) stable, a bit slow, closed source, no 2GB cards 2) stable, really slow, open source, no 2GB cards 3) stable, really fast, open source, 2GB cards - but not yet available
I will talk to Christian about getting my hands on a Zaurus.
Best regards,
Thomas
Title: Working Tomtom Nav On Angstrom
Post by: albertr on January 04, 2006, 08:26:48 am
That's great news, indeed! Good to hear that TomTom actually paid the guy to develop an open-source SD driver. Way to go, TomTom. -albertr
Title: Working Tomtom Nav On Angstrom
Post by: albertr on January 04, 2006, 08:29:27 am
speculatrix,
Just curious if it would be possible to run the navigation software from TomTom on the Zaurus? What GIU is used on TomTom GO? -albertr
Title: Working Tomtom Nav On Angstrom
Post by: loc4me on January 04, 2006, 10:19:26 pm
Quote
speculatrix,
Just curious if it would be possible to run the navigation software from TomTom on the Zaurus? What GIU is used on TomTom GO? -albertr [div align=\"right\"][a href=\"index.php?act=findpost&pid=109493\"][{POST_SNAPBACK}][/a][/div]
Also what about the bluetooth connection? Can a link be established over that to the TomTom?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 05, 2006, 02:50:40 am
Quote
Also what about the bluetooth connection? Can a link be established over that to the
the BT connection, on the 300 at least, is one-way - outbound from the TT over a mobile phone.
opentom *can* allow bluetooth rfcomm to get NMEA data from the GPS - I asked specifically, and of course, you just have to write your own trivial rfcomm listener and "connect" it to the GPS receiver's tty.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 05, 2006, 02:55:03 am
Quote
Just curious if it would be possible to run the navigation software from TomTom on the Zaurus? What GIU is used on TomTom GO? [div align=\"right\"][a href=\"index.php?act=findpost&pid=109493\"][{POST_SNAPBACK}][/a][/div]
I don't know, I haven't got anything like as deep as that as yet.
There's no evidence to suggest its QT based, but if they paid a full license to Trolltech they wouldn't have to disclose any part of that.
Agreed that it would be a very interesting proposition to run TT software on a Zaurus, it would be a massive boost if so.
The TT, when connected to the PC for updates, installing maps etc, simply presents itself as usb mass storage. As I understand it, the built-in firmware in the TT is a boot loader and simply loads all the operating software from SD - it will not operate without an SD card.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 05, 2006, 12:37:58 pm
you can download the update image for the TomTom GO products here: http://www.tomtom.com/support/index.php?FID=1750 (http://www.tomtom.com/support/index.php?FID=1750)
note that you need windows to unpack the program (run setup.exe), you then find a file called ttsystem.
=== edit ===
d'oh, I didn't google hard enough... here's the description of the format:
I've asked if someone's written a tool to split this into component parts, so that we can have a poke through the system software and see how it works.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 05, 2006, 05:49:37 pm
yup... there's a program to do it: http://svn.opentom.org/opentom/trunk/ttimg.../ttimgextract.c (http://svn.opentom.org/opentom/trunk/ttimgextract/ttimgextract.c)
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 05, 2006, 05:54:17 pm
I note that the only kernel module is the sd.ko file for 2.6.10.
hmmm. I wonder if there are any OZ people with 2.6 kernel who'd be interested.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 10, 2006, 06:08:34 pm
Quote
Just curious if it would be possible to run the navigation software from TomTom on the Zaurus? What GIU is used on TomTom GO? [div align=\"right\"][a href=\"index.php?act=findpost&pid=109493\"][{POST_SNAPBACK}][/a][/div]
in a small way there's good news... TomTom have their own custom library and write to the frame buffer - so there's no QT, X11 or anything at all! There's a "hello world" application on the opentom website. I'm going to copy the tomtom programs to my 860 and see what happens.
I tried the opentom media player image, but unfortunately it simply produces white noise, so the kernel they made must have a sound driver incompatible with the TTG300. I tried a hybrid image using the kernel from the tomtom distribution with the filesystem from the media player, and although it booted it got no further. I'd have to make a serial cable to go any further.
all in all, its an interesting challenge. unlike the Z there's little chance of bricking it, since the bootloader is in ROM, and the system is all on SD card and loaded when the device starts up. this does mean there's not much room though! The opentom people have the intention of providing a "serial" console over rfcomm, which would be quite useful.
Hopefully there will be news soon of a decent SD card driver.
I reckon the OZ people would have a head start on this, given I'm a sharp/cacko person so am stuck in the dark ages of 2.4 kernels :-)
Title: Working Tomtom Nav On Angstrom
Post by: gab74 on January 16, 2006, 02:39:28 pm
i've a C3100 with Cacko ROM. I'm very interested in TOM TOM for Zaurus so even if i'm a system admin i can help as a tester. If you want to test contact me i'm very glad to help Tom Tom on Zaurus.
Title: Working Tomtom Nav On Angstrom
Post by: Mickeyl on January 22, 2006, 07:06:57 pm
Quote
I note that the only kernel module is the sd.ko file for 2.6.10. hmmm. I wonder if there are any OZ people with 2.6 kernel who'd be interested.
We have SD/MMC working perfectly on 2.6.15 (all models except the collie of course).
Thanks for the pointer anyway!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 23, 2006, 03:03:01 am
Quote
Quote
I note that the only kernel module is the sd.ko file for 2.6.10. hmmm. I wonder if there are any OZ people with 2.6 kernel who'd be interested.
We have SD/MMC working perfectly on 2.6.15 (all models except the collie of course).
Thanks for the pointer anyway! [div align=\"right\"][a href=\"index.php?act=findpost&pid=111994\"][{POST_SNAPBACK}][/a][/div]
Is that using the SD driver that's in the regular linux 2.6 distro? The tomtom guys already had that but they say it's not that quick, they aim to have a really high speed one.
I'm going to give the latest OZ a try-out as soon as I've got time... it seems to be getting pretty advanced these days, and hopefully will be as stable as I need!
Title: Working Tomtom Nav On Angstrom
Post by: chiark on January 23, 2006, 05:05:27 am
Sorry for the daft question, but does this mean it is likely/possible that TomTom will be able to run on the Zaurus?
If so... Wow.
I currently use TomTom on my HTC Wizard, and the Z's screen would be better for in car use.
Anyone fancy starting a project to co-ordinate efforts on this?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 23, 2006, 07:28:10 am
I had a go at getting tomtom nav to run on my 860; once I got the right libraries on it, it tried to start up but couldn't find the bluetooth server daemons it needed; I got one to start but failed with the other... and then I ran out of time.
So, I suspect it will be possible with a lot of hackery, but it will probably run in 320x240 mode!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 29, 2006, 06:06:46 pm
I've not had time to do much with this, as I am putting all my energy into looking for a new job, something I didn't expect to have to do :-(
Title: Working Tomtom Nav On Angstrom
Post by: chiark on January 30, 2006, 04:08:35 am
Sorry to hear that . At least there seems to be a fair bit around in the Cambridge area, particularly if you're looking for work in the embedded sector which might suit you?
Thanks for the WIKI, that's a great help. I might try to have a play, but as always I'm busy with other things: for starters, this bathroom that I've now ripped out isn't going to magically fit itself unfortunately
Good luck with the job hunting.
Title: Working Tomtom Nav On Angstrom
Post by: DrWowe on January 30, 2006, 03:53:41 pm
Quote
We have SD/MMC working perfectly on 2.6.15 (all models except the collie of course).
Does this include support for the latest SD and MMCplus cards >= 2 gigs?
I tried a fresh bitbake build (using linux-openzaurus-2.6.14+2.6.15-rc7-r2) a few weeks ago and neither worked then.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 08, 2006, 05:23:02 pm
Life has been "interesting" as of late... but I've made the effort to get back into looking at tomtom navigator (TTN) running on zaurus.
The first step was to take the ttsystem file and split it, using the tools from opentom, and then copy the files into /home/tomtom. TTN uses busybox for many command, but uses a different libc. After briefly trying various tricks with LD_LIBRARY_PATH etc, I was unable to run the commands, so I resorted to "chroot /home/tomtom bin/sh", which gave me a working shell.
The TTN linux distro runs a command called "ttn", which does all the work; it's this program that the early OpenTom programs replaced. Incidentally, OpenTom is coming along very well, even managing to allow you to "dual boot" their media player and TT's navigation s/w, and maybe even switch from one to other. Anyway, I digress.
The first attempt to run the ttn binary caused a spew of errors, and then it killed the Z stone dead; at first I panicked as it wouldn't turn on again, but unplugging from USB and pulling the battery sorted that.
I started fixing the errors reported to console (luckily for us, TT tell us all sorts of useful things). Most of them were missing devices, so I copied them over from the Z and added links (TTN wants framebuffer device as /dev/fb for example).
I then removed reboot and other "dangerous" commands, replacing with a script to indicate they were called. Didn't stop ttn killing the Z dead!
"strings ttn" reveals some very interesting tricks to make ttn completely self-sustained - dialling scripts and all sorts.
I was able to copy a few useful Z commands to the TTN image, such as "ldd" to see what it was doing.
So far, I've gotten ttn to open the framebuffer and the touchscreen, and next I need to spoof the sdcard!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 08, 2006, 05:42:25 pm
I should add that ttn barely opens the framebuffer and touchscreen before it crashes
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 08, 2006, 06:36:12 pm
ha! copied across tinylogin + the softlink to "su", and now when I run ttn it doesn't kill the Z. Snag is, it reports a lot of critical things not found, and I have no clue how to create replacements... I shall have to see if I get a shell into my TTG300 and then I can see what the missing devices and /proc files look like. I tried creating dummies but it doesn't like it too much!
# chroot /home/tomtom bin/sh
BusyBox v1.00 (2004.12.03-11:19+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.
\[\033]2;\w\007\]\$ su - zaurus
BusyBox v1.00 (2004.12.03-11:19+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.
$ cd / $ bin/ttn 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 984, uid 500 #### Exit status: 1, user time: 1, system time: 1 #### 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 0x40255000 successfully. Initialized touchscreen Warning: Unable to open /dev/remote: No such file or directory GetProcInt: Unable to read value from /proc/barcelona/sdcard Adding signal handler for SD hot swapping sdhotswap_Init: ERROR: /dev/sdcard could not be opened: Permission denied GetProcInt: Unable to read value from /proc/barcelona/modelid Error -9000 Unmounting SD Card...FAILED: Invalid argument Unmounting flash...FAILED: Invalid argument Powering off because the game frame couldn't be initialized Forcefully unmounting /mnt/flash...FAILED: Invalid argument Forcefully unmounting /mnt/sdcard...FAILED: Invalid argument wd_set: WARNING: Attempt to set watchdog, but not opened yet! $
Title: Working Tomtom Nav On Angstrom
Post by: tovarish on March 09, 2006, 03:26:45 am
wow but you are indeed making progress. why dont you apply with tomtom in the netherlands, they are looking for people
lack of mapping applications are the only serious drawback to me for the zaurus.
Title: Working Tomtom Nav On Angstrom
Post by: ltrm on March 09, 2006, 01:11:17 pm
This really is exciting! I agree with Tovarish, a good GPS application would be a killer app (for me anyway )
Have you thought about adding a link to your page for sponcership? I think that this is a really worth while project and would support it. Its probably fairly unlikely but you could even point out the size of the Japanese Z market to TomTom and see if they'd also sponcer you....
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 09, 2006, 01:39:29 pm
Quote
This really is exciting! I agree with Tovarish, a good GPS application would be a killer app (for me anyway )
Have you thought about adding a link to your page for sponcership? I think that this is a really worth while project and would support it. Its probably fairly unlikely but you could even point out the size of the Japanese Z market to TomTom and see if they'd also sponcer you.... [div align=\"right\"][a href=\"index.php?act=findpost&pid=117791\"][{POST_SNAPBACK}][/a][/div]
The snag here is that I am treading a thin line with TT's s/w rights... because I own a GO 300 I figure that I am simply seeking to allow me to run the software on an alternative device.
As I understand it, the maps and stuff are all locked to the device hardware (it tries to read a specific section of flash to get the device ID), possibly even encrypted using a key unique to the device. Now, I am created "look-alike" devices/files which will make the ttn think it's running on a GO 300, *but* it will be running on a copy of *my* device. If I then released a file system dump, it'd mean everyone would be using my license key which would be a Bad Thing.
If I get it running, I can tell people how to do it, and if they have a GO, they can use their own licenses! And if they want to donate a beer, that's fine.
If I can turn round to TT and say "look, it's really easy, why not release it for the Zaurus, it will run with very little modification", then maybe they will - if enough Z users ask! Maybe we should ask them anyway - or maybe there's no way they could lock it down? Does each Z have a unique ID somehow? From vague memory, the Picsel browser is somehow locked to the memory card they supply it on?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 09, 2006, 01:42:52 pm
p.s. there's also the matter of time, which I am short of, and getting help from the OpenTom people as they can tell me more about the "missing" devices and /proc entries which ttn is looking for. I'm currently waiting for an answer on this.
if there's anyone out there with a TomTom GO, who is interested, join in the discussion.
Title: Working Tomtom Nav On Angstrom
Post by: ltrm on March 09, 2006, 05:47:30 pm
Quote
The snag here is that I am treading a thin line with TT's s/w rights... because I own a GO 300 I figure that I am simply seeking to allow me to run the software on an alternative device.
As I understand it, the maps and stuff are all locked to the device hardware (it tries to read a specific section of flash to get the device ID), possibly even encrypted using a key unique to the device. Now, I am created "look-alike" devices/files which will make the ttn think it's running on a GO 300, *but* it will be running on a copy of *my* device. If I then released a file system dump, it'd mean everyone would be using my license key which would be a Bad Thing.
I thought that something like this might be the case. The best scenario for me would be if the Z did have something (processor id?) that could be used as a key so that I could just buy the closed source map data from TT and use it with the open source software. I fully understand TT wanting to keep control of that.
Since they do sell software only packages for other platforms I guess there is an outside chance they might go for just selling the maps, unsupported, on SD if they could still DRM it somehow.
As for time scales, I'm not too fussy about that. Just knowing it was possible would be enough for me to start pestering TT
Failing getting a legal working copy on my 860, I think that I'm going to have to get a symbian phone and run GPS software on there. Seems like a shame to miss out on the Zaurus screen though....
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 14, 2006, 06:20:44 pm
Quote
p.s. there's also the matter of time, which I am short of, and getting help from the OpenTom people as they can tell me more about the "missing" devices and /proc entries which ttn is looking for. I'm currently waiting for an answer on this.
if there's anyone out there with a TomTom GO, who is interested, join in the discussion. [div align=\"right\"][a href=\"index.php?act=findpost&pid=117796\"][{POST_SNAPBACK}][/a][/div]
well, only one person came back to me from the opentom lists and it was a bit vague.. perhaps noone's tried exploring the default TT linux environment.
so, after a lot of head scratching, I've been having an interesting* time with bluetooth. I now have a quick and dirty hack script which listens for an rfcomm serial connection and provides an interactive terminal on it. This will allow me to connect to the TTG and run a few commands and hopefully determine what the special devices and proc files are for. "All" I've got to do is roll my own TTG 300 boot image!
Hopefully, these special files are going to have obvious meanings (hmm, I guess I should put "od" or something into my boot image so I can make a hex dump if necessary!).
*bluetooth commands on linux have a particular nasty failure mode - they usually just ignore what you entered rather than reporting an error... try "hcitool scan" then "sdptool scan" instead of "sdptool browse" by mistake for example.
Title: Working Tomtom Nav On Angstrom
Post by: Tarquin on March 24, 2006, 10:31:49 am
Before I start getting too excited about this, is there any chance of it running on an SL5500? I have been looking for a mapping system for the UK, and this seems like a great idea...
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 28, 2006, 12:58:56 am
Quote
Before I start getting too excited about this, is there any chance of it running on an SL5500? I have been looking for a mapping system for the UK, and this seems like a great idea... [div align=\"right\"][a href=\"index.php?act=findpost&pid=120095\"][{POST_SNAPBACK}][/a][/div]
I would say there's a reasonable chance of running on an SL5500 - the TTG is only QVGA display, and has (IIRC) the same memory size or even less than the 5500. So long as you have a serial GPS (which appears as a /dev/ serial device) and a 128MB memory card for storing maps etc, I can't see why not.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 28, 2006, 01:00:51 am
BTW, there was recently a positive step on Opentom, someone started documenting the special devices in OT's /proc and /dev filesystems... I expect to have the next experimentation session soon!
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on March 29, 2006, 09:12:20 pm
At the moment i have a copy of the SD_Pysical_Spec (siplified version) and the SD_SDIO spec (siplified version) if any one is intrested, they were free to download off the sandisk website but have scince been removed
contact me if you want a copy
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on April 10, 2006, 09:47:54 am
this update has been a long time coming... having spent a lot of time flying or in airports recently, I was able to apply a succession of nasty hacks to my chrooted environment, and am sad to say it's mixed news.
Luckily, TomTom's binary spits out useful info as it starts up, so I was able to incrementally fix or kludge things to get ever further: I was able to fool ttn into finding the remote control, think the right things were mounted, finding the right devices, think it was running on real tomtom hardware.
I am now officially stuck... and would welcome any guesses...
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 11193, 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 0x40255000 successfully. Initialized touchscreen Initialized remote control Error -9000 Unmounting SD Card...FAILED: Invalid argument Unmounting flash...FAILED: Invalid argument Powering off because the game frame couldn't be initialized Forcefully unmounting /mnt/flash...FAILED: Invalid argument Forcefully unmounting /mnt/sdcard...FAILED: Invalid argument wd_set: WARNING: Attempt to set watchdog, but not opened yet!
googling for "game frame" hasn't helped at all :-( next step is to play with strace and/or gdb to see what it was trying to do before it barfed.
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on April 15, 2006, 12:05:54 am
I would say that perhaps it has some stuff to do with ioctl on the Frame buffer device that isnt working, game frame could only be the frame buffer in my opinion, peerhaps check the source for modification?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on April 17, 2006, 06:10:50 pm
strace has worked its magic and I found that the errors I was getting were from the system shutting down... so, armed with trace I was able to fix more and more things.
it now gets a long way through - opening the maps, opening the gps devices, but then segfaults with address 0xfffffffff (dunno how many 'f's)... spitting out a simple backtrace.
Now, I created fake /dev/ and /dev/gps devices by linking to ttyS1, as was the /dev/watchdog device, and the seggy triggers just after writing null bytes to /dev/watchdog (but there is clearly a lot going on here in the ttn binary, so I am guessing that writing to devices isn't the answer).
so, I am again stalled. My next step will have to be to use a debugging to run the code and see what happened. I might post here the strace output and the normal stdout/stderr output for people to see just how far its getting.
hmm. I just wondered if perhaps the fact I am using junk values for things like device ID might cause the map data decryption routines to barf.
I really need now to create my own ttsystem file with a bluetooth login hack so I can be sure my dummy dev & proc files are "real" rather than junk.
tuned for another thrilling episode another time!
Paul
Title: Working Tomtom Nav On Angstrom
Post by: Mickeyl on April 17, 2006, 06:17:40 pm
Exciting stuff, thanks for keeping us posted!
Title: Working Tomtom Nav On Angstrom
Post by: scoutme on July 05, 2006, 10:27:44 am
what's the actual status at this time?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on July 05, 2006, 10:40:16 am
I had to sell my 860, so I had to start again with my 6000 but it got broken during an abortive upgrade attempt. Once I've got my 6000 working again I am hoping to restart "zomtom" (the secret name I have just invented for zaurus-tomtom project). If you're wondering what I did to my 6000 just follow link in my .sig.
I guess although many people were interested, noone has a tomtom themselves and thus they don't have any "moral" right to extract data from their tomtoms and try and run it on the Z otherwise they'd have been trying to help, right?
Of course, there's nothing to stop people emailing and asking TomTom whether they would consider a native Zaurus port of their software
Title: Working Tomtom Nav On Angstrom
Post by: koen on July 05, 2006, 10:46:07 am
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....
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix 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!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix 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?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix 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).
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix 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!
Title: Working Tomtom Nav On Angstrom
Post by: Mickeyl on July 27, 2006, 01:27:15 pm
Which protocol does the tomtom software expect on /dev/ts?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix 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.
Title: Working Tomtom Nav On Angstrom
Post by: LukeLuke 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 ?
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.
Title: Working Tomtom Nav On Angstrom
Post by: LukeLuke on July 28, 2006, 06:40:41 am
why not use the source ?
Bye
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on July 28, 2006, 07:15:43 am
Well what do you know, they provide the source code.
i was not expecting that
Title: Working Tomtom Nav On Angstrom
Post by: Mickeyl 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.
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz 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
Title: Working Tomtom Nav On Angstrom
Post by: koen 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.
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz 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
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix 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 (http://www.zaurus.org.uk/opentom)
Title: Working Tomtom Nav On Angstrom
Post by: offthefront on October 02, 2006, 07:01:23 am
Quote
and TomTom navigator now mostly runs on the Zaurus running OZ!
That's great news. Thanks Paul (and masked hacker ) I've been following this with interest, although haven't been able to spare any time to help so far.
How hard is it to get what is needed from a 300? Would I be able to buy a broken one cheap and copy what's need from there.
Sue
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 02, 2006, 08:53:27 am
Quote
Quote
and TomTom navigator now mostly runs on the Zaurus running OZ!
How hard is it to get what is needed from a 300? Would I be able to buy a broken one cheap and copy what's need from there. [div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=142830\")
You might need the product code which is on a busines-card sized plasticised sheet of paper, it's a set of letters and numbers. If needed you have to put it into [a href=\"http://www.ttcode.com]http://www.ttcode.com[/url] along with the device code (found through one of the menus when running tomtom on zaurus), and it'll give you the activation code to put into the Z.
Basically, you simply take the files from the SD card on the 300 and put them on the zaurus EXCEPT for the file called "ttsystem". The SD card contains maps and bulk data, the ttsystem file contains linux.
I think I explained before, and there is lots of info on the www.opentom.org website, but ttsystem is a special file consisting of a combined vmlinuz and initrd file, for which a small C is used available on opentom website.
*very* briefly, You loopback mount the initrd, and copy that into your /home/tomtom directory. You'll have to change the mount point for the sd card to /home/tomtom/mnt/sdcard (you can always umount the standard one and mount it manually at that position)... then chroot into /home/tomtom then run ttn.
when things work better I'll do a proper write-up.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 02, 2006, 05:23:57 pm
photo added to http://www.zaurus.org.uk/opentom/index.html (http://www.zaurus.org.uk/opentom/index.html)
Title: Working Tomtom Nav On Angstrom
Post by: Lurker on October 02, 2006, 07:16:43 pm
Awesome! ::drooooooooool::
Will any map card work with any TomTom unit, no matter the region?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 03, 2006, 07:12:38 am
Quote
Will any map card work with any TomTom unit, no matter the region? [div align=\"right\"][a href=\"index.php?act=findpost&pid=142902\"][{POST_SNAPBACK}][/a][/div]
provided you have the product code for it.
Be warned that most tomtom stuff on ebay is pirated or dodgy, and not in a subtle way, so much so I'm amazed that TomTom haven't sued the arse off ebay for not doing something about it!
From what I've read, once a product has been activated and assigned to a device identity, it can be very difficult to reassign it to another one - I don't know how many times you can do it, so if you buy second hand map card/disks the product code might no longer be valid and switchable to your zaurus. HOWEVER, you can change your Z's device ID, so if you do have the product code, device ID and activation code you should be OK.
I did have the traffic speed camera add-on for my non-broken go 300, and I was able to switch it to my newer go 500, and it works.
the license for the maps make up a significant cost for TomTom, so morally it's important to use a legitimate source!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 03, 2006, 05:11:19 pm
Quote
Just curious if it would be possible to run the navigation software from TomTom on the Zaurus? What GIU is used on TomTom GO? -albertr [div align=\"right\"][a href=\"index.php?act=findpost&pid=109493\"][{POST_SNAPBACK}][/a][/div]
it appears that tomtom don't use any standard GUI but have their own drawing libraries and write direct to framebuffer. your kernel and fb driver need to be able to switch to 320x240 otherwise it crashes - this seems to be what was stopped me.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 06, 2006, 10:41:56 am
video on youtube of the Z running ttn in demo mode (http://www.youtube.com/watch?v=cW5-32_aL3A)
-- edit: deleted invalid forum html code
Title: Working Tomtom Nav On Angstrom
Post by: harvell on October 06, 2006, 11:09:34 am
Nice... does it talk to you?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 06, 2006, 05:27:47 pm
Quote
Nice... does it talk to you? [div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=143327\")
Sadly, sound is still in progress.
BTW, I came across the tomtom SDK on sale for $200! [a href=\"http://www.handango.com/PlatformProductDetail.jsp?siteId=1&jid=94X6XE2ABF3299E3AF196A4A6477C3A2&platformId=9&N=96805&productId=187644&R=187644]http://www.handango.com/PlatformProductDet...187644&R=187644[/url]
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 17, 2006, 11:30:22 am
Things are definitely getting a bit hotter with TomTom on linux devices. Another person has managed to run TTN on a Navman iCN 330, which is an interesting thing to do given that it's a GPS navigation device from a different company and with their own OS but successfully runs linux now!
The last big breakthrough is yet to come, sound, but hopefully the two geniuses working on it (not me!) will crack it.
Title: Working Tomtom Nav On Angstrom
Post by: xamindar on October 17, 2006, 12:08:31 pm
Wow, cool. So what are the requirements to get this working? Buy a tomtom device to get the software and run openzaurus?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 17, 2006, 12:42:25 pm
I have permission to publish the website of the linux-on-navman site, there's nothing about TTN on it *yet*. http://www.duff.dk/navman/ (http://www.duff.dk/navman/)
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 17, 2006, 12:52:39 pm
Quote
Wow, cool. So what are the requirements to get this working? Buy a tomtom device to get the software and run openzaurus? [div align=\"right\"][a href=\"index.php?act=findpost&pid=144189\"][{POST_SNAPBACK}][/a][/div]
As far as I can see in order to be honest, buy any tomtom device (broken or working) which comes with the product code and device ID, and then www.ttcode.com will give you the map activation code. The software itself does not seem to be device locked. Put the tt files and the maps onto the Zaurus running OZ (although pdaXrom would probably work too provided its kernel 2.6 and gcc3), set up the appropriate chroot'd environment, and then when you run it, enter the activation code for the map. You will need to edit the sysfile/ID file to put in the device ID.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 17, 2006, 12:54:16 pm
I see that the Nokia 770 tablet is going to have a GPS Nav package soon: http://www.linuxdevices.com/news/NS2397078895.html (http://www.linuxdevices.com/news/NS2397078895.html)
maybe TomTom will follow suit?
Title: Working Tomtom Nav On Angstrom
Post by: koen on October 17, 2006, 12:55:55 pm
Quote
although pdaXrom would probably work too provided its kernel 2.6 and gcc3 [div align=\"right\"][a href=\"index.php?act=findpost&pid=144193\"][{POST_SNAPBACK}][/a][/div]
I wouldn't due to softfloat differences
Title: Working Tomtom Nav On Angstrom
Post by: koen on October 17, 2006, 01:14:05 pm
Quote
I have permission to publish the website of the linux-on-navman site, there's nothing about TTN on it *yet*. http://www.duff.dk/navman/ (http://www.duff.dk/navman/) [div align=\"right\"][a href=\"index.php?act=findpost&pid=144192\"][{POST_SNAPBACK}][/a][/div]
it has OE support as well now (took me like 20 seconds)
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 17, 2006, 01:23:10 pm
Quote
Quote
I have permission to publish the website of the linux-on-navman site, there's nothing about TTN on it *yet*. http://www.duff.dk/navman/ (http://www.duff.dk/navman/) [div align=\"right\"][a href=\"index.php?act=findpost&pid=144192\"][{POST_SNAPBACK}][/a][/div]
it has OE support as well now (took me like 20 seconds) [div align=\"right\"][a href=\"index.php?act=findpost&pid=144201\"][{POST_SNAPBACK}][/a][/div]
do you have a one of these devices yourself?
Title: Working Tomtom Nav On Angstrom
Post by: koen on October 17, 2006, 01:41:36 pm
Quote
Quote
Quote
I have permission to publish the website of the linux-on-navman site, there's nothing about TTN on it *yet*. http://www.duff.dk/navman/ (http://www.duff.dk/navman/) [div align=\"right\"][a href=\"index.php?act=findpost&pid=144192\"][{POST_SNAPBACK}][/a][/div]
it has OE support as well now (took me like 20 seconds) [div align=\"right\"][a href=\"index.php?act=findpost&pid=144201\"][{POST_SNAPBACK}][/a][/div]
do you have a one of these devices yourself? [div align=\"right\"][a href=\"index.php?act=findpost&pid=144202\"][{POST_SNAPBACK}][/a][/div]
I haven't, but I might buy one since I would like to have a device that can log gpx tracks for me. Right now a 770 + bluetooth gps does the job for me
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 17, 2006, 04:18:11 pm
Quote
I haven't, but I might buy one since I would like to have a device that can log gpx tracks for me. Right now a 770 + bluetooth gps does the job for me [div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=144205\")
there's a really excellent logger that you simply install on a tomtom go's SD card and it provides GPX track logs (can import into google earth), add POIs etc. [a href=\"http://web.tiscali.it/macri/Event_Logger/]http://web.tiscali.it/macri/Event_Logger/[/url] You could almost certainly port it to 770+GPS combo.
Title: Working Tomtom Nav On Angstrom
Post by: koen on October 17, 2006, 04:59:17 pm
If you have gpsd you can have a much lighter solutions:
#!/usr/bin/awk -f BEGIN { printf("\n\n\t\n\t\t"); } { printf("\t\t\t\n\t\t\t\t\n\t\t\t\t%s\n\t\t\t\n",$1,$2,$4,$3); } END { printf("\t\t\n\t\n\n"); } That should give you a valid gpx file
Title: Working Tomtom Nav On Angstrom
Post by: zaurick on November 03, 2006, 04:03:09 pm
I'm searching people who can help me to port the tomtom sound driver module to zaurus.
We have sources of tomtom original driver ,they use the WM8711 soundchip and we use the WM8750 (on SLC3000) (they must not be too different).
I have tried to get all syscall from ttn about the sound, but i can't use them to output sound trough /dev/dsp.
I think that the solution is to write a kernel module driver to have the tomtom sound on zaurus, but i don't know how to do that.
Current state is : - Display of ttn on SLC3000 OK - Touchscreen is OK - GPS via any serial gps device is OK - Planning route is OK
Config: - SL-C3000 - OZ3541 - Update kernel with QVGA mode - USB host cable - Bluetooth D-LINK DBT-120 dongle.(i'm going to try a CF bluetooth card) - A GPS bluetooth receiver from ebay.
Zomtom is already useable, i have used it many times in my car. The only thing that is missing is the sound.
Thanks to Speculatrix and www.duff.dk for their help !
escuse my poor english, i'm french.
I hope that some people can do someting for zomtom sound.
Thanks
Title: Working Tomtom Nav On Angstrom
Post by: Ling on December 28, 2006, 01:07:48 pm
I am interested in this and would like to get the maps. I see several sellers on eBay selling the maps on SD. I assume those are the ones that are not legit. I searched around on eBay and did not see any cheap devices. I did see a number that are selling the TomTom Navigator software (Palm/WinCE) that seems to include the maps. Will this get me what I need. It would seem to be an inexpensive way to get a legitimate set of maps. I am in complete agreement with you that we don't want to take $$ out of the pockets of folks who are following the GPL/LGPL and sharing with the community. I have a Garmin etrex that I have used with gpsdrive, etc. The other solutions were so feature limited that I found it easier just to use the etrex. This looks like a great deal.
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on December 28, 2006, 09:11:12 pm
so how exactlly are they outputting sound? is it a user space driver that maps the mem segment (via /dev/mem) and plays with the mem mapped regs direcctly or is it a oss thing
if its oss i can help as i have just spent some time mastering alsa sound configs with oss and dmixing if its a mem mapped thing then i could posibly help as well as low level hardware is my thing
Title: Working Tomtom Nav On Angstrom
Post by: zaurick on December 29, 2006, 03:00:01 am
Quote
so how exactlly are they outputting sound? is it a user space driver that maps the mem segment (via /dev/mem) and plays with the mem mapped regs direcctly or is it a oss thing
They use mapping of memory via mmap. All sound command are send by ioctl to a special device /dev/barc_snd. They use their own driver called coolsound, source is aviable as GPL.
Quote
if its a mem mapped thing then i could posibly help as well as low level hardware is my thing [div align=\"right\"][a href=\"index.php?act=findpost&pid=149394\"][{POST_SNAPBACK}][/a][/div]
Good, it's the last part of porting ttn to zaurus, and when sound is ok, i think that we will can send our work to tomtom company and ask them to release an official tomtom for zauruses.
regards,
Title: Working Tomtom Nav On Angstrom
Post by: offthefront on December 29, 2006, 09:20:57 am
I think I have all the bits together to give this a go now. C3100 running OZ (2.6 kernel) An old TomTom go to get the files from Bluetooth dongle and bluetooth gps receiver
Are there any detailed instructions on how to get this running? When I tried some the instructions posted earlier on this thread, I didn't get very far, chrooted into /home/tomtom then ran ttn and my zaurus resets. Are there devices I need to create, things like that? Would be keen to have this working, even without sound.
Cheers, Sue
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on December 30, 2006, 01:54:00 am
coolsound seems to be an alsa device, hmmm
why not symlink from /dev/barc_snd to /dev/oss and then try linking it to the /dev/snd/control or /dev/snd/pcmC0D0p (PCM Card 0 Device 0 playback)
i think that they are just using a diffrent node name/placment so the symlink should fix that, lets hope anyway. now to work out which node it needs to be attached to (my bets on the pcmC0D0p node)
when i ment memorey mapped i ment mapping of /dev/mem and twiddling the bits in user space. looks like they didnt do that (thank god) as emulating that would be a B$%*&%^
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on December 30, 2006, 09:39:03 am
Quote
I think I have all the bits together to give this a go now. C3100 running OZ (2.6 kernel) An old TomTom go to get the files from Bluetooth dongle and bluetooth gps receiver
Are there any detailed instructions on how to get this running? When I tried some the instructions posted earlier on this thread, I didn't get very far, chrooted into /home/tomtom then ran ttn and my zaurus resets. Are there devices I need to create, things like that? Would be keen to have this working, even without sound.
Cheers, Sue [div align=\"right\"][a href=\"index.php?act=findpost&pid=149449\"][{POST_SNAPBACK}][/a][/div]
Hi, yes, you have to have a /home/tomtom/dev and a /home/tomtom/proc to mimic the real thing.
I'm on vacation at the moment (sad, aren't I, still finding time to visit the forums!), and will post some more info soon as I can!
Paul
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on December 30, 2006, 07:35:13 pm
i assume that there needs to be a bind mount on those dirs (ie mount --bind /dev /heme/tomtom/dev and mount -t proc proc /home/tomtom/proc, thank you gentoo)
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on January 01, 2007, 09:19:28 am
Quote
i assume that there needs to be a bind mount on those dirs (ie mount --bind /dev /heme/tomtom/dev and mount -t proc proc /home/tomtom/proc, thank you gentoo) [div align=\"right\"][a href=\"index.php?act=findpost&pid=149610\"][{POST_SNAPBACK}][/a][/div]
you can always copy the /dev directory
/proc can be filled with dummy files
on the c3100 you can repartition and make a really big hdd2 ext3 partition and store the whole of tomtom with maps; on an 860 or 1000 you will need to ensure that the flash card is mounted where ttn can see it, /home/tomtom/mnd/sdcard if I remember correctly.
Title: Working Tomtom Nav On Angstrom
Post by: zaurick on January 04, 2007, 11:46:49 am
Quote
coolsound seems to be an alsa device, hmmm
why not symlink from /dev/barc_snd to /dev/oss and then try linking it to the /dev/snd/control or /dev/snd/pcmC0D0p (PCM Card 0 Device 0 playback)
i think that they are just using a diffrent node name/placment so the symlink should fix that, lets hope anyway. now to work out which node it needs to be attached to (my bets on the pcmC0D0p node)
I have tried that but don't work, it's not the same IOCTL. It look like an alsa device, but they use another API.
I think that we need to make a kernel module for the sound.
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on January 06, 2007, 06:40:53 am
troust me a bind mount of dev and a remount of proc is the best way to go, learnt that one from gentoo
just dont unmount it, unbind it instead or you will kill both dev dirs which tends to lead to a partially running PDA
hmm, i dont think tomtom would reinvent the wheel for sound, way to expensive if you alread have alsa support. perhaps it checks to see if its a symlink so try the bind mount trick
if not then perhaps there is an undecumented flag/IOCTL they set. run LDD on it and check if they are using the alsa libs or libsound or the oss stuff. this could allow us to do a workaround.
if you do submit this work to them then i suggest you submit a list of ways to make it better and more portable, no 1 bieng to not do any tricky sound stuff , and perhaps show them how to package it in an OS independent way (self contained folder with libs in /opt) not that i think they would listen to that
Title: Working Tomtom Nav On Angstrom
Post by: Ling on February 25, 2007, 06:54:28 pm
Speculatrix,
Is there any update on this since Mr (or Ms) X took over the project? I would definitely use this if possible with pdaXii13 and my Garmin Etrex Legend. Seems like it would be a great use for the Z, Thanks.
Title: Working Tomtom Nav On Angstrom
Post by: xjqian on March 04, 2007, 04:09:21 pm
I've bought a Tomtom go 700 specifically for this. I'm also waiting for a how-to.
Title: Working Tomtom Nav On Angstrom
Post by: scoutme on April 03, 2007, 08:51:14 pm
any news? I'd like to test, and I have all I need except a guide...
Title: Working Tomtom Nav On Angstrom
Post by: the2nd on April 15, 2007, 01:39:44 pm
Quote
any news? I'd like to test, and I have all I need except a guide... [div align=\"right\"][a href=\"index.php?act=findpost&pid=157906\"][{POST_SNAPBACK}][/a][/div]
is there a howto to get tomtom work on z?
i own a 910 and want to try it on my c3000
regards
Title: Working Tomtom Nav On Angstrom
Post by: portalgod on May 11, 2007, 10:45:40 am
Quote
Quote
any news? I'd like to test, and I have all I need except a guide... [div align=\"right\"][a href=\"index.php?act=findpost&pid=157906\"][{POST_SNAPBACK}][/a][/div]
A friend of mine just got a TT300, I'm going to try and follow this thread (hopefully I don't croak my Z).
Anyone seen the howto?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on May 13, 2007, 05:30:43 pm
I've got OZ 3.5.4.1 running stably on my 3100 now, and I hope to start writing a full how-to. I'm sorry for the relative silence, but I'm genuinely v busy, starting my own business, finding work etc, and sorry for letting people get this close and then not having a definitive guide.
Title: Working Tomtom Nav On Angstrom
Post by: tetrabit on June 01, 2007, 04:52:51 am
Let's wait for this how-to
Quote
I've got OZ 3.5.4.1 running stably on my 3100 now, and I hope to start writing a full how-to. I'm sorry for the relative silence, but I'm genuinely v busy, starting my own business, finding work etc, and sorry for letting people get this close and then not having a definitive guide. [div align=\"right\"][a href=\"index.php?act=findpost&pid=161227\"][{POST_SNAPBACK}][/a][/div]
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on June 01, 2007, 05:27:30 am
OK, a quick update. OZ 3.5.4.1 will NOT run zomtom out of the box because the standard kernel doesn't have the right patches in it to do the QVGA display and some other feature which I forget.
However, Angstrom *will* run zomtom without any patching. I am hoping that with Richard's help we can provide an ipk which builds the environment in which zomtom runs (it runs chrooted) and automagically extracts the required binaries from the standard tomtomGO sd card. Then, you will just need to enter the specific device ID from your GO, and the navigator starts up, you then enter the key for the map.
that is to say, the package will NOT contain any tomtom intellectual property or copyrighted files, so you will be using the license from your GO device.
Richard has done some incredible work here, I've merely become the alpha tester, all credit goes to him for making this achievable.
Title: Working Tomtom Nav On Angstrom
Post by: Da_Blitz on June 02, 2007, 08:32:11 am
wahhoooo!!!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on June 27, 2007, 07:07:50 pm
OK, the good news is that we're fairly close to being able to release something which contains NO tomtom files and therefore won't result in us having our dangly bits chopped off by TomTom!!
There are just a few things to clear up: 1/ whether we should expect the zaurus owner to also have a linux box - this affects whether we can rely on them to extract the tomtom files themselves or have to do it all on the zaurus (see http://www.opentom.org/Ttimgextract) (http://www.opentom.org/Ttimgextract))
2/ whether the typical zomtom user will be running a 3x00 or 1000 - to set the default behaviour
My Z isn't quite working yet, problem with map setup, but I have made a video and will present it as soon as it's rendered to something suitable.
---EDIT---EDIT2--- OK, I was pretty tired and waffled way too much, but it too so long to get here I just wanted to share it! Remove the .zip file extension, the forum wouldn't allow me to upload it as a .avi [ You are not allowed to view attachments ]
Title: Working Tomtom Nav On Angstrom
Post by: portalgod on June 27, 2007, 07:16:20 pm
Quote
OK, the good news is that we're fairly close to being able to release something which contains NO tomtom files and therefore won't result in us having our dangly bits chopped off by TomTom!!
There are just a few things to clear up: 1/ whether we should expect the zaurus owner to also have a linux box - this affects whether we can rely on them to extract the tomtom files themselves or have to do it all on the zaurus (see http://www.opentom.org/Ttimgextract) (http://www.opentom.org/Ttimgextract))
2/ whether the typical zomtom user will be running a 3x00 or 1000 - to set the default behaviour
My Z isn't quite working yet, problem with map setup, but I have made a video and will present it as soon as it's rendered to something suitable. [div align=\"right\"][a href=\"index.php?act=findpost&pid=163882\"][{POST_SNAPBACK}][/a][/div]
1) My suggestion is to assume Linux machine ownership. Otherwise, where would the knowledge to fiddle with Linux on the Z come from? (Mind you this comment is coming from me, a person who has no Linux boxen as of the present, but has extensively ran Linux in the past)
2) MY suggestion is to assume 1000 default behaviour. 3x00 owners can always fiddle with mountpoints and such to point to HDD vs memory cards vs internal memory. And that is not just becuase I own a 1000
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on June 29, 2007, 07:57:46 pm
Well, I am in a stunned state. After more hours of playing, I got it working on my C3100. Boy, stuff really runs slowly using strace, doesn't it? My problem with the maps turned out to be that tomtom relied on the memory card being FAT16 and thus file name case insensitive, but I'd copied files to HDD; even when I made an sdcard copy to a fresh sdcard the filenames were still wrong for some reason.
So, strace + grep ENOENT and also strings on the binary... and it works. Such a thrill to see it have the map of my house on the Zaurus, and plot a route to a friends house. It seems to run at about half the speed of the tomtom 510.
OK, so, by now you're desperate, yes?
What are you going to need? 1/ any kind of GPS that the zaurus can read - serial, usb, bluetooth - so long as its NMEA, as you simply hack a link from /dev/gpsdata to /dev/rfcomm0 or whatever 2/ a copy of *YOUR* memory card from a GO300 or 500. the product code and activation key for the maps. WE WILL NOT BE SUPPLYING ANY TOMTOM FILES, CODES OR KEYS. Please don't ask. I believe that the codes for the Palm and PocketPC versions would probably work too. 3/ a Zaurus running Angstrom - I think this would even work on an old 5000/5500 series as the Zaurus drops down into 320x240 display mode. 4/ the ttimgextract program from opentom (I can provide an x86 binary if anyone needs it) to split the ttsystem file from the memory card, cpio to unpack the file system
Then, you simply unpack Rick's package, copy over the files extracted from ttsystem, edit the start script with your GO's unique ID, and run it.
I will discuss with Rick some tweaks to the start script before we can release the package.
Title: Working Tomtom Nav On Angstrom
Post by: portalgod on July 18, 2007, 01:39:02 pm
Quote
Well, I am in a stunned state. After more hours of playing, I got it working on my C3100. Boy, stuff really runs slowly using strace, doesn't it? My problem with the maps turned out to be that tomtom relied on the memory card being FAT16 and thus file name case insensitive, but I'd copied files to HDD; even when I made an sdcard copy to a fresh sdcard the filenames were still wrong for some reason.
So, strace + grep ENOENT and also strings on the binary... and it works. Such a thrill to see it have the map of my house on the Zaurus, and plot a route to a friends house. It seems to run at about half the speed of the tomtom 510.
OK, so, by now you're desperate, yes?
What are you going to need? 1/ any kind of GPS that the zaurus can read - serial, usb, bluetooth - so long as its NMEA, as you simply hack a link from /dev/gpsdata to /dev/rfcomm0 or whatever 2/ a copy of *YOUR* memory card from a GO300 or 500. the product code and activation key for the maps. WE WILL NOT BE SUPPLYING ANY TOMTOM FILES, CODES OR KEYS. Please don't ask. I believe that the codes for the Palm and PocketPC versions would probably work too. 3/ a Zaurus running Angstrom - I think this would even work on an old 5000/5500 series as the Zaurus drops down into 320x240 display mode. 4/ the ttimgextract program from opentom (I can provide an x86 binary if anyone needs it) to split the ttsystem file from the memory card, cpio to unpack the file system
Then, you simply unpack Rick's package, copy over the files extracted from ttsystem, edit the start script with your GO's unique ID, and run it.
I will discuss with Rick some tweaks to the start script before we can release the package. [div align=\"right\"][a href=\"index.php?act=findpost&pid=163989\"][{POST_SNAPBACK}][/a][/div]
How does a TT500 run (speed wise) in comparison to a TT300. My assumption is it's th same.
Overclock your Z a bit and it'll probably run as fast as a TT.
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on July 19, 2007, 06:54:02 pm
Quote
How does a TT500 run (speed wise) in comparison to a TT300. My assumption is it's th same.
Overclock your Z a bit and it'll probably run as fast as a TT. [div align=\"right\"][a href=\"index.php?act=findpost&pid=165115\"][{POST_SNAPBACK}][/a][/div]
I have both a TTG300 (which broke in a car crash, and whose license I have "ported" to the Zaurus) and a TTG500. Although I didn't have them back to back the 500 was definitely snappier, maybe 30% faster - the specs on www.opentom.org back that up.
When I first had a Go, it ran tomtom 5, but (and it's one of the advantages of getting the appliance rather than the palm or pocketpc software packs) it got a free upgrade to 6.1x using tomtom's desktop software "tomtomhome" to update it.
BTW, the "tomtom home" recognises the tomtom software on both the Go (it emulates a mass storage device when connected) an d also if you simply insert the memory card into the PC's card reader!
So far I have not had a response from my contact at TomTom, so I will try someone else. Yes, I am scared.
Title: Working Tomtom Nav On Angstrom
Post by: e.stoiber on October 15, 2007, 05:33:27 pm
any updates on the how-to yet ???
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on October 16, 2007, 06:54:18 pm
Quote from: e.stoiber
any updates on the how-to yet ???
I guess I am going to go ahead and publish the toolkit seeing as how I've had no feedback from TomTom (I hope they're not sitting in wait).. I need to make a couple of minor fixes and tests, but no promises it will be this week as I am snowed under at work
Title: Working Tomtom Nav On Angstrom
Post by: e.stoiber on October 19, 2007, 10:15:09 am
good to hear you,......
Since you don't circumvent any copyprotection, i don't see what they could do,.... I guess anyway they make their most income from the services they sell (Maps, Add-ons,...) The Device should only be for convinience.
Title: Working Tomtom Nav On Angstrom
Post by: rasva on November 02, 2007, 03:36:17 am
Still nothing?
Title: Working Tomtom Nav On Angstrom
Post by: pelrun on December 13, 2007, 07:09:21 pm
Speculatrix, you're killing me with the wait here ;D
Any idea when you might get time to work on a release?
Title: Working Tomtom Nav On Angstrom
Post by: DonYouAn on December 18, 2007, 03:49:59 pm
I would be happy if there would be a possibility to get a TomTom-Nav on the Zaurus. I use the TomTom Rider with my motorcycle an I must say, that I like this little helper. So I'm courious about the ipk release. Hopefully it will come soon.
Regards DonYouAn
Title: Working Tomtom Nav On Angstrom
Post by: nilch on December 18, 2007, 05:11:10 pm
I guess you can catch Speculatrix here (http://internettablettalk.com/forums/showpost.php?p=110173&postcount=21). He seems to be more interested in his new toy
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on December 19, 2007, 07:34:01 am
Quote from: nilch
I guess you can catch Speculatrix here (http://internettablettalk.com/forums/showpost.php?p=110173&postcount=21). He seems to be more interested in his new toy
actually, I'm hoping to play with getting tomtom working on the n800 too. problem is that between work and domestic duties I don't get free time in large blocks, and I need, probably, a whole day to make zomtom a relatively painless install. with angstrom being a rapidly moving target, no sooner do I do an ipkg update/upgrade then I find myself having to test and tweak. That said, now they're trying to go for an official release, I am aiming to set aside some time to start with a freshly clean zaurus + angstrom release and write the tomtom setup/startup scripts.
Title: Working Tomtom Nav On Angstrom
Post by: espi on June 23, 2008, 02:27:27 pm
Here's my vote to get this released even in a buggy state!
Title: Working Tomtom Nav On Angstrom
Post by: jocasmi on July 05, 2008, 11:13:57 am
So do I :- )
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on December 23, 2008, 05:58:22 am
good news! I have managed to contact someone at TomTom who seems positive about the idea, has heard of the Zaurus and will ask someone in authority about it!
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on February 28, 2009, 06:04:32 am
unfortunately my contact at TomTom has gone very quiet (not someone I knew particularly well) - hasn't responded to a couple of emails.
meanwhile, I have tried out the latest Go300 software, v 7.9 with Cortez's ZUbuntu, and I'm sad to say it doesn't want to run at all, I think it's something to do with the format of the binaries. I'll dig out an old version and see. Shame, because I'd put in a lot of effort to write an automated install/setup/starter program which was coming together nicely, it might mean having to run angstrom. I'll let you know.
--edit-- hmm, no, an old version of "ttn" doesn't want to run either. I am not sure I actually understand what the problem is! My hunch is that Cortez's kernel is missing something that allows it to recognise the ttn binary.
/tmp# uname -a Linux cool 2.6.26-omegamoon-spitz #1 PREEMPT Mon Dec 29 23:14:05 CET 2008 armv5tel GNU/Linux
/tmp# file ttn ttn: ELF 32-bit LSB executable, ARM, version 1, for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
/tmp# ./ttn -bash: ./ttn: No such file or directory
/tmp# file /bin/bash /bin/bash: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked(uses shared libs), stripped
/tmp# strace ./ttn execve("./ttn", ["./ttn"], [/* 15 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000 _llseek(3, 0, 0xbea575b8, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory ) = 40 close(3) = 0 munmap(0x4001f000, 4096) = 0 exit_group(1) = ? Process 5024 detached
--edit2-- I get the same error when I try and run any of the tomtom binaries on my tablet. :-( Is there anyone running a fresh release of angstrom who'd be willing to try something for me, I don't really want to b0rk my zaurus just as it's got stable with zubuntu. PM me please.
Title: Working Tomtom Nav On Angstrom
Post by: pelrun on March 04, 2009, 01:06:46 am
Does the zubuntu kernel have OABI compatibility switched on?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on March 18, 2009, 01:15:49 pm
lack of OABI was suggested by someone else, so I am going to ask Cortez if he can produce a kernel for me with both EABI and OABI turned on.
still no comment from my contact at TomTom, which makes me wonder what the hell is going on.
it's annoying 'cos I spent a while writing a complex setup/config/runtime wrapper, and Rick says he has got sound working.
--edit-- sadly there doesn't seem to be anyone on the ubuntu forum who can roll an OABI kernel for me. whilst we run ubuntu on some servers at work, I'm nowhere near having a zubuntu development environment up and running.
Title: Working Tomtom Nav On Angstrom
Post by: risc on April 08, 2009, 05:21:20 am
I'm quite close to a full running navcore at my Z. Using Debian 5.0 with 2.6.24.4 and chroot environment. Have my own fullfeatured busybox, strace, strings a.s.o for debugging + faked procfs and modified /dev Everything works fine incl. FB and TS, except maps. NO MAPS FOUND! They are at correct location and ttn finds them incl. dct
I assume it blames on DeviceUniqueID, which is going to be calculated in some way. Both of my ONE and my Z are different. You mentioned changing DeviceID some posts before. I have no idea where to start. Any trick?
Title: Working Tomtom Nav On Angstrom
Post by: speculatrix on April 08, 2009, 10:58:03 am
Hi, here's a bit of my setup script (and no, the guy from tomtom has remained invisible now). my chroot'd environment is in /home/tomtom. None of the following is secret and has been revealed by opentom project.