View Single Post
  #65 (permalink)  
Old 01-23-2009, 01:30 AM
FormerPalmOS's Avatar
FormerPalmOS
Regular 'Geeker
Offline
Threadstarter
Location: Far far away...
 
Join Date: Nov 2008
Posts: 359
Reputation: 1355
FormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: New XIP for 21109 sys with working encryption

Quote:
Originally Posted by gguruusa View Post
Rearranging segments to remove gaps doesn't actually give you any memory back. You are rearranging the segments within an allocated pool, so it's shrinking the pool that actually reclaims the space.

yes, xip contents are aligned on boundaries. Can't recall what it is off the top of my head...you can probably deduce it from xipports map file, though. Pretty sizeable alignment boundaries, as I recall.
Have started to figure this out. Said boundary for TP is a full track of 64 sectors of 2048 bytes each (0x20000 bytes). I'm working on an XIP now that shrinks by a full track, and gives that back as free RAM (changes to ROM header, changes to partition table, changes to MSFLSH50, changes to os.nb.payload template, etc. Will post once I cook and get it to boot (hopefully) - but not tonight. Only scrosler can cook with no sleep...

Spreadsheet sandbox attached that has what I've been working on for the partition table and MSFLSH50 table, with my current sizes, etc. Also my map.txt and ROMHDR.TXT - JD - feel free to comment if you think I did this right (haven't tried to boot this yet).
Attached Files
File Type: zip Partition table worksheet.zip (8.1 KB, 0 views) Click for barcode!
File Type: zip ROMHDR.zip (13.9 KB, 2 views) Click for barcode!
__________________
ROM: WM6.5 nk.exe (Da_G), sys 23518 (Da_G), VZW OEM pack (scrosler)
Apps: Manila 2.1 (yozgatag), Leo dialer (pyrorob)

Last edited by FormerPalmOS; 01-23-2009 at 01:36 AM.
Reply With Quote