Date
1 - 2 of 2
data abort compiling u-boot with GCC != 6.4
Federico Giovanardi
I'm getting a data-abort exception every time i access the FEC ethernet device from u-boot; it happens using tftp or just ping.
=> ping 172.31.4.2With the same source everything works fine just switching the compiler. I'm using u-boot 2016-07, almost not customized except for a pin used to keep the board up. For now I've tested with: arm-poky-linux-gnueabi-gcc 9.2 -> FAIL arm-poky-linux-gnueabi-gcc 7.3 -> FAIL arm-poky-linux-gnueabi-gcc 6.4 -> OK all the toolchain are generated using yocto and are know to be working correctly. U-boot is compiled with: CROSS_COMPILE=/opt/poky-arag/2.2.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-without environment variables affecting compilation, build host is arch linux just updated, I've tried also in an ubuntu 16.04 chroot but with the same result. Any clue? Regards. Federico Giovanardi
|
|
Max Krummenacher
Hi
toggle quoted messageShow quoted text
Have a look here: https://www.yoctoproject.org/pipermail/yocto/2018-March/040486.html So either update your U-Boot to something newer, cherry-pick the mentioned commit from upstream U- Boot or pin the compiler to gcc 6.4. Max Am Dienstag, den 17.03.2020, 10:28 -0700 schrieb Federico Giovanardi:
I'm getting a data-abort exception every time i access the FEC ethernet device from u-boot; it
|
|