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

bhupesh.sharma at freescale.com bhupesh.sharma at freescale.com
Wed Feb 12 08:15:55 CET 2014


Hi Tiger,

> -----Original Message-----
> From: TigerLiu at viatech.com.cn [mailto:TigerLiu at viatech.com.cn]
> Sent: Wednesday, February 12, 2014 7:38 AM
> To: Sharma Bhupesh-B45370; drambo at broadcom.com; u-boot at lists.denx.de
> Cc: trini at ti.com
> Subject: Re: [U-Boot] how to get u-boot code with arm64: core support
> 
> 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
> 
>    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.
> 

Thanks for the steps.
Actually I was following the same but I get an error " Failed to load boot loader stage 2 (BL2) firmware", although I have
placed the 'bl2.bin' at the same directory level as the ARMv8 foundation model (v2 - Release 52rel06).

The complete boot log is:

Escape character is '^]'.
Booting trusted firmware boot loader stage 1
Built : 16:09:23, Feb 11 2014
ERROR: Cannot access 'bl2.bin' file (-1).
Failed to load boot loader stage 2 (BL2) firmware.

Did you see some similar issues at your end?

Regards,
Bhupesh


More information about the U-Boot mailing list