Difference between revisions of "Openmoko"

From Navit's Wiki
Jump to: navigation, search
(Compiling Navit from Source)
m (Added picture)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
[[image:Navit_neo.jpg|320px|thumb|Navit on the Neo1973]]
 +
 
An article about navit can be found in the [http://wiki.openmoko.org/wiki/Navit OpenMoko-Wiki].  
 
An article about navit can be found in the [http://wiki.openmoko.org/wiki/Navit OpenMoko-Wiki].  
 
Further detail on the OpenMoko Freerunner can be found on the following website of [http://www.openmoko.com openmoko] and [http://www.openmoko.com/product.html# freerunner].
 
Further detail on the OpenMoko Freerunner can be found on the following website of [http://www.openmoko.com openmoko] and [http://www.openmoko.com/product.html# freerunner].
Line 10: Line 12:
 
* For further details follow the instructions in the [http://wiki.openmoko.org/wiki/SHR_User_Manual SHR User Manual]
 
* For further details follow the instructions in the [http://wiki.openmoko.org/wiki/SHR_User_Manual SHR User Manual]
  
==Compiling Navit from Source==
+
==QTMoko==
I find it useful to use agps, as it will shorten the time to first fix considerably. you can find the software [http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS here] .
+
http://qtmoko.sourceforge.net/apps/qtmoko-navit.html
 
 
===Compiling on the FreeRunner itself===
 
 
 
If you decide to to compile the software on the freerunner itself, don't forget to set the CC flags! :
 
 
 
<pre>
 
export CCFLAGS="-march=armv4t -mtune=arm920t"
 
export CC=`which armv4tl-softfloat-linux-gnueabi-gcc`
 
./configure
 
make
 
</pre>
 
 
 
===Cross-compile on Debian Lenny GNU/Linux===
 
 
 
Install some required development packages:
 
 
 
<pre>
 
apt-get install alien autoconf automake autotools-dev build-essential ccache check curl \
 
fakeroot gettext intltool libgconf2-dev libglib2.0-dev libtool libxrender-dev mtools uboot-mkimage
 
</pre>
 
 
 
Install the [http://wiki.openmoko.org/wiki/Toolchain OpenMoko Toolchain], we decided to make a Debian package from the tarball, so (dis)installation is easy:
 
 
 
<pre>
 
wget http://downloads.openmoko.org/developer/toolchains/openmoko-i686-20090323-armv4t-linux-gnueabi-toolchain-openmoko.tar.bz2
 
bunzip2 openmoko-i686-20090323-armv4t-linux-gnueabi-toolchain-openmoko.tar.bz2
 
gzip openmoko-i686-20090323-armv4t-linux-gnueabi-toolchain-openmoko.tar
 
fakeroot alien -d openmoko-i686-20090323-armv4t-linux-gnueabi-toolchain-openmoko.tar.gz
 
sudo dpkg -i openmoko-i686_20090323-2_all.deb
 
</pre>
 
 
 
Edit '''<code>/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/etc/opkg.conf</code>''' and set your preferred OpenMoko repositories. Default is '''unstable''', I used '''Om2008.8''' instead.
 
 
 
Add the following line to '''<code>/usr/local/openmoko/arm/environment-setup</code>''':
 
 
 
<pre>
 
export OMTOOL_DIR=/usr/local/openmoko
 
</pre>
 
 
 
Install with '''opkg-target''' some OpenMoko '''-dev''' packages required to compile Navit:
 
 
 
<pre>
 
. /usr/local/openmoko/arm/environment-setup
 
opkg-target update
 
opkg-target install gpsd-dev
 
opkg-target install gtk+-dev
 
opkg-target install libspeechd-dev
 
</pre>
 
 
 
Now we check-out Navit sources from the SVN repository and run '''om-conf''' to prepare the automake, autoconf and make files to run into the OpenMoko toolchain:
 
 
 
<pre>
 
svn co https://navit.svn.sourceforge.net/svnroot/navit/trunk
 
om-conf navit
 
</pre>
 
  
It's time to cross-compile:
+
==Android on Freerunner==
 +
See [[Android]]; instructions are the same as for other Android phones.
  
<pre>
+
==See also==
cd trunk/navit
+
* [[Openmoko development]]
make
 
</pre>
 
  
'''TODO:''' Check compile flags and optimization. Make an .opk package.
+
[[Category:Ports]]

Latest revision as of 00:13, 17 February 2019

Navit on the Neo1973

An article about navit can be found in the OpenMoko-Wiki. Further detail on the OpenMoko Freerunner can be found on the following website of openmoko and freerunner.

In general you can download the software according to the instructions found in SVN as opkg packages. You have to add the navit repository (feed), update and install navit with opkg.

SHR[edit]

An other option without compiling navit is to follow the instructions in the SHR User Manual of the SHR distribution for your freerunner. SHR is one of the available distributions on your freerunner.

  • You can flash the memory of your freerunner with the SHR distribution and install Navit with the installer opkg
 opkg install navit 

QTMoko[edit]

http://qtmoko.sourceforge.net/apps/qtmoko-navit.html

Android on Freerunner[edit]

See Android; instructions are the same as for other Android phones.

See also[edit]