Skip to content

RaspberryPi Software Configuration

Laurent Deru edited this page May 12, 2016 · 39 revisions

6LBR on the RaspberryPi should work with any Linux distribution, but it has been extensively tested with the Raspbian distribution, which is a debian-based operating system optimized for the RaspberryPi.

This supposes that you already have an existing installation of Raspbian on an SD card, or that you would like to install one from the official Raspbian repository. In any case, refer to the Raspbian documentation for information on how to install raspbian.

Installation and configuration

See the Linux installation page.

Specific Configuration for USB Slip-Radio motes

Due to a limitation in the kernel serial driver on some Raspian distributions, you need to modify the system configuration. In the boot partition, open the /boot/cmdline.txt file and add the following configuration parameter :

dwc_otg.speed=1
This enables the support for the high baudrate usb-serial SLIP connector with the slip-radio mote. This is needed for CC2531 dongle, Telos slip-radio, …

Specific configuration for the UART based radio

UART radio, like Nooliberry, conflicts with the kernel serial console. In order to remove the conflict, the following actions must be taken :

  • remove the following parameters from /boot/cmdline.txt
    console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
  • Also, in /etc/inittab the following line at the bottom of the file should be commented out:
    #Spawn a getty on Raspberry Pi serial line
    #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Clone this wiki locally