While doing work with the ADP1 we wanted to reduce the system ram from
the default 101MB. Normally you can do this is the kernel command line
with a mem=xM, this however does not work. After some research we
discovered that upon boot-up the system memory size is set to 101MB
via the file board-trout.c in the kernel directory under arch/arm/mach-
msm/.

Inside the function trout_fixup, the line:

mi->bank[0].size = (101*1024*1024);

Change the 101 to what system memory size you want. Recompile. Your
system memory is now reduced.


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to