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

Inderpal Singh inderpal.singh at linaro.org
Wed Feb 12 08:52:25 CET 2014


Hi Tiger,


On 12 February 2014 07:38, <TigerLiu at viatech.com.cn> wrote:

> Hi, Bhupesh:
> I described my steps:
> 1. Compiled ATF
>    Export CROSS_COMPILE=/home/lion/
> gcc-linaro-aarch64/bin/aarch64-linux-gnu-
>    make DEBUG=1 V=1
>    make DEBUG=1 PLAT=fvp all dump
>
>    Note:
>    I used linaro released aarch64 compiler, not official gcc 4.7
>
> 2. Compiled Uboot
>    (1) revised CONFIG_SYS_TEXT_BASE in vexpress_aemv8a.h
>        CONFIG_SYS_TEXT_BASE  = 0x08000000
>    (2) compiled Uboot
>    export ARCH=aarch64
>    export
> CROSS_COMPILE=/home/lion/gcc-linaro-aarch64/bin/aarch64-linux-gnu-
>    make vexpress_aemv8a
>

I tried the above steps to compile vexpress_aemv8a, but i get the following
errors. Any idea?

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'

my u-boot points to "22a240c serial/serial_arc - add driver for ARC UART".

Thanks,
Inder


>    Note:
>    Please use u-boot.bin(about 207 KB) in below step 3.
> 3. Run ATF with FVP base model
>    ./Foundation_v8  --cores=2 --no-gicv3 --data="./bl1.bin"@0x0
> --data="./u-boot.bin"@0x08000000
>
>   Note:
>   I use Foundation_v8, a free armv8 foundation  model, not a commercial
> licensed model.
>
> Best wishes,
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list