Anurag Koul | c7f61ce | 2021-02-24 19:11:06 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Copyright (c) 2021 Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | post_tf_build() { |
| 8 | |
| 9 | # Create FIP for SCP |
| 10 | "$fiptool" create --soc-fw "$tf_root/build/morello/$bin_mode/bl31.bin" --scp-fw "$archive/scp_ramfw_fvp.bin" "scp_fw.bin" |
| 11 | archive_file "scp_fw.bin" |
| 12 | |
| 13 | # Create FIP for MCP, this needs fixed uuid for now |
| 14 | "$fiptool" create --blob uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="$archive/mcp_ramfw_fvp.bin" "mcp_fw.bin" |
| 15 | archive_file "mcp_fw.bin" |
| 16 | } |