Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 2.64 KB

GpsSoftware.mdwn

File metadata and controls

56 lines (39 loc) · 2.64 KB

GPL-GPS Software

Setting up GPL-GPS is not trivial, and will take a bit of doing. Here's an overview of all the things you'll need to do to get up and running with GPL-GPS:

  1. Setup your PC to develop GPL-GPS Code
  2. Get your host development environment set up (the arm-elf-gcc toolchain).
  3. Download the latest eCos source code.
  4. Setup your MG5001 GPS receiver to do code development.
  5. Get the eCos development environment set up and compile two flavors of RedBoot (one for RAM, one for ROM).
  6. Load the RedBoot RAM image, and use it to burn the RedBoot ROM image onto the MG5001's flash.
  7. Develop GPL-GPS code for your application.
  8. Get the GPL-GPS source code.
  9. Compile eCos for use with GPL-GPS in RAM.
  10. Compile the GPL-GPS code and link with the compiled eCos.
  11. Download the code into the MG5001's RAM using gdb-stubs (which is in the RedBoot ROM image in the MG5001's flash).
  12. Develop your code!
  13. Burn your code into the MG5001.
  14. Recompile eCos for use with GPL-GPS in ROM.
  15. Recompile your GPL-GPS code with the new eCos.
  16. Use RedBoot ROM to burn the GPL-GPS/eCos ROM image into Flash.
  17. You're now done: when you power up the receiver, it runs your code!

Work in progess:

  • [[GPL-GPS development under Windows 2000/XP|GpsWinDevGuide]].
  • [[GPL-GPS development under Linux|GpsLinuxDevGuide]].
  • [[GPL-GPS development under Mac OS X|GpsMacDevGuide]].


Older things:

Non-GPS, Non-eCos code:

  • [[GpTogglePort]]: The Hello World of Gp4020-based GPS receivers! (Assembly language, uses boot loader)

eCos & RedBoot for the GP4020:

  • [[RedBootOnTheMG5001]]: Getting your tools together, compiling redboot, and installing it on a GP4020 receiver (in this case, a MG5001)
  • [[ThreadsDemoOnTheMG5001]]: Compiling eCos, linking in a threads demo application, and running via gdb.

GPL-GPS Code:

  • [[GpsSvnAccess]]: Getting the GPL-GPS software
  • [[TarBalls]]: Getting binaries (and source) directly without CVS

SVN instructions

GPL-GPS uses SVN for storing and versioning code. Here's a few resources for getting setup to run it:

  • Windows users: If you are a Windows user you can use TortoiseSVN, which is an extention to Windows Explorer. A command line client is also available for Cygwin, if that is your prefered environment.
  • *nix users: Subversion should be a part of you favourite distibution. If not you can get the source code from http://subversion.tigris.org and compile it your self.

Both Windows and *nix users should follow the instructions on [[GplGpsCvsAccess]] to get the current version of the GPL-GPS source code.