Update: The new Raspbian image supports this out of the box now. The below instructions should no longer be necessary
A newer version of the Raspberry PI Model B has been release a few days ago, with 512mb of RAM (as opposed to 256MB). Using Raspbian as your OS, you will need to update the RaspberryPI’s boot firmware in order to take advantage of the new memory upgrade. To determine how much RAM your OS is currently seeing, you can do “free -h” at the prompt.
All the steps below are using SSH, as I don’t use the GUI on my RPi.
Login to your RaspberryPI through SSH. Default credentials are:
Upgrading the Software/Kernel
Updating the Firmware
Note: Hexxeh’s rpi-update script is currently broken, so we’ll need to do this manually.
In /boot/, download (and overwrite if already exists) all files from here:
Hexxeh’s Rpi-Update script has now been updated, so you can follow the following steps:
rm -rf /boot/*.elf /boot/*.bin /boot/*.img
apt-get install git
apt-get install ca-certificates
wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
The Memory Split
On the RaspberryPI, GPU (video) and system memory are shared. That means if your RPi has 512mb of RAM, some of that RAM will be reserved to use as video memory. Since my RPi doesn’t use the GUI, I set my GPU memory to be 16MB. If you are using a GUI, you may want to go with 64, 128, or even 256MB of GPU ram.
Edit /boot/config.txt and add the following line at the bottom of the file:
At this point, you can reboot. Running “free -h” again should give you the updated memory configuration!