element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Enable full memory for 512MB Rev 2.0 Pi
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 29 replies
  • Subscribers 677 subscribers
  • Views 3754 views
  • Users 0 members are here
  • raspberry_pi
Related

Enable full memory for 512MB Rev 2.0 Pi

fustini
fustini over 13 years ago

Hello - I finally tried out my 512MB Rev 2.0 Pi on Saturday night and am curious how others went about enabling the full memory.  I flashed the current Sept-18 Raspbian image.  The Pi booted ok but without the extra memory detected.  I installed rpi-update and ran it.  After the reboot, the memory was still the same, so I started researching.  I came across this helpful page:

 

http://hubcitylabs.org/unlocking-your-new-raspberry-pis-512mb-of-memory/

 

which explains that hexxeh's rpi-update is not currently working for the latest firmware.  I followed the instructions to grab the latest from github and copy into /boot.  Upon a reboot, the extra memory was detected, and I could further change the CPU vs. GPU allocation with gpu_mem in /boot/config.txt.

 

Does anyone currently know of a simpler process?

 

Thanks,

Drew

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    I suspect it's just a logistics problem that rpi-update will fix sooner or later.

     

    I haven't tried myself yet, but it should really just be bootcode.bin/loader.bin/start.elf that needs changed.  Probably not a good idea to use arm448_start.elf on a 256Mb board though, so it'll just be a case of identifying the board before giving you the option of what ones to pick.

     

    I was half expecting some of the problems behind the recent posts on 512Mb doa's to be something daft like the old firmware not booting on the new board for some reason, but that doesn't appear to be the case.

     

    Anyway, I'd definately recommend going the github route along with a self compiled kernel from the github source for a few good reasons:

    1. you learn something new
    2. you become independent of problems, or simply stuff like rpi-update not keeping up
    3. you get to pick the bits you need - no more missing wifi drivers etc
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to Former Member

    If you try to use any of the new images on the 256MB it won't boot. Yes the process is simple, just copy whatever image you want to boot to start.elf and reboot. I only tested the 448/64MB memory split.

     

    I've read some of the reports of issues with the 512MB, some of them smell more like a hardware/assembly issue.

     

    If you want to do some kernel development/building I'd strongly recommend you setup your development environment in a separate Linux machine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to jamodio

    jamodio wrote:

     

    If you want to do some kernel development/building I'd strongly recommend you setup your development environment in a separate Linux machine.

    Well yes. Assuming you have one.  Kernel compiling on the Pi itself is not for those short on patience image

     

    With crosstool-ng it's a fairly painless process to setup a kernel dev environment on an x86 linux system these days.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to Former Member

    Correct, and I confirmed it when I screwed up and via a serial console session I copied the 448 image to start.elf when I was connected to the wrong Rpi :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 13 years ago in reply to Former Member

    No, he says it won't boot. I take that to mean exactly what it says.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to gdstew

    Gary Stewart wrote:

     

    No, he says it won't boot. I take that to mean exactly what it says.

    Well he actually said:

    If you try to use any of the new images on the 256MB it won't boot.

    I take that at face value. My reading of it is 'if you try to use any of the new (512Mb start.elf firmware) images in the 256Mb (physical Pi) it won't boot'

    I don't believe I'm reading anything into it that isn't there ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to Former Member

    Lets clarify that by "new images" I meant the new ones created for the 512MB board.

     

    The previous images for the 256MB board run OK on the 512MB, but you are not going to realize any benefits from the extra memory if you don't use one of the new kernels with the memory splits for the 512MB.

     

    I guess that sooner or later we'll see a new distro where a 256MB image gets run first to enable running raspi-config where it can read cpuinfo and offer the option to change the memory splits now including the ones for 512MB boards.

     

    Didn't see any comments about when such update to the distro may be available.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 13 years ago in reply to jamodio

    I can also boot the 512MB images using arm192_start.elf (512 MB version) on a 256MB Pi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to gdstew

    Gary Stewart wrote:

     

    I can also boot the 512MB images using arm192_start.elf (512 MB version) on a 256MB Pi.

    Ok, but you do realise that's a 256Mb start.elf ?  i.e. it's a 192/64 (=256) split ?  The 512Mb ones were arm256_start.elf arm384_start.elf arm448_start.elf arm496_start.elf or in other words the ones that actually require more than 256Mb.

     

    Anyway, it's all changed now. There are (finally) no more versions of start.elf and a setting in config.txt can set the memory split, see

    https://github.com/raspberrypi/firmware/commit/c57ea9dd367f12bf4fb41b7b86806a2dc6281176

     

     

    Side note, the commit after that one https://github.com/raspberrypi/firmware/commit/c58f722d05cb9d9ea7d42378fdb2f1a947e6b046 I'm wondering how much ram the arm gets if you 'gpu_mem_512'.  Time to start a rumour about a 1GB ram Pi image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 13 years ago in reply to Former Member

    Of course I do. Why would I use a memory size that isn't right ? And by the way, when I downloded it the start.elf file in the 512 MB images directory on github was also a copy of arm192_star.elf.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to gdstew

    Are you aware of what GIT and github are ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gdstew
    gdstew over 13 years ago in reply to jamodio

    No, please enlighten me oh great and noble one. I mean yes, I have even built a few tool chains and systems (x86, ARM, PPC) from scratch using several different build systems

    (crosstool, crosstool ng,  ptxdist, buildroot, linux from scratch).

     

    So what was your point again ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • gdstew
    gdstew over 13 years ago in reply to jamodio

    No, please enlighten me oh great and noble one. I mean yes, I have even built a few tool chains and systems (x86, ARM, PPC) from scratch using several different build systems

    (crosstool, crosstool ng,  ptxdist, buildroot, linux from scratch).

     

    So what was your point again ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • jamodio
    jamodio over 13 years ago in reply to gdstew

    I really don't know what is your issue, but forget it. I was just asking in case you didn't know what GIT and github are.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube