[U-Boot] Data Abort with gcc 7.1
Måns Rullgård
mans at mansr.com
Thu Jul 13 12:34:52 UTC 2017
Maxime Ripard <maxime.ripard at free-electrons.com> writes:
> On Thu, Jul 13, 2017 at 11:20:34AM +0100, Peter Robinson wrote:
>> >>> What hardware did this happen on? If it was on ARMv5, adding the packed
>> >>> attribute is probably the correct fix. If it was ARMv6 or later,
>> >>> something else is broken as well.
>> >>
>> >> It does not matter if this was ARMv6+ hardware or not. The current
>> >> U-Boot code is wrong and we need to fix it.
>> >
>> > The question is how many errors there are. That's why I asked about the
>> > hardware.
>>
>> I've seen it on a number of devices but they were all ARMv7+
>> (AllWinner, Rockchips etc)
>
> It was on an Allwinner SoCs with a Cortex-A7 CPU, so armv7. However,
> as far as I know, the unaligned accesses are disable in u-boot.
Yes, so it seems, although I can't fathom why.
--
Måns Rullgård
More information about the U-Boot
mailing list