blob: c0d2a00a634b24e703bbf48dc11756ad6adbbdf9 [file] [log] [blame]
Raef Colesb3d343b2020-12-08 09:31:43 +00001#!/usr/bin/env bash
2# Copyright (c) 2021, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6qemu-system-arm \
7 -M mps2-an521 \
8 -kernel ${BUILD_DIR}/bin/bl2.axf \
9 -device loader,file=${BUILD_DIR}/bin/tfm_s_ns_signed.bin,addr=0x10080000 \
10 -pidfile ${QEMU_PIDFILE} \
11 -drive file=${QEMU_VHD},id=disk,format=qcow2 \
12 -d guest_errors \
13 -D /tmp/qemu.log \
14 -display none \
15 -s -S \
16 -chardev file,id=char0,path=/dev/null \
17 -monitor pipe:${QEMU_MON_FIFO} \
18 -daemonize