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-
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.


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Soap Xml parsing

hi all,

can anyone share the code for parsing Soap Xml to get data from it



<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://schema.cloudengines.com/schema/2008">
<soapenv:Body>
<listServicesResponse>
<services>
<service>
<deviceid>da17923ae45b0b55f89eba6cd850b026</deviceid>
<serviceid>0</serviceid>
<sclass>1</sclass>
<type>xce:webdav</type>
<name>Cloud Engines</name>
<version>LINUXKUROPRO0.9.9.62</version>
<device>
<deviceid>da17923ae45b0b55f89eba6cd850b026</deviceid>
<type>xce:unknown</type>
<name>KUROBOX-PRO</name>
<version>LINUXKUROPRO0.9.9.62</version>
<flags>0</flags>
<ownerid>45820d44809cf01d29ede34f3033fc40</ownerid>
<owner>
<userid>45820d44809cf01d29ede34f3033fc40</userid>
<screenname>[EMAIL PROTECTED]</screenname>
<email>[EMAIL PROTECTED]</email>
</owner>
</device><online>1</online><apiurl></apiurl></service></services></listServicesResponse></soapenv:Body></soapenv:Envelope>
i want to get service id,deviceid,name of service

i have written code but i am getting the device name

observe which also have same tag name <name>..</name>

i want to get service name

pls anyone can help me out

i have been working on this problem since yesterday

regards

--~--~---------~--~----~------------~-------~--~----~

2. Use of Android logo

Hi

I dont know if this is the right forum, but I will try anyway.

Do any og you know if I am aloud to use the android logo (the robot
and the strange android text) on my private android-related webpage?

Regards, Per Steffensen
--~--~---------~--~----~------------~-------~--~----~

3. Android on Nokia 6500

4. Extract APK files from G1

5. Make a clickable invisible button.

6. problem with OutputStream.flush() not working

7. Trouble with BitmapFactory.decodeResource