Oh snap! My RPi was upgraded to 512MB! Woo-hoo!

I ordered a Raspberry Pi Model B (256MB) over 4 months ago on backorder. When it finally came I saw it was upgraded to the new half a gig model! Woot!

But, all was not perfect. Gary C. told me the shipped configuration of the new RPi models didn't have the right firmware for 512MB, and I had to upgrade the start.elf in the /boot directory to recognize all of the 512MB RAM. I did a "free" command, and sure enough saw only 240MB. Sadness. But, Gary gave me a copy of his start.elf which worked after some trial and error.

For anyone ordering the new RPi Model B w/512MB, here are the steps to get you going with full 512MB RAM:

sudo apt-get update --fix-missing
sudo apt-get upgrade --fix-missing
# NOTE: This step takes at least a couple hours on a 
#   fast network

wget https://raw.github.com/raspberrypi/firmware/\
164b0fe2b3b56081c7510df93bc1440aebe45f7e/boot/\
arm496_start.elf

sudo mv /boot/start.elf /boot/orig-start.elf
sudo mv arm496_start.elf /boot/start.elf
sudo reboot
free
             total       used       free     shared    buffers     cached
Mem:        497768     210596     287172          0      16892     169624
-/+ buffers/cache:      24080     473688
Swap:       102396          0     102396

So of course this means... (drumroll) there is now 498MB available for the Java Embedded heap!

java -Xmx400m -version
java version "1.7.0_06"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_06-b24, headless)
Java HotSpot(TM) Embedded Client VM (build 23.2-b09, mixed mode)
Yeah, baby!

Comments:

I'll take one by the end of the day !!! Anyway i was using phoneME since about 3 years. I've some question to ask to you about phoneME and Ojec. Could you please give to me an email where i can send these few question to you?
Thanks,
Federico

Posted by federico on October 24, 2012 at 06:12 AM PDT #

Hi Federico,

Good to hear from you! Glad you are getting an RPi. They are very cool development boards to have and can run Java technology with no problem. Please ask your questions at our new Java Embedded forum at java.net: http://www.java.net/forums/embedded/embedded

Our Java Embedded team will be happy to answer any question you may have about phoneME, OJEC, or anything else Java Embedded related.

Looking forward in hearing about your project!

Hinkmond

Posted by Hinkmond Wong on October 24, 2012 at 11:18 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

Hinkmond Wong's blog on making Machine to Machine (M2M) and the Incredible Internet of Things (IoT) smarter with Java Embedded Technologies

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
2
3
4
5
6
7
8
9
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today