blob: 78986e859ead68448a830907f3ef6fa1f1e467c6 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Rohit Mathewa1ad6622022-04-08 17:20:30 +01003# 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
8fetch_tf_resource() {
9 kernel_type="fvp-sgi-busybox" get_kernel
10 initrd_type="fvp-sgi-ramdisk" get_initrd
Rohit Mathew79679762022-06-21 12:30:21 +010011 uart="1" timeout="1800" set_primary="1" file="linux-busybox-sgi.exp" track_expect
Rohit Mathewa1ad6622022-04-08 17:20:30 +010012 uart="0" file="trusted-firmware-sgi.exp" track_expect
13
Fathi Boudra422bf772019-12-02 11:10:16 +020014
15 url="$sgi_prebuilts/grub-busybox.img" saveas="busybox.bin" fetch_file
16 url="$sgi_prebuilts/ramdisk-busybox.img" saveas="ramdisk.bin" fetch_file
17
18 archive_file "busybox.bin"
19 archive_file "ramdisk.bin"
Leonardo Sandoval42e60502020-10-21 17:16:41 -050020
21 payload_type="linux" gen_fvp_yaml_template
Fathi Boudra422bf772019-12-02 11:10:16 +020022}