[Xenomai] Raspberry Pi Xenomai Linux + Minimal Raspian Net Install Guide

Paul paul_c at tuxcnc.org
Thu Mar 27 12:18:45 CET 2014

Going to highlight a couple of issues:

On Wednesday 26 March 2014, Adam Vaughan wrote:
> So its all in one place, I've also attached is an updated guide for
> minimal Raspbian and Xenomai with the attached patch. 

> ===============================================================
> // Automatically install minimal Raspbian OS through net installer...
> //
> echo "wget -q -O -
> http://hifi.iki.fi/raspbian-ua-netinst/raspbian-ua-netinst-20140115-g
>itf8f70f8.img.xz | xzcat - > /dev/sde" | sudo sh sync

A netinstall on to an SD card is extremely slow, and quite honestly, not 
really needed unless you are trying squeeze a minimal install on to a 
small card - The standard Raspian images fit quite comfortably on to a 
2G card (which is the starting point for most).

For those that need/want a minimal embedded install will have the tools 
and knowledge to produce their own.

> ===============================================================
> // Blow away existing tools...

Why ?????

> ===============================================================
> // Get RPi cross compile tools...
> git clone --depth=1 git://github.com/raspberrypi/tools.git

One of the key points of GIT (and other VCS packages) is that you only 
need to pull in changes - This reduces the amount of data being 
transfered and reduces the load on the hosting servers. Some people 
have to pay for each Gigabyte and won't thank you for needlessly 
running up their bill !

> ===============================================================
> // Set the base Linux kernel config
> # OPTION:  wget
> https://www.dropbox.com/s/dcju74md5sz45at/rpi_xenomai_config && mv
> rpi_xenomai_config .config && make ARCH=arm oldconfig #

A less than optimal config with CPU Frequency scaling enabled along with 
a whole bunch of debug/tracing options that impact on performance.

> ===============================================================

More information about the Xenomai mailing list