blob: dc184dec0a464666a1ace455659cf818aaad281b [file] [log] [blame]
Usama Arifcba711d2021-08-04 15:53:42 +01001#!/usr/bin/env bash
2#
3# Copyright (c) 2021, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
Maksims Svecovsd10c1b92021-10-06 10:25:40 +01008set_model_path "$warehouse/SysGen/SubSystemModels/$model_version/$model_build/models/$model_flavour/FVP_TC1"
Usama Arifcba711d2021-08-04 15:53:42 +01009
10cat <<EOF >"$model_param_file"
11${bl1_bin+-C css.trustedBootROMloader.fname=$bl1_bin}
12${scp_romfw_bin+-C css.scp.ROMloader.fname=$scp_romfw_bin}
13${fip_bin+-C board.flashloader0.fname=$fip_bin}
14${initrd_bin+--data board.dram=$initrd_bin@${initrd_addr:?}}
15${kernel_bin+--data board.dram=$kernel_bin@${kernel_addr:?}}
16${uart0_out+-C soc.pl011_uart0.out_file=$uart0_out}
17${uart0_out+-C soc.pl011_uart0.unbuffered_output=1}
18${uart1_out+-C soc.pl011_uart1.out_file=$uart1_out}
19${uart1_out+-C soc.pl011_uart1.unbuffered_output=1}
20EOF