On 12/11/2009, Myles Watson mylesgw@gmail.com wrote:
I already posted this patch once, but maybe it was overlooked.
but i found way that works for me (but it is somewhat ugly) (see patch in attachment)
Since you said it was ugly and named it crude-ld-hack.patch, it might not have been reviewed.
Maybe better name would be bootblock-autorelocation-ldscript.patch in case if anyone would consider it as worth keeping etc, Signed-off Maciej Pijanka maciej.pijanka@gmail.com
That already commited change plus this patch make me able to save about 20k of raw flash space, and it boots (then later crash on lzma problem but this is with or without moveing of bootblock)
I'd be interested to hear about your lzma problem. I don't remember seeing that one. Have you tried increasing your stack size?
No, it just reports error and reboots so i spend some work to save as much space as possible and to make small filo to fit without lzma, but didn't finished that approach yet.
best regards Maciej