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

Łukasz Dałek luk0104 at gmail.com
Thu Sep 20 00:51:55 CEST 2012


On 20.09.2012 00:42, Marek Vasut wrote:
> Dear Łukasz Dałek,
>
>> On 20.09.2012 00:01, Marek Vasut wrote:
>>> Yes, GCC/GAS generate 0xeafffffe (b 0x9098).
>>>
>>> Can you tell me why? Can I left .word?
>>> Why is the jump offset 0x9098 ?
>> I figured out that 0xeafffffe is a loop (b -4)
> ldr pc, pc, #-4
>
>> but I don't know
>> why toolchain generate b -4 instead of b 0x1000 and I don't
>> know how to fix it (without .word).
> I don't follow, sorry. How did you even get to 0xeafffffe ?
>

My point is that GCC/GAS generate 0xeafffffe instead of 0xea0003fe when
I use 'b 0x1000'. That's why I use directive .word 0xea0003fe instead of
asm instruction 'b 0x1000'. But I don't know that: Can I leave that .word
directive or I can not.

Another question: I asked in cover letter question about tools. Can I add
them in h2200 directory or should I put them somwhere else?

Łukasz Dałek


More information about the U-Boot mailing list