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

TigerLiu at viatech.com.cn TigerLiu at viatech.com.cn
Wed Feb 12 03:08:13 CET 2014


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.

Best wishes,


More information about the U-Boot mailing list