| # script to generate FIT image source for 64-bit sunxi boards with |
| # ARM Trusted Firmware and multiple device trees (given on the command line) |
| # usage: $0 <dt_name> [<dt_name> [<dt_name] ...] |
| [ -z "$BL31" ] && BL31="bl31.bin" |
| 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 |
| description = "Configuration to load ATF before U-Boot"; |
| description = "U-Boot (64-bit)"; |
| data = /incbin/("u-boot-nodtb.bin"); |
| description = "ARM Trusted Firmware"; |
| data = /incbin/("$BL31"); |
| description = "$(basename $dtname .dtb)"; |
| data = /incbin/("$dtname"); |
| cat << __CONF_SECTION_EOF |
| description = "$(basename $dtname .dtb)"; |