Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: CVS version doesn't boot
From: Magnus Holmgren (lear_at_algonet.se)
Date: 2003-04-12


Johan Vromans wrote:

>>I've noticed that the ROLO doesn't display errors properly (should
>>have sent a patch or something about it, I guess :), so it could be
>>that the .mod you try to load has an incorrect checksum. That could be
>>the problem, as I've managed to make the compiler generate a binary
>>that was an odd number of bytes long. The scrambler doesn't like
>>that...
>
>
> Indeed. My rockbox.bin is an odd number of bytes.
> Is there a workaround?

Yes, I know of two:

1. Make scramble.c pad the file appropriately (didn't do that myself).
2. Add align statements to the app.lds file, like this:

     . = ALIGN(0x4);

I put them at the end of the .text and the .rodata "sections."

-- 
Magnus Holmgren



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa