[U-Boot] [PATCH 01/10] Fix IP alignement problem

Olav Morken olavmrk at gmail.com
Fri Oct 10 21:52:10 CEST 2008


On Fri, Oct 10, 2008 at 21:13, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:
> On 20:56 Fri 10 Oct     , Olav Morken wrote:
>> On Fri, Oct 10, 2008 at 7:01 PM, Ben Warren <biggerbadderben at gmail.com> wrote:
>> > Olav Morken wrote:
>> >>
>> >> This patch removes volatile from:
>> >> volatile IP_t *ip = (IP_t *)xip;
>> >>
>> >> Due to a bug, avr32-gcc will assume that ip is aligned on a word boundary
>> >> when
>> >> using volatile, which causes an exception since xip isn't aligned on a
>> >> word
>> >> boundary.
>> >>
>> >
>> > What other architectures have you tried this on?
>>
>> None, as we don't have any other boards to test on. I do however believe
>
> you can test under qemu with qemu_mips board at least

Thanks for the tip. Will try to install a mips cross-compiler, and test it.

-- 
Olav Morken


More information about the U-Boot mailing list