Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install? #37

Open
SpasNH opened this issue Nov 11, 2019 · 14 comments
Open

How to install? #37

SpasNH opened this issue Nov 11, 2019 · 14 comments

Comments

@SpasNH
Copy link

SpasNH commented Nov 11, 2019

Hi. Is there any step by step installation guide? I'm linux user but I don't know what is ROOT envvar or how to set it, where to put the files, what partition table to format the SD card...

Thanks

@MatrixMike
Copy link

Hi - I wish I could answer properly. I follow this repo and tried to use it several years ago but it didn't work for me. Your comment has inspired me to think about setting up an environment again.

@danhans42
Copy link

Follow the instructions. If you cant build it, download the binary from the main page.

Plug the TT into your pc, and mount it as a drive - fairly easy?
copy the files in the archive over onto the TT, I would backup the ttsystem file.
reboot the tomtom..

you should then get a screen to calibrate the touchscreen, do that and you are done.

@danhans42
Copy link

danhans42 commented Jan 13, 2020

Hi. Is there any step by step installation guide? I'm linux user but I don't know what is ROOT envvar or how to set it, where to put the files, what partition table to format the SD card...

Thanks

Root is the root folder.. so if you clone this repo into your home directory, and your username is frank, the root folder would be /home/frank/opentom. so open the script file, edit the line where it says root and off you go.

I am starting to build from source now.

EDIT: So I followed the instructions on my Linux Mint 19.1 x86_64 machine. Make sure you get the pre-requisites ( sudo apt install autoconf chrpath fluid imagemagick libglib2.0-dev libtool subversion xsltpro ), as well as gcc.

edit the root property in the file to match the root of the opentom folder.

eg, in my instance..

# nano get_cross_env.sh

then edit the first line of the file, on my machine the below works fine (you should get the idea)

export ROOT="/home/dan/opentom"

then

make

and followed the instructions.. few issues with the sources.txt

When I run make it cannot clone into the git repo for microwindows, so that fails. Also, the source for the Freecell game has changed over to a domain parking service.. so just comment it out.

So even though the 'make' failed, it built the kernel. I tested it and it works fine with the existing opentom folder.

So next steps. see if I can modify the makefile so that it can be obtained from the new git location. only problem is if it needs the particular version that was linked to. Guess I will find out.

@Bluestone7
Copy link

Hi, is there already a solution for the microwindows problem?
I´m getting the following error:

user@lub-gericom:~/Downloads/opentom-master$ make
test -d gcc-3.3.4_glibc-2.3.2/lib || {
tar xf Downloads/toolchain_redhat_gcc-3.3.4_glibc-2.3.2-20060131a.tar.gz;
cd gcc-3.3.4_glibc-2.3.2/arm-linux/ && {
mv sys-root sys-root.orig;
ln -s sys-root.orig libc;
ln -s /home/user/Downloads/opentom-master/arm-sysroot/ sys-root;
};
cd /home/user/Downloads/opentom-master/gcc-3.3.4_glibc-2.3.2/bin && cat /home/user/Downloads/opentom-master/configs/install_links.txt | while read file; do ln -s $file; done;
}
mkdir -p Downloads
get_source.sh microwin_9ffcd17.tgz
Searching how to get microwin_9ffcd17.tgz ...
URL to get microwin_9ffcd17.tgz not found in /home/user/Downloads/opentom-master/configs/sources.txt
Makefile:570: recipe for target 'Downloads/microwin_9ffcd17.tgz' failed
make: *** [Downloads/microwin_9ffcd17.tgz] Error 1

@fxbisto
Copy link

fxbisto commented Jul 24, 2020

After reading through your comments I checked the sources.txt file and found for microwindows there is a perfectly usable Git repo here on GH: https://github.com/ghaerr/microwindows
The script refers to a specific hash (not sure if this specific version is a requisite or now outdated, need to compile to check) which is also present in this repo: ghaerr/microwindows@9ffcd17

Editing the sources.txt to refer to this alternative repo should fix compile errors relating to microwindows.

@Bluestone7
Copy link

Thank you for your help.
i was able to compile the basic build, but not the extras.
so i searched the internet and found this: https://github.com/navit-gps/NavitTom, but i had the same problem (basic ok, extras not)

after another search, i found this! https://github.com/raulbalanza/OpenTom
this one is working without any problems

@wilkgr76
Copy link

wilkgr76 commented Oct 11, 2020

@Bluestone7 did you have any issues with downloading from an FTP server on raulbalanza's fork? I've found it tries to switch to passive mode when downloading microwindows and is given a local IP instead of a web-accessible IP address.

@Bluestone7
Copy link

Hi, i had no problems with compiling.
Looks like an adress changed, but i´m no expert with this sort of things.
Contact Raúl and ask for help, you find his mailadress on his github site.
I have a finished build on my pc, which i could send you.

@wilkgr76
Copy link

Thank you for your prompt reply Bluestone7. I'll definitely make sure to send Raúl an email. I would greatly appreciate it if you shared your finished build!

@Bluestone7
Copy link

Bluestone7 commented Oct 11, 2020

OpenTom (Raul Balanza).rar

@wilkgr76
Copy link

Thank you so much!

@davbotjohnson
Copy link

davbotjohnson commented Oct 11, 2020 via email

@Bluestone7
Copy link

@davbotjohnson
Copy link

davbotjohnson commented Oct 11, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants