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

Re: CVS version doesn't boot

From: Magnus Holmgren <lear_at_algonet.se>
Date: Sat, 12 Apr 2003 10:55:46 +0200

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
Received on 2003-04-12

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy