GP2X Why Does "free" Command Report Only About 32mb Of Ram For F1


azherdev

Still Fresh
Joined
May 31, 2006
Messages
15
I have used the "free" command to get amount of memory available and it sais I have 30884 total memory, of which 15468 is used and 15416 is free.

Am I using a wrong command, mis-reading, or does it look like I only have 15MB of free memory to work with?

What happened to 64MB RAM?
 
32MB is hidden from linux as to prevent it from messing with the videoplayer/second core stuff...
there are work-arounds, like using memset on the higher memory regions (hw accel sdl does this for you for it's framebuffer) and the mmuhack (allowing you to access the upper memory then also cache it for improved performance)
 
Hooka is correct, only 32MB of RAM is available to Linux, although you can get access to 64MB of RAM if you kill the video player.
 
Notaz: yeah, once again proving that an idiot (myself) with a little knowledge is a dangerous thing...
 
Back
Top