|
Rockbox mail archiveSubject: Re: CVS version doesn't bootRe: 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 HolmgrenReceived on 2003-04-12 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |