[U-Boot] FW: u-boot v2016 vs v2013

Mehmet Ali İPİN mehmet.ipin at pavotek.com.tr
Tue Jan 16 13:40:33 UTC 2018


Dear Estevam,

Thank you for your helps. I finally managed to build u-boot-2018. With these commands:
export CROSS_COMPILE=/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-
 export ARCH=arm
 make distclean
 make mx6sabreauto_defconfig
 make

There are u-boot, u-boot.bin, u-boot.img, ... files, but I could not see u-boot.imx file, which we use it to download to the DDR via USB, with usb_loader program. 

I used u-boot-2016 lately, which was generating .imx file; Do you know if we can generate it with 2018.1?

Best regards.

-----Original Message-----
From: Fabio Estevam [mailto:festevam at gmail.com] 
Sent: Tuesday, January 16, 2018 2:49 PM
To: Mehmet Ali İPİN <mehmet.ipin at pavotek.com.tr>
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] FW: u-boot v2016 vs v2013

On Tue, Jan 16, 2018 at 8:47 AM, Mehmet Ali İPİN <mehmet.ipin at pavotek.com.tr> wrote:
> Dear Estevam.
>
> Thank you for your helps and interests,
>
> I downloaded and installed gcc/g++ version 7.2 but, make file of u-boot-2018 gives the message below:
>
> *** Your GCC is older than 6.0 and is not supported
> make: *** [checkgcc6] Error 1
>
> but my gcc version is 7.2.0
>
> mai at ubuntu:~/u-boot-2018.01$ gcc --version gcc (Ubuntu 
> 7.2.0-1ubuntu1~14.04) 7.2.0

This is your host PC GCC. You need to upgrade your cross-compile GCC.

Or for a quick test you can do:

git revert 6b867dabe84bae1e7 , which will allow you to build with your old GCC.


More information about the U-Boot mailing list