[U-Boot] [PATCH 1/6] h2200: Add support for iPAQ h2200

Marek Vasut marex at denx.de
Thu Sep 20 00:01:28 CEST 2012


Dear Łukasz Dałek,

> On 19.09.2012 23:43, Marek Vasut wrote:
> >>>> +#endif
> >>>> +
> >>>> +	return 0;
> >>>> +}
> >>>> +
> >>>> +/*
> >>>> + * iPAQ h2200 has two stage bootloader.
> >>>> + * We only replace 2nd stage, so u-boot needs to be
> >>>> + * adpopted to the way how 1st stage bootloader works.
> >>>> + * Firstly, code needs to have first 4 bytes equal to
> >>>> + * 0xea0003fe (arm instruction b 0x1000)
> >>> 
> >>> GCC/GAS won't generate it so you use .word ?
> >> 
> >> No. GCC generates sth else than 0xea0003fe.
> > 
> > Try b 0x9098 ... is that it ?
> 
> Yes, GCC/GAS generate 0xeafffffe (b 0x9098).
> 
> Can you tell me why? Can I left .word?

Why is the jump offset 0x9098 ?

> Łukasz Dałek

Best regards,
Marek Vasut


More information about the U-Boot mailing list