Harrison Mutai | b472ff7 | 2023-04-20 09:46:09 +0100 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Copyright (c) 2023 Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_tf_build() { |
| 9 | # Fetch BL33 [uefi.bin] for N1SDP |
| 10 | url="$n1sdp_prebuilts/uefi.bin" filename="uefi.bin" fetch_and_archive |
| 11 | |
| 12 | # Create FIP for BL2, BL31, and BL33 |
| 13 | build_fip BL31="$bl31" BL2="$bl2" BL33="$archive/uefi.bin" |
| 14 | } |
Harrison Mutai | d89538b | 2023-04-19 18:18:37 +0100 | [diff] [blame] | 15 | |
| 16 | generate_lava_job(){ |
Arthur She | eb0f610 | 2023-07-08 09:54:57 -0700 | [diff] [blame] | 17 | if [ "${ci_env}" = "armci" ]; then |
| 18 | payload_type="linux" |
| 19 | else |
| 20 | # Run simple boot test on OpenCI |
| 21 | payload_type="boot" |
| 22 | fi |
| 23 | target="n1sdp" payload_type="${payload_type}" gen_yaml_template |
Harrison Mutai | d89538b | 2023-04-19 18:18:37 +0100 | [diff] [blame] | 24 | gen_n1sdp_yaml |
| 25 | } |