The Dirty Denims op Lowlands
18 augustus 2012
Om 14:00u in de Charlie.
Om 14:00u in de Charlie.
Afgelopen zaterdag zagen we op Lowlands camping 1 ineens een UFO boven de camping vliegen. Nader onderzoek wees uit, dat het om een octocopter ging:
Op de octocopter staat de URL tfcm.nl, wat blijkt te staan voor The Flying Camera Men. Ik heb ze een mail gestuurd met de vraag of de beelden die ze op Lowlands hebben geschoten ergens te zien zijn. Ben benieuwd…
Op woensdag 8 augustus 2008 heb ik deze route gereden vanaf Le Camping Moto. Op verzoek van een mede-rijder plaats ik ‘m hier:
Gebruik de map-controls om in/uit te zoomen en de kaart te verschuiven. Bekijk op Google Maps. Download KML.
De benodigde achtergrondinformatie: het KML bestand is met GPSBabel gemaakt van een originele, ongewijzigde GPX track uit een Garmin Zümo. Standaard levert dat een nogal lijvig KML bestand op, omdat GPSBabel ook ‘placemarks’ voor trackpunten genereert. Ten eerste heb je daar niet zoveel aan, en ten tweede wordt het bestand daardoor te groot om in Google Maps te kunnen laten zien. Door de optie ‘points=0’ mee te geven voor de KML output laat je de placemarks weg. De invocatie van GPSBabel wordt dan:
gpsbabel -t -i gpx -f 20120808-track.gpx -o kml,points=0 -F 20120808-track.kml
Ik heb de track ook geconverteerd naar een route op de manier die ik al eerder beschreef:
gpsbabel -i gpx -o gpx -f 20120808-track.gpx -x transform,rte=trk \ -x nuketypes,waypoints,tracks -x simplify,error=1k -F 20120808-route.gpx
Met ‘error=1k’ kreeg ik 24 routepunten; met ‘error=0.2k’ kreeg ik er 127. De eerste variant volstaat, en levert op een Garmin Zümo vrijwel helemaal de route op zoals we hem gereden hebben. Het enige verschil zit ‘m in een stukje weg dat de Zümo weigert te gebruiken op de route, waardoor er een rare ‘zijstraat’ in komt te zitten. Dat zal wel een fout in het kaartmateriaal zijn. Download de GPX met de route.
This is a follow-up post to my post about compiling out-of-tree kernel modules for Raspbian / Raspberry Pi from last week. In that post I talked about compiling a kernel module on the Raspberry Pi itself. This time, I did the same thing, but I did it on my i386 Ubuntu workstation, using a cross-compiler.
For this to work, you need the following software:
The easiest thing is to create a directory that you keep all the Raspberry Pi stuff in. If you haven’t downloaded the kernel source yet, clone the Git repository; it allows you to stay up to date. Also download the pre-built compiler toolchain using Git:
[code]
mkdir ~/raspberrypi
cd ~/raspberrypi
git clone https://github.com/raspberrypi/linux.git
git clone https://github.com/raspberrypi/tools.git
[/code]
Just for fun & exercise, instead of using the downloaded Modules.symvers, build the kernel. See http://elinux.org/RPi_Kernel_Compilation#compiling for more detailed information.
[code]
cd linux
zcat /proc/config.gz > .config
make -j 6 ARCH=arm CROSS_COMPILE=$HOME/raspberrypi/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- oldconfig
make -j 6 ARCH=arm CROSS_COMPILE=$HOME/raspberrypi/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-
make -j 6 ARCH=arm CROSS_COMPILE=$HOME/raspberrypi/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- modules
[/code]
Please note the ‘-j 6’, which sets the number of concurrent jobs to 6, which may be less than ideal if you have a slow (single/dual core) machine. If your computer has a quad-core processor or better, -j 6 should be fine. It will make your build go a whole lot faster.
Note: if you don’t feel like waiting for a kernel build to complete, you can also use the provided Module.symvers file, prepare and configure the kernel tree and build your module from there. Please see my previous post on how to do that; just add the cross-compilation flags.
Now, you are ready to cross-compile your out-of-tree kernel module:
[code]
cd /path/to/module/source
make -C $HOME/raspberrypi/linux ARCH=arm \
CROSS_COMPILE=$HOME/raspberrypi/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- \
SUBDIRS=$PWD modules
[/code]
There is a crack, a crack in everything. That’s how the light gets in.