|
||||
|
Re: Guide to changing your pagepool
Quote:
The physical location of the pagepool in memory doesn't matter - though I have no idea if it does or doesn't move. Whatever is in the pagepool is lost at power-off. But it doesn't matter - everything in the pagepool got there by being copied from the flash anyway. The pagepool has a one way door. Stuff can be copied from NAND to the PP, but it is never written back - just scrapped. The volitale data in the program memory (total RAM size minus pagepool size) must be written back to the NAND flash before power-off if it is to be saved.
__________________
ROM: WM6.5 nk.exe (Da_G), sys 23518 (Da_G), VZW OEM pack (scrosler)
Apps: Manila 2.1 (yozgatag), Leo dialer (pyrorob) |
| This post has been thanked 2 times. |
|
||||
|
Re: Guide to changing your pagepool
Quote:
__________________
Grammar: The difference between knowing your shit and knowing you're shit.
|
|
||||
|
Re: Guide to changing your pagepool
Quote:
All I've looked at so-far is the code for the Verizon TP. Before modification it checks some value and based on that value writes either 0xC0000 or 0x60000 to an address that everyone seems to agree sets the pagepool size. On my phone it ends up getting set to 6 so by changing the 0x60000 in the code to 0xC0000 in the code, I get 0xC0000 no matter what. What the phone does after that, I have no idea. It could very well be what you are saying - dynamic up to 12MB. But with this value at 12MB, even if only 4MB has been allocated, I don't get the other 8MB back for program memory. But it will never go past 12MB. My understanding is that with a size of 0MB, I get whatever it isn't using as program memory, but there is no limit to how much it may use. Again - my observations and comments are limited to a study of one device. I assume you have looked at many more devices than I have. |
|
||||
|
Re: Guide to changing your pagepool
All I can really tell you is that things changed between vogue and kaiser releases and vzw touch pro is an odd animal.
|
|
||||
|
Re: Guide to changing your pagepool
I don't think this is a hardware issue as much as an OS memory allocation issue, I.E. just because this is a new hardware platform I wouldn't think the way the OS handles pagepool would change.
I'll take a look through Technet to see if there's any articles there that address this... |
|
||||
|
Re: Guide to changing your pagepool
So what static number would I use to set 48mb on a rom already coded at 32mb? I can find the string in the OP in 2 places, and verified it says 20 16 but I want to set it to 48mb static.
|
|
||||
|
Re: Guide to changing your pagepool
Quote:
I suppose it could be that you can set the limit of your dynamic pagepool then the OS would use what it needed up to that point but I don't think that makes sense as it would quickly fill up to that limit. There's really no good reason that I can think of that it would work that way. I agree with you that setting a static pagepool size would be like (in a PC) overriding the system defaults and fixing your pagefile size so that it's always the same size; never shrinking or growing. Assuming you still think this way, I think that a dynamic pagepool works more like your pagefile in a Windows OS; that it grows and shrinks as needed. Before, when PPC's had less memory to work with I believe that you would have needed to set a static size. With today's devices that have much more memory to work with I'm thinking that setting dynamic might be the way to go... BTW, haven't had a chance to check Tech Net yet. I'm too busy with product launches right now but I will dig into it as soon as I get the chance. Last edited by keaolyen; 01-29-2009 at 12:06 PM. |
|
||||
|
Re: Guide to changing your pagepool
Quote:
I believe everyone agrees that 30 16 would give you a 48MB static pagepool. *edit - not enough coffee yet, added a better explanation... Last edited by keaolyen; 01-29-2009 at 12:17 PM. |
![]() |
|
|
|