blob: a6ceba027889405e322a94e116d8667a3ad275c1 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Andre Przywara139d58d2021-12-03 13:39:11 +00003# Copyright (c) 2019-2022 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_build() {
Harrison Mutai77c1fc72023-03-27 13:22:41 +01009 url="${scp_bl2_url}" filename="scp_bl2.bin" fetch_and_archive
Andre Przywara139d58d2021-12-03 13:39:11 +000010 get_ml_uboot_bin
Fathi Boudra422bf772019-12-02 11:10:16 +020011 build_fip BL33="$archive/uboot.bin" SCP_BL2="$archive/scp_bl2.bin"
12}
13
14post_fetch_tf_resource() {
Andre Przywara139d58d2021-12-03 13:39:11 +000015 get_linux_image
16 gen_recovery_image "$archive/bl1.bin" "$archive/fip.bin" "$archive/Image" "$archive/ramdisk.img" "$archive/blank.img"
Fathi Boudra422bf772019-12-02 11:10:16 +020017 payload_type="linux" gen_juno_yaml
18}