blob: cc78c9ceab2e13fa91279b8f3ae2a7b0ae9e8099 [file] [log] [blame]
Anurag Koulc7f61ce2021-02-24 19:11:06 +00001#!/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/$model_version/$model_build/models/$model_flavour/FVP_Morello"
9
10cat <<EOF >"$model_param_file"
11--data Morello_Top.css.scp.armcortexm7ct=$archive/scp_rom.bin@0x0
12--data Morello_Top.css.mcp.armcortexm7ct=$archive/mcp_rom.bin@0x0
13-C Morello_Top.soc.scp_qspi_loader.fname=$scp_fw_bin
14-C Morello_Top.soc.mcp_qspi_loader.fname=$mcp_fw_bin
15--data $uefi_bin@${uefi_addr:?}
16-C board.virtioblockdevice.image_path=$busybox_bin
17${uart1_out+-C css.pl011_uart_ap.out_file=$uart1_out}
18${uart1_out+-C css.pl011_uart_ap.unbuffered_output=1}
19${uart2_out+-C css.scp.pl011_uart_scp.out_file=$uart2_out}
20${uart0_out+-C css.mcp.pl011_uart0_mcp.out_file=$uart0_out}
21-C css.scp.armcortexm7ct.INITVTOR=0x0
22-C css.mcp.armcortexm7ct.INITVTOR=0x0
23-C board.virtio_rng.enabled=1
24-C board.virtio_rng.seed=0
25-C displayController=0
26-C num_clusters=2
27-C num_cores=2
28-C css.diagnostics=4
29EOF