blob: e3deb8c1da3ad4befb200e9aedfd49b14d066bac [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
8set_model_path "$warehouse/SysGen/SubSystemModels/11.15/20/models/$model_flavour/FVP_TC1"
9
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