Increasing RAM for Model B

Nov 10, 2013 at 11:40 AM
Edited Nov 10, 2013 at 11:41 AM

I've been looking at doing a similar thing to this for ages but haven't had the time, glad someone has.

With regards to the RasPi model B, obviously it has twice the RAM. Is it possible to adjust the numbers in the BSP to support this extra RAM?

I presume the two files that need changing are 'config.bib' and 'init.c'.
With init.c I am guessing it is simply changing one line to:
g_pOemGlobal->dwMainMemoryEndAddress = 0x80000000 + (384 * 1024 * 1024); //Was 128M, now 384M?
But with config.bib I am not sure what to change. I presume RAMLEN needs to be changed to:
 #define     RAMLEN       18000000    ; 384 Meg for a 448 Meg split system (64M VRAM?)

Am I correct here? If so is there anything else which needs changing. If I've done something wrong could you let me know.