[U-Boot] Data Abort with gcc 7.1

Maxime Ripard maxime.ripard at free-electrons.com
Thu Jul 13 12:32:09 UTC 2017


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.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170713/115a8cbd/attachment.sig>


More information about the U-Boot mailing list