How to reduce system memory on the ADP1

by bfriedman » Fri, 13 Mar 2009 19:07:06 GMT

Sponsored Links
 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-

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.



Other Threads

1. Any examples of displaying an information box when clicked on a map marker ?

I am looking for code examples of how to draw a description box when
clicking on a map marker. Something similar to google map's
implementation -
(Click on the marker to see an example)

Much appreciated !


2. Share thread pool among activities ?

Is it possible to create a thread pool during application's start up
and share it among activities ? Not exactly sure if this is feasible
and moreover is it even a good idea ?


3. get the package/class name by code

4. Thx to Om wilber (was:ngemis invite google wave T_T)

5. installing Android 1.6+ on headless Linux server

6. New device best practices (donut vs. eclair, etc)

7. UTF encoding of SMS