Re: [arm-gnu] EABI version 5, but target u-boot has EABI version 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] EABI version 5, but target u-boot has EABI version 0



On Fri, Feb 06, 2009 at 03:08:39PM -0800, Brian wrote:
> This is a simple problem to fix. First you need to understand that the  
> ARM EABI and ARM GNU/Linux toolchains are different. The Linux kernel and 
> applications are compiled with ARM GNU/Linux toolchain, while bootloaders 
> are compiled with ARM EABI toolchain.
>
> U-boot is a bare-metal application, therefore use the ARM EABI toolchain. 
> That is the best way to compile U-boot and other non-Linux applications. 
> It is possible to compile U-boot with Linux toolchain but not recommended. 
> Explanation of the error in the archives:
> http://www.codesourcery.com/archives/arm-gnu/msg02332.html

Just to clarify this point: while this is an accurate description of
the distinction, the Linux kernel and most bootloaders intended for
use with it, including U-Boot, have arranged for compatibility with
Linux-targeted compilers to simplify people's lives.

It doesn't always work, especially for the latest tools and older
versions of U-Boot, because the arrangements are a bit fiddly.

-- 
Daniel Jacobowitz
CodeSourcery