diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-20 16:29:22 +0530 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-06-26 21:11:27 +0800 |
commit | 96070460c38cf8f606cb976c28c12664e98797f4 (patch) | |
tree | 4be4726ed03bf56c71797a93d67ec63a85a8cae5 /doc | |
parent | cca4f576d0ad1c2d5a309df2ad19116f89401a1c (diff) | |
download | u-boot-96070460c38cf8f606cb976c28c12664e98797f4.tar.gz u-boot-96070460c38cf8f606cb976c28c12664e98797f4.tar.bz2 u-boot-96070460c38cf8f606cb976c28c12664e98797f4.zip |
rockchip: rk3399: Get bl31.elf via BL31
Right now rockchip platform need to copy bl31.elf into u-boot
source directory to make use of building u-boot.itb.
So, add environment variable BL31 like Allwinner SoC so-that the
bl31.elf would available via BL31.
If the builds are not exporting BL31 env, the make_fit_atf.py
explicitly create dummy bl31.elf in u-boot root directory to
satisfy travis builds and it will show the warning on console as
WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional
WARNING: Please read Building section in doc/README.rockchip
Note, that the dummy bl31 files were created during not exporting
BL31 case would be removed via clean target in Makefile.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.rockchip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip index 11ab74a103..4efd9c1e25 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -150,8 +150,8 @@ For example: => make realclean => make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 - (copy bl31.elf into U-Boot root dir) - => cp build/rk3399/release/bl31/bl31.elf /path/to/u-boot + (export bl31.elf) + => export BL31=/path/to/arm-trusted-firmware/build/rk3399/release/bl31/bl31.elf - Compile PMU M0 firmware |