dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: CVS version doesn't boot
From: Magnus Holmgren (
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
> 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 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