Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 2 | # |
Rohit Mathew | a1ad662 | 2022-04-08 17:20:30 +0100 | [diff] [blame] | 3 | # Copyright (c) 2019-2022 Arm Limited. All rights reserved. |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | fetch_tf_resource() { |
| 9 | kernel_type="fvp-sgi-busybox" get_kernel |
| 10 | initrd_type="fvp-sgi-ramdisk" get_initrd |
Rohit Mathew | 7967976 | 2022-06-21 12:30:21 +0100 | [diff] [blame^] | 11 | uart="1" timeout="1800" set_primary="1" file="linux-busybox-sgi.exp" track_expect |
Rohit Mathew | a1ad662 | 2022-04-08 17:20:30 +0100 | [diff] [blame] | 12 | uart="0" file="trusted-firmware-sgi.exp" track_expect |
| 13 | |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 14 | |
| 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 Sandoval | 42e6050 | 2020-10-21 17:16:41 -0500 | [diff] [blame] | 20 | |
| 21 | payload_type="linux" gen_fvp_yaml_template |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 22 | } |