Linux‎ > ‎

Raspberry Pi

How to order

Raspberry Pi have entered into licensed manufacture partnerships with two British companies, Premier Farnell and RS Components. They’ll be manufacturing and distributing the devices on our behalf, and handling the distribution of our first batches as they arrive in the country.

This means that here in Australia, they will be sold by "Element 14"...  A direct link to the ordering page is below

http://au.element14.com/raspberry-pi/raspbrry-pcba/sbc-raspberry-pi-model-b/dp/2081185

Peripheral information

Broadcom, who make the BCM2835, the SoC at the heart of the Raspberry Pi, have produced an abbreviated datasheet describing the ARM peripherals in the chip.
If you’re wanting to port your own operating system or just want to understand the Linux kernel sources, this is the document for you.



Installing Ubuntu

Get an image and uncompress it

on a mac

insert the flash you want the image inistalled on
run the 'df' command to get a list of mounted devices
unmount the flash with the following:
sudo diskutil unmount /Volumes/volume_name
Use the following to flash
sudo ddrescue -v --force ubuntu-mate-15.10.3-desktop-armhf-raspberry-pi-2.img /dev/rdisk3

on a linux machine

use either 'dd' of the gui disks utility to restore the image

After booting, and login 

Fix a dependiancy problem
sudo dpkg-divert --divert /lib/firmware/brcm/brcmfmac43430-sdio-2.bin --package linux-firmware-raspi2 --rename --add /lib/firmware/brcm/brcmfmac43430-sdio.bin

then update and dist-upgrade

Fix the uboot problem
To fix the uboot error, you have to change the config.txt lines:

# set extended DT area
#device_tree_address=0x100
#device_tree_end=0x8000
device_tree_address=0x02008000

ie: commented device_tree_end out and made sure device_tree_address was the correct value (0x02008000)


The Magazine (MagPi)

Setting the keyboard correctly

It should come as no suprise, but the default config of the keyboard is setup for the UK.
To set your keyboard config, you will need to edit the file /etc/default/keyboard so that it is now
XKBMODEL=”pc105”
XKBLAYOUT=”us”
XKBVARIANT=””
XKBOPTIONS=””

BACKSPACE=”guess”

Ninja-IDE

This now available in the repository

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ninja-ide

You can fetch the latest from the git repository

git clone git://github.com/ninja-ide/ninja-ide.git

To make it easier to launch we can add a desktop icon.   Create a file on the desktop called ninja-ide.desktop and add the following.

[Desktop Entry]
Name=Ninja IDE
Comment=Integrated DeveLopment Environment for Python
Exec=/usr/share/ninja-ide/ninja-ide.py
Icon=/usr/share/ninja-ide/img/icon.png
Terminal=false
Type=Application
Categories=Application;Development;
StartupNotify=true


Ċ
Chris Martin,
6 Mar 2012, 04:35