diff options
-rwxr-xr-x | board/sunxi/mksunxi_fit_atf.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/sunxi/mksunxi_fit_atf.sh b/board/sunxi/mksunxi_fit_atf.sh index ecea1b839b..b1d6e0e16a 100755 --- a/board/sunxi/mksunxi_fit_atf.sh +++ b/board/sunxi/mksunxi_fit_atf.sh @@ -7,6 +7,12 @@ [ -z "$BL31" ] && BL31="bl31.bin" +if [ ! -f $BL31 ]; then + echo "WARNING: BL31 file $BL31 NOT found, resulting binary is non-functional" >&2 + echo "Please read the section on ARM Trusted Firmware (ATF) in board/sunxi/README.sunxi64" >&2 + BL31=/dev/null +fi + cat << __HEADER_EOF /dts-v1/; |