2. Unpack the ZIP file to get the .img file - this file is a complete binary image of the whole SD card.
3. Use RMPrepUSB and select your SD card - then use the File-->Disk button, select the .img file and then choose 0 - 0 - 0 for the file start, USB sector and USB length (meaning copy all contents of the file to the start of the SD card).
If you wish you can use the Win32DiskImager.exe utility instead of RMPrepUSB which you can download from here and select the win32diskimager-binary.zip. Both are about the same speed, Win32DiskImager is simpler to use and does show the MD5 hash value for the chosen file so that you can check it easily but it does not show much information about the drive letter you have selected (and so may cause you to format the wrong drive!) and has been known to fail to copy the image on occasion.
If you have any problems copying the img file to the SD card, try the RMPrepUSB 'CLEAN' button first.
That's it - now go try it! You can also make an image backup of the SD card at any time using RMPrepUSB Disk-->File or the Win32DiskImager - Read button.
The SD card contents of debian6-17-02-2012.img is shown below, notice that we have three partitions:
1st ptn 0075MB FAT32 partition (type 0C)
2nd ptn 1590MB linux partition (type 83)
3rd ptn 0192MB linux swap partition (type (82)
Also notice that there is no partition marked as Active (bootable). The RPi firmware is coded to look for the file bootcode.bin in the first FAT32 partition - the normal MBR - partition boot process is not followed.
The boot sequence for the RPi is:
bootcode.bin: 2nd stage bootloader, starts with SDRAM disabled
loader.bin: 3rd stage bootloader, starts with SDRAM enabled
start.elf: The GPU binary firmware image, provided by the foundation.
kernel.img: The OS kernel to load on the ARM processor. Normally this will be Linux.
cmdline.txt: Parameters passed to the kernel on boot.
03F0 21 00 4E 40 00 00 0A 91 - 4E 40 02 00 74 0B 2C 02 !.N@...‘ N@..t.,.
Getting Started with XBMC (for UK)
XBOX Media Centre allows you to play music and video. You can also install YouTube and other Add-Ins like 4OnDemand, Demand5, ITV Player or BBCiPlayer - or even watch live UK TV.
First download an XBMC image to a new 4GB or larger SD card - try Raspbmc. Connect an Enet cable from the Pi to your router so it has an internet connection for the first boot (you can set up WiFi later).
Here is a very useful guide - note that if you install to an SD card and a fast USB Flash drive then performance will be improved
Another wiki can be found here, my instructions below may be somewhat outdated now!
Once XBMC is running using this download, you can follow this guide to install the plug-ins - just follow Step 8 to download and install the add-ons that will allow you to access the video-on-demand services from the UK's terrestrial broadcasters. Download the 4oD plug-in here, grab BBC iPlayer here, get ITV Player here, and finally, download Demand 5 here. Maybe you want to watchLive UK TV? Justgo hereand download the zip file and follow the instructions to install TVCatchup 2.0 with Radio Times EPG.
You can easily install the YouTube add-in by going to Video - Video Add-ons - Get More.. - YouTube - Install.
Note: Recent versions of Raspbmc has WINS (Service - Settings - SMB Client - WINS Server). So you should be able to see the pi in your Network section of Windows Explorer as Network - RASPBMC, where you should see devices and pi. The username/pwd = pi and raspberry. Copy your plugin zip files to the pi folder and they should then be found in home folder in raspbmc - easy!
If you don't have a USB flash drive or a powered USB expansion port and you can't get Windows networking to work, you can transfer files from your Windows PC via the Ethernet and ftp to the Raspberry Pi. Simply load FileZilla on your Windows 7 PC and enter in the IP address of the RPi (see XMBC - System - Information to get it's IP address), then enter in these details: <IP address> pi raspberry 22. Transfer files to the /home/pi folder which should have at least 1Gb of free space. You can then find the files on the XBMC Video/Music - Files - Files - Add Videos/Music - Browse - Root filesystem - home - pi.
Rasp Pi B with 4GB SD card (prepared using RMPrepUSB File->Drive)
Enet cable -> ADSL D-Link router
Port 1 - USB Mouse
Port 2 - Powered USB 4-port Hub -> USB kbd + USB pen drive
Power - 1 AMP 5V HTC charger
HDMI -> Atrix 4G lapdock
Edimax wifi EW7811UN.
I had to change the Audio setting in XBMC - System - to HDMI before I could get any sound (not required in latest version).
Early versions of the RPi MUST be powered from it's mini-USB power connector. Later versions that are not fitted with Fuses F1 and F2 can be powered from the USB port (or you can solder a wire across F1 and F2 so that it can be powered from the USB ports).
I also advise using a powered USB Hub as plugging and unplugging USB peripherals tends to crash the RPi and you need 3 USB ports anyway to load the plug-ins from a USB flash pen. If you are going to buy a power adaptor, I would recommend you get one that supplies 2A at 5V. The more common 1A 5V chargers are not quite beefy enough.
Using this setup, I was able to play 1080p video from 4OnDemand and BBC iPlayer with no problem. iPlayer also allows you to watch some channels (not BBC1 and BBC2) live ('Watch Live').
I have not yet tried a mini IR keyboard dongle - once this is working, I will have a wireless mini media centre for my TV!
Useful bash commands
sudo su - stay as su
lsusb - list USB devices to find wifi chipset
sudo dpkg-reconfigure locales - change from en_GB.UTF-8 to en_US.UTF-8 (or whatever country setting you need).-
sudo dpkg-reconfigure keyboard-configuration - change the keyboard to EN UK or USA or whatever. sudo reboot