background image

Raspberry Pi Getting Started Guide 

Page 3 

 

1. Raspberry Pi Basic Hardware Setup 

 

1.1. 

Extra Hardware You Will Need 

 

The Raspberry Pi board contains a processor and graphics chip, program memory (RAM) and 
various interfaces and connectors for external devices. Some of these devices are essential, others 
are optional. RPi operates in the same way as a standard PC, requiring a keyboard for command 
entry, a display unit and a power supply. 
 
It 

also requires ‘mass-storage’, but a hard disk drive of the type found in a typical PC is not really in 

keeping with the miniature size of RPi. Instead we will use an SD Flash memory card normally used 
in digital cameras, configured in such a way to ‘look like’ a hard drive to RPi’s processor. RPi will 
‘boot’ (load the Operating System into RAM) from this card in the same way as a PC ‘boots up’ into 
Windows from its hard disk. 
 
The following are essential to get started: 
 

  SD card containing Linux Operating system 

  USB keyboard 

  TV or monitor (with HDMI, DVI, Composite or SCART input) 

  Power supply (see Section 1.6 below) 

  Video cable to suit the TV or monitor used 

 
Recommended optional extras include: 
 

  USB mouse 

  Internet connection, Model A or B: USB WiFi adaptor 

  Internet connection, Model B only: LAN (Ethernet) cable 

  Powered USB hub 

  Case 

 

1.2. 

Connecting Everything Together 

 

1.  Plug the preloaded SD Card into the RPi. 
2.  Plug the USB keyboard and mouse into the RPi, perhaps via a USB hub. Connect the Hub 

to power, if necessary. 

3.  Plug a video cable into the screen (TV or monitor) and into the RPi. 
4.  Plug your extras into the RPi (USB WiFi, Ethernet cable, external hard drive etc.). This is 

where you may really need a USB hub. 

5.  Ensure that your USB hub (if any) and screen are working. 
6.  Plug the power supply into the mains socket. 
7.  With your screen on, plug the power supply into the RPi microUSB socket. 
8.  The RPi should boot up and display messages on the screen. 

 

It is always recommended to connect the MicroUSB power to the unit last (while most connections 
can be made live, it is best practice to connect items such as displays with the power turned off). 
 
The RPi may take a long time to boot when powered-on for the first time, so be patient! 
 
 

Summary of Contents for A

Page 1: ...Raspberry Pi Getting Started Guide RS Components Vsn 1 0 3 2012 ...

Page 2: ...Raspberry Pi Getting Started Guide Page 2 ...

Page 3: ... DVI Composite or SCART input Power supply see Section 1 6 below Video cable to suit the TV or monitor used Recommended optional extras include USB mouse Internet connection Model A or B USB WiFi adaptor Internet connection Model B only LAN Ethernet cable Powered USB hub Case 1 2 Connecting Everything Together 1 Plug the preloaded SD Card into the RPi 2 Plug the USB keyboard and mouse into the RPi...

Page 4: ...The RPi outputs audio and video via HMDI but does not support HDMI input Older TVs can be connected using Composite video a yellow to yellow RCA cable or via SCART using a Composite video to SCART adaptor Both PAL and NTSC format TVs are supported When using a composite video connection audio is available from the 3 5mm jack socket and can be sent to your TV headphones or an amplifier To send audi...

Page 5: ...t the need for a crossover cable 1 8 2 USB hub In order to connect additional devices to the RPi you may want to obtain a USB hub which will allow multiple devices to be used It is recommended that a powered hub is used this will provide any additional power to the devices without affecting the RPi itself A USB 2 0 model is recommended USB 1 1 is fine for keyboards and mice but may not be fast eno...

Page 6: ...ission is easy to setup and is generally available even before boot time 2 2 1 First interaction with the board Connect the serial cable to the COM port in the RPi and connect the other end to the COM port or USB Serial Adapter in the computer 2 2 2 Serial Parameters The following parameters are needed to connect to the RPi All parameters except Port_Name and Speed are default values and may not n...

Page 7: ...ard setup Now we want to install a GNU Linux distro on an SD card and make space for our stuff You can use either an SD or SDHC card In the latter case of course take care that your PC card reader also supports SDHC Be aware that you are not dealing with an x86 processor but instead a completely different architecture called ARM so don t forget to install the ARM port for the distro you are planni...

Page 8: ...want to set the geometry to 255 heads 63 sectors and calculate the number of cylinders required for the particular SD MMC card Expert command m for help h Number of heads 1 256 default 4 255 Expert command m for help s Number of sectors 1 63 default 62 63 Warning setting sector offset for DOS compatiblity NOTE Be especially careful in the next step First calculate the number of cylinders as follow...

Page 9: ...fault 1 press Enter Using default value 1 Last cylinder or size or sizeM or sizeK 1 245 default 245 50 Command m for help t Selected partition 1 Hex code type L to list codes c Changed system type of partition 1 to c W95 FAT32 LBA Command m for help a Partition number 1 4 1 Create the Linux partition for the root file system Command m for help n Command action e extended p primary partition 1 4 p ...

Page 10: ...dev sdc1 n LABEL mkfs msdos 2 11 12 Mar 2005 sudo mkfs ext3 dev sdc2 mke2fs 1 40 WIP 14 Nov 2006 Filesystem label OS type Linux Block size 4096 log 2 Fragment size 4096 log 2 195072 inodes 389576 blocks 19478 blocks 5 00 reserved for the super user First data block 0 Maximum filesystem blocks 402653184 12 block groups 32768 blocks per group 32768 fragments per group 16256 inodes per group Superblo...

Page 11: ...l img to use them ensure you have a backup of the original kernel img first kernel_emergency img kernel with busybox rootfs You can use this to repair the main Linux partition using e2fsck if the Linux partition gets corrupted Additional GPU firmware images rename over start elf to use them arm128_start elf 128MB ARM 128MB GPU split use this for heavy 3D work possibly also required for some video ...

Page 12: ...er Run dd removable list Should give something like this rawwrite dd for windows version 0 6beta3 Written by John Newbigin jn it swin edu au This program is covered by terms of the GPL Version 2 NT Block Device Objects Device Harddisk1 Partition0 link to Device Harddisk1 DR8 Removable media other than floppy Block size 512 size is 4075290624 bytes This Device Harddisk1 Partition0 is the part you n...

Page 13: ...QEMU and a Linux VM would be one way of testing your apps This also works on Windows Search the forum for the readymade ARM images The choice of programming languages IDEs and other tools on the RPi is only determined by The operating system compatibility at the moment the specific Linux distro used The status of the respective ARM package repositories and their binary compatibility The possibilit...

Reviews: