Use RaspberryPi to convert OSM data to GARMIN format img

thanks to java-support in raspberry pi Linux 3.10.25+ armv6l it is quite easy to convert osm-files to img files.

1. download mkgmap jar-file and unzip it bzip2 -d malta-latest.osm.bz2
2. download osm data (eg from here or other sources listed here) and save it to osm-folder
3. go to your img-folder convert the file using
  java -jar ../mkgmap/mkgmap.jar ../osm/malta-latest.osm 

i had the following result:
  Time started: Fri Jun 19 11:22:54 CET 2014
  Number of MapFailedExceptions: 0
  Number of ExitExceptions: 0
  Time finished: Fri Jun 19 11:26:58 CET 2014
  Total time taken: 244294ms

4. now the img file can be used with basecamp…