Quote:
Originally Posted by gguruusa
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).