[U-Boot] how to get u-boot code with arm64: core support

Inderpal Singh inderpal.singh at linaro.org
Wed Feb 12 09:06:41 CET 2014


On 12 February 2014 13:32, <TigerLiu at viatech.com.cn> wrote:

>     Hi, Inder:
>
> >aarch64-linux-gnu-gcc: error: unrecognized command line option '-marm'
> >aarch64-linux-gnu-gcc: error: unrecognized command line option
> '-mno-thumb-interwork'
> >aarch64-linux-gnu-gcc: error: unrecognized command line option
> '-mabi=aapcs-linux'
> >aarch64-linux-gnu-gcc: error: unrecognized command line option
> '-mword-relocations'
>
> I didn't run into this issue.
>
> From Google's answer:
>
> Maybe you lost a step in the command line : "export ARCH=aarch64"
>

No, I did not miss this step. I also have put this in batch file :-)
Could it be a toolchain issue? I used the linaro toochain
gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz<http://releases.linaro.org/latest/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz>at
[1].


[1] http://releases.linaro.org/latest/components/toolchain/binaries/

Thanks,
Inder


>
> I usually put it in batch file:
>
> export ARCH=aarch64
>
> export CROSS_COMPILE=/home/lion/gcc-linaro-aarch64/bin/aarch64-linux-gnu-
>
> make vexpress_aemv8a
>
>
>
>
>
> Best wishes,
>


More information about the U-Boot mailing list