|
Rockbox mail archiveSubject: Re: Rockbox in Flash init codeRe: Rockbox in Flash init code
From: <idc-dragon_at_gmx.de>
Date: Sun, 29 Jun 2003 23:41:04 +0200 (MEST) > Shouldn't all the recent code that is being added > because it is needed for booting Rockbox from flash be > ifdef'd out of the standard Rockbox compile? If the > boot from flash has specific init needs, they > shouldn't be in the "regular" executable. Allow me to disagree, although I'm biased because I'm the one driving this. I've added some very minor initializations which were missing. Speaking about code size, this is a few bytes. You can argue that this is still extra code not needed in the "regular" use case, but for the same reason we would have to kick out most of the initializations which Rockbox does, just because that's already been done by the initial firmware. However, this would make us very dependent on the firmware behaviour. If one day Archos comes out with an updated firmware and we rely on their settings, Rockbox may not run any more. I'd prefer to do the full set of inits and be independent. The latest "cold start" experiments just revealed some oversights in the present inits. There's nothing flash-specific about this. However, there will be a few lines or in the future, when I start looking for ajbrec.ajz in the root and rolo that. But still I don't like a compile switch for that, instead I will detect the cold start and decide at runtime. We have in my opinion too many different builds already, the difference is very minor. Jörg -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!Received on 2003-06-29 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |