https://wiki.splatspace.org/index.php?title=RaspberryPiQuickStart&feed=atom&action=historyRaspberryPiQuickStart - Revision history2024-03-29T01:31:57ZRevision history for this page on the wikiMediaWiki 1.21.1https://wiki.splatspace.org/index.php?title=RaspberryPiQuickStart&diff=2736&oldid=prevPetesoper at 21:45, 31 July 20122012-07-31T21:45:46Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:45, 31 July 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># A Linux or Windows system to copy the SD card image to the card (temporary).</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># A Linux or Windows system to copy the SD card image to the card (temporary).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># A wired ethernet connection is needed for the RP to determine the time of day or to do software updates, but otherwise isn't necessary.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># A wired ethernet connection is needed for the RP to determine the time of day or to do software updates, but otherwise isn't necessary.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Preparing the SD card. Reference http://raspberrypi.org/downloads for details. Linux is assumed: for Windows see the downloads page, get the SD card made, then jump to "<ins class="diffchange diffchange-inline">Starting </ins>the <ins class="diffchange diffchange-inline">Raspberry </ins>Pi".</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Preparing the SD card. Reference http://raspberrypi.org/downloads for details. Linux is assumed: for Windows see the downloads page, get the SD card made, then jump to "<del class="diffchange diffchange-inline">Connect </del>the Pi".</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Download the image file for Raspbian Wheezy (Debian) Linux, check it's SHA1 checksum against the published value, and then uncompress the zip file to a .img file,  OR just use the ECE workbench laptop at Splat Space by booting Linux (the default), logging in as trihack/trihack and cd'ing to /tools/raspberrypi/files.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Download the image file for Raspbian Wheezy (Debian) Linux, check it's SHA1 checksum against the published value, and then uncompress the zip file to a .img file,  OR just use the ECE workbench laptop at Splat Space by booting Linux (the default), logging in as trihack/trihack and cd'ing to /tools/raspberrypi/files.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Insert the SD card and do a "mount" command to see what device it was mounted as and then unmount it (on the ECE laptop there should be a file browser window and if you right click on the device under "Places" and then left click "Eject" that will get the job done).</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Insert the SD card and do a "mount" command to see what device it was mounted as and then unmount it (on the ECE laptop there should be a file browser window and if you right click on the device under "Places" and then left click "Eject" that will get the job done).</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># Do a dd of the uncompressed image file to the SD device as root (or just run the "./make-sd" script on the ECE bench laptop. <del class="diffchange diffchange-inline">The text of this script is below</del>)<del class="diffchange diffchange-inline">. </del>This takes a long time. It would be prudent to checksum the resulting SD image (done by the script). That takes a long time too.  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Do a dd of the uncompressed image file to the SD device as root (or just run the "./make-sd" script on the ECE bench laptop.) This takes a long time. It would be prudent to checksum the resulting SD image (done by the script). That takes a long time too.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># Use "sync" to make sure the SD card is fully written and then remove it and <del class="diffchange diffchange-inline">pl</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Use "sync" to make sure the SD card is fully written and then remove it and <ins class="diffchange diffchange-inline">plug </ins>it into the Raspberry Pi.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">ug </del>it into the Raspberry Pi.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Starting the Raspberry Pi</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Starting the Raspberry Pi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Turn on the monitor.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Turn on the monitor.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Connect the ethernet to a router that offers DHCP access to the Internet.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Connect the ethernet to a router that offers DHCP access to the Internet.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># Connect the monitor/TV, keyboard, and mouse. Then and only then apply power by</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Connect the monitor/TV, keyboard, and mouse. Then and only then apply power by connecting the micro USB connector. (And per advice from the RP gods, always remove power first before changing any other connections.)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline"> </del>connecting the micro USB connector. (And per advice from the RP gods, always remove power first before changing any other connections.)</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># After a few seconds a blizzard of text lines should appear on the screen, followed by a klunky graphics dialog that is the "raspi-<ins class="diffchange diffchange-inline">config</ins>" program running as root.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># After a few seconds a blizzard of text lines should appear on the screen, followed by a klunky graphics dialog that is the "raspi-<del class="diffchange diffchange-inline">pi</del>" program running as root. <del class="diffchange diffchange-inline">Use the dialog to do the following config steps:</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* Initial Configuration</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># If your SD card is more than 2gb use the "expand_rootfs" to stretch the root</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># If your SD card is more than 2gb use the "expand_rootfs" to stretch the root partition to use all of your card. It's best to stop and restart the config <ins class="diffchange diffchange-inline">after </ins>this by tabbing to "Finish" and using enter, then "sudo raspi-config" to <ins class="diffchange diffchange-inline">restart </ins>the config program.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>partition to use all of your card. It's best to stop and restart the config <del class="diffchange diffchange-inline">afte</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Use configure_keyboard to set your keyboard type<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">r </del>this by tabbing to "Finish" and using enter, then "sudo raspi-config" to <del class="diffchange diffchange-inline">resta</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Use change_locale <ins class="diffchange diffchange-inline"> </ins>(I suggest both <ins class="diffchange diffchange-inline">en_US locales</ins>, with the default as just en_US)<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">rt </del>the config program.  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Use change_timezone<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Use configure_keyboard to set your keyboard type</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Use memory_split to give your self more graphic memory and less memory for <ins class="diffchange diffchange-inline">processes </ins>or visa versa (I strongly recommend the visa versa until/unless you have the hots for playing with video).</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Use change_locale <del class="diffchange diffchange-inline">to get away from the weird UK keyboard mappings</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Use ssh, boot_behaviour, and update according to your preferences. The update  command very very efficiently updates the system.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">## Use change_locale to elect US locales </del>(I suggest both, with the default as just en_US)</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Tab to "Finish" and use enter to get to a shell prompt.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Use change_timezone</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* What you've been waiting for</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Use memory_split to give your self more graphic memory and less memory for <del class="diffchange diffchange-inline">pr</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Enter "startx" to switch to a graphical desktop. If you set this as the default with the above boot_behaviour option, then you don't have to do this again after the next reboot. The Midori icon allows running a lightweight web browser. <ins class="diffchange diffchange-inline">Beyond </ins>this, <ins class="diffchange diffchange-inline">explore!</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">ocesses </del>or visa versa (I strongly recommend the visa versa until/unless you have the hots for playing with video).</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Use ssh, boot_behaviour, and update according to your preferences. The update</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  command very very efficiently updates the system.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Tab to "Finish" and use enter to get to a shell prompt.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">#</del># Enter "startx" to switch to a graphical desktop. If you set this as the default with the above boot_behaviour option, then you don't have to do this again after the next reboot. The Midori icon allows running a lightweight web browser. <del class="diffchange diffchange-inline">B</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">eyond </del>this, <del class="diffchange diffchange-inline">you're running Debian Linux and you're on your own. Just kidding: I'</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">ll help if I can.</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[User:Petesoper|Petesoper]] 15:<del class="diffchange diffchange-inline">36</del>, 31 July 2012 (MDT)</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[User:Petesoper|Petesoper]] 15:<ins class="diffchange diffchange-inline">45</ins>, 31 July 2012 (MDT)</div></td></tr>
</table>Petesoperhttps://wiki.splatspace.org/index.php?title=RaspberryPiQuickStart&diff=2735&oldid=prevPetesoper: Created page with "==Bringing up a Raspberry Pi (model B) from scratch== See http://www.raspberrypi.org/quick-start-guide for more information. * Needed # 5v .7 amp or better power supply feeding..."2012-07-31T21:36:21Z<p>Created page with "==Bringing up a Raspberry Pi (model B) from scratch== See http://www.raspberrypi.org/quick-start-guide for more information. * Needed # 5v .7 amp or better power supply feeding..."</p>
<p><b>New page</b></p><div>==Bringing up a Raspberry Pi (model B) from scratch==<br />
<br />
See http://www.raspberrypi.org/quick-start-guide for more information.<br />
<br />
* Needed<br />
# 5v .7 amp or better power supply feeding a micro USB connector, or a powered USB hub such as the Intrex HUB-GH901P (7 ports with 5v/2A power supply) in combination with a regular to micro USB cable.<br />
# USB hub if not covered by previous step.<br />
# USB mouse.<br />
# USB keyboard.<br />
# Monitor with HDMI input, *digital* DVI plus DVI to HDMI adaptor, or hi res TV with RCA composite input. It's possible to bring Linux up with a serial connection but this is out of scope.<br />
# HDMI, DVI or composite video cable.<br />
# SD or MMC card with at least 2gb capacity.<br />
# Temporarily need a means of copying data to the SD/MMC card, such as a laptop having an SD card socket.<br />
# A Linux or Windows system to copy the SD card image to the card (temporary).<br />
# A wired ethernet connection is needed for the RP to determine the time of day or to do software updates, but otherwise isn't necessary.<br />
<br />
* Preparing the SD card. Reference http://raspberrypi.org/downloads for details. Linux is assumed: for Windows see the downloads page, get the SD card made, then jump to "Connect the Pi".<br />
# Download the image file for Raspbian Wheezy (Debian) Linux, check it's SHA1 checksum against the published value, and then uncompress the zip file to a .img file, OR just use the ECE workbench laptop at Splat Space by booting Linux (the default), logging in as trihack/trihack and cd'ing to /tools/raspberrypi/files.<br />
# Insert the SD card and do a "mount" command to see what device it was mounted as and then unmount it (on the ECE laptop there should be a file browser window and if you right click on the device under "Places" and then left click "Eject" that will get the job done).<br />
# Do a dd of the uncompressed image file to the SD device as root (or just run the "./make-sd" script on the ECE bench laptop. The text of this script is below). This takes a long time. It would be prudent to checksum the resulting SD image (done by the script). That takes a long time too. <br />
# Use "sync" to make sure the SD card is fully written and then remove it and pl<br />
ug it into the Raspberry Pi.<br />
* Starting the Raspberry Pi<br />
# Turn on the monitor.<br />
# Connect the ethernet to a router that offers DHCP access to the Internet.<br />
# Connect the monitor/TV, keyboard, and mouse. Then and only then apply power by<br />
connecting the micro USB connector. (And per advice from the RP gods, always remove power first before changing any other connections.)<br />
# After a few seconds a blizzard of text lines should appear on the screen, followed by a klunky graphics dialog that is the "raspi-pi" program running as root. Use the dialog to do the following config steps:<br />
## If your SD card is more than 2gb use the "expand_rootfs" to stretch the root<br />
partition to use all of your card. It's best to stop and restart the config afte<br />
r this by tabbing to "Finish" and using enter, then "sudo raspi-config" to resta<br />
rt the config program. <br />
## Use configure_keyboard to set your keyboard type<br />
## Use change_locale to get away from the weird UK keyboard mappings<br />
## Use change_locale to elect US locales (I suggest both, with the default as just en_US)<br />
## Use change_timezone<br />
## Use memory_split to give your self more graphic memory and less memory for pr<br />
ocesses or visa versa (I strongly recommend the visa versa until/unless you have the hots for playing with video).<br />
## Use ssh, boot_behaviour, and update according to your preferences. The update<br />
command very very efficiently updates the system.<br />
## Tab to "Finish" and use enter to get to a shell prompt.<br />
## Enter "startx" to switch to a graphical desktop. If you set this as the default with the above boot_behaviour option, then you don't have to do this again after the next reboot. The Midori icon allows running a lightweight web browser. B<br />
eyond this, you're running Debian Linux and you're on your own. Just kidding: I'<br />
ll help if I can.<br />
<br />
<br />
[[User:Petesoper|Petesoper]] 15:36, 31 July 2012 (MDT)</div>Petesoper