Skip to content

Commit

Permalink
Add gpu_mem_256 and gpu_mem_512 config options to bootcode.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Oct 20, 2012
1 parent c57ea9d commit c58f722
Showing 1 changed file with 0 additions and 0 deletions.
Binary file modified boot/bootcode.bin
Binary file not shown.

4 comments on commit c58f722

@danwdart
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Does this obsolete gpu_mem?
  2. Can I use both at once and it will switch on what kind of model I'm using?
    Cheers

@RudeViper
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am REALLY unfamiliar with linux. I have the 512 ram version of the Raspberry Pi - but it is only showing the 256 MB options for the ram split in the raspi-config. I have downloaded the bootcode.bin and the start.elf files - put them both in my /boot directory but can't find out what to do with them now to get the proper ram split.

I am probably (almost positive here) that I am missing a step or doing something wrong. Is there a set of instructions for this fix written for the linux-challenged population yet? (LOL)

Just from the little bit of playing with it since I got it yesterday - I am in love with this device.

@asb
Copy link

@asb asb commented on c58f722 Oct 26, 2012 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ReliCWeb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RudeViper: Clear out your /boot directory, keeping only config.txt. Then download every file from the boot folder of the official repo (https://github.com/raspberrypi/firmware/tree/master/boot) and put them in your /boot directory. To download a file from GitHub just click on it and then click "View Raw". It should then prompt you to download.

Once your /boot directory matches the official repo /boot directory (plus config.txt), edit your config.txt and add the following lines at the bottom:

gpu_mem_256=64
gpu_mem_512=128

What this will do is give you different splits depending on what model you put the SDcard into. If you put it into a 256MB model, it will have the 192/64 split. If you put it in the 512 model, it will have the 384/128 split. You can change these values to the split you want.

I also found this which seems very detailed and helpful. It's a full breakdown of config.txt:
https://raw.github.com/Evilpaul/RPi-config/master/config.txt
He got his info from here:
http://elinux.org/RPi_config.txt

*NOTE: This will NOT affect raspi-config's split options. If you do this method, do not use raspi-config to change your split until it's been updated to the new split methods. Please correct me if I'm wrong, asb.

Hope that helps.

Please sign in to comment.