[U-Boot] Unaligned memory accesses exception
Bin Meng
bmeng.cn at gmail.com
Wed Aug 22 07:58:49 UTC 2018
Hi Fernando,
On Wed, Aug 22, 2018 at 3:44 PM, Fernando AE <fernando.ae2017 at gmail.com> wrote:
> Hello all,
>
> I'm bringing up U-Boot for an iMX6UL board, and I've encountered
> unaligned memory accesses exceptions while I was trying to test the
> ETH commands (e.g., 'ping').
>
Have you located the place where this unaligned memory access happens
in U-Boot source codes?
> After investigation, I found out that the iMX6UL processor traps
> unaligned memory accesses by default. As a workaround, I disabled
> theses checks, hoping for negligible performance loss.
>
How does other ARMv7 targets behave? Do they all turn ff the unaligned
memory access trap?
> I'm wondering if it is a bad idea to disable unaligned memory accesses
> during the U-Boot execution, regarding performance issues or other
> drawbacks at the kernel level.
Regards,
Bin
More information about the U-Boot
mailing list