05.03.2013 Views

RPi Easy SD Card Setup - eLinux.org

RPi Easy SD Card Setup - eLinux.org

RPi Easy SD Card Setup - eLinux.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Copyright (c) 2012 Broadcom<br />

version 317494 (release)<br />

Get the latest firmware version<br />

The GPU firmware and kernel can be updated with Hexxeh's rpi-update tool<br />

(https://github.com/Hexxeh/rpi-update) .<br />

However this requires the Pi to be successfully booted. With sdcard problems, you may<br />

not get that far, so can try a manual udpate. If you have a Linux machine, rpi-update can<br />

be run on that in an offline mode, and will update your sdcard from the Linux machine.<br />

Otherwise, on a Windows computer, you will see the "/boot" partition appear as the<br />

contents of <strong>SD</strong> card. You can download the latest GPU firmware version here<br />

(https://github.com/raspberrypi/firmware/blob/master/boot/start.elf) . Click on view raw,<br />

then save it, and put the new start.elf file on the sdcard replacing the existing one.<br />

Similarly, the latest kernel is here (https://github.com/raspberrypi/firmware/tree/master/<br />

boot/kernel.img) . After updating these files you should be able to boot. You still need to<br />

run rpi-update to update the kernel modules (in /lib/modules) and the GPU libraries (in<br />

/opt/vc).<br />

Choosing the right ARM/GPU memory split<br />

There is a choice of how the 256M/512M of RAM is divided between the ARM and<br />

GPU:<br />

gpu_mem=16 : 16M GPU, 240M/496M ARM split : Maximum ARM memory. Good for ARM desktop use. No accelerated<br />

gpu_mem=64 : 64M GPU, 192M/448M ARM split : Reasonable ARM memory. Simple video (omxplayer) or 3D (quake<br />

gpu_mem=128 : 128M GPU, 128M/384M ARM split : Use this for heavy 3D work, or 3D plus video. Needed for XBM<br />

To switch, edit the gpu_mem= setting in your config.txt and reboot.<br />

Note: other amounts are also possible, but setting gpu_mem=32 is usually the wrong<br />

choice. gpu_mem=16 is almost always a better choice.<br />

Also note that before the release of the 51MB PI a different method was used based on<br />

splitting the 256MB RAM in a part for the CPU and GPU. As this noting system was<br />

causing trouble if the amount of RAM was not always the same. the above new method<br />

was adapted.<br />

Make sure your editor doesn't change the first letter of the line into an uppercase letter, as<br />

some editors do. The entry is case sensitive.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!