This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11580 - Unify 32mb and 64mb ipod video builds
Attached to Project:
Rockbox
Opened by Frank Gevaerts (fg) - Sunday, 29 August 2010, 15:47 GMT+2
Last edited by Frank Gevaerts (fg) - Tuesday, 31 August 2010, 21:07 GMT+2
Opened by Frank Gevaerts (fg) - Sunday, 29 August 2010, 15:47 GMT+2
Last edited by Frank Gevaerts (fg) - Tuesday, 31 August 2010, 21:07 GMT+2
|
DetailsThis quick and dirty patch makes use of the fact that on a 32MB ipod video the RAM is mirrored in the address space, so the only thing actually needed to make a 64MB build not do nasty things on a 32MB board is adjusting audiobufend.
A quick test on my 32MB 5G with a 64MB build seems to work fine. A bit more testing is needed though, especially to see if a 64MB board uses all available RAM. Also, firmware/target/arm/thread-pp.c and firmware/drivers/ata.c seem to do something different on 64MB builds. I don't know what should be done with those. This *isn't* ready for commit yet. it probably doesn't even compile for most targets |
This task depends upon
Closed by Frank Gevaerts (fg)
Tuesday, 31 August 2010, 21:07 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as r27960
Tuesday, 31 August 2010, 21:07 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as r27960
We might want to set BATTERY_CAPACITY_DEFAULT differently depending on detected RAM. I'm not sure of how to do that cleanly, and I'm not convinced we actually want that (due to boards being routinely swapped by repair centres and refurbishers). Apart from that, I think this patch is complete.
I think this is ready for commit, assuming people don't find unexpected problems.