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: Cowon D2 boots OF by default?

Re: Cowon D2 boots OF by default?

From: Rafaël Carré <rafael.carre_at_gmail.com>
Date: Tue, 15 Jun 2010 07:44:21 +0200

On Tue, 15 Jun 2010 13:22:29 +1000
Jonathan Gordon <jdgordy_at_gmail.com> wrote:

> On 15 June 2010 13:17, Jonathan Gordon <jdgordy_at_gmail.com> wrote:
> > hey all,
> > I just got a D2 so its time to start hacking, anyway I noticed it
> > boots the OF by default instead of rockbox...
> > Is there any reason this was done to be different from (I think)
> > every other bootloader?
> >
> > Am I right that changing "ldrne  pc, [pc, #-28]" to ldre in crt0.S
> > is enough to boot rockbox by default? Can I commit that change if
> > it does work?
> >
> > Cheers
> > Jonathan
> >
>
> ldreq is actually the correct instruction I think? (/me ARM noobie)

yes,
http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf
has all the conditions on the last page

-- 
#define _ putchar
int x=0,i=0;char s[]="add`/Wji%XVci/";l(){while(x<4){int w=(x?x:x^3)*5
+(x>>1);_(((x++^3)?w:91<<1)+((13<<3)+2));}return x=0;}main(){l();while
(s[i]){char X=s[i++]+11;X=X==':'?' ':X;X-'0'?_(X):_(' ')+l();}_('C');}
//Rafaël Carré

Received on 2010-06-15

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