blob: b325518da1006fe0c54ba6141f7a3a5ae706b7c7 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Zelaleme9e81482020-07-10 15:18:46 -05002#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_build() {
9 get_scp_bl2_bin
10 get_uboot32_bin
11
12 # Building FIP for this config requries a BL32 built in AArch32, but
13 # we'll only build that later. An appropriate BL32 image must be updated
14 # in the FIP before the recovery image is built
15 local tmp_bl32="$(mktempfile)"
16 build_fip BL32="$tmp_bl32" BL33="$archive/uboot.bin" SCP_BL2="$archive/scp_bl2.bin"
17}
18
19post_fetch_tf_resource() {
20 gen_recovery_image32_oe "$archive/bl1.bin" "$archive/fip.bin"
21 bootloader_prompt="juno32#" payload_type="linux_reboot" os="oe" nfs_rootfs="$juno32_rootfs_url" \
22 gen_juno_yaml
23}