Skip to content

Commit 1c0b759

Browse files
committed
scripts: add armv7r5f-zynqmp-qemu-test.sh
Base script extended with GDB TCP port exposure for uploading test binaries to the image. On dummyfs targets the most convenient way of providing test binaries is dynamically loading them before system startup. JIRA: CI-652
1 parent 3448fdc commit 1c0b759

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Phoenix-RTOS
4+
#
5+
# Shell script for running Phoenix-RTOS on armv7r5f-zynqmp-qemu for testing
6+
# Sources armv7r5f-zynqmp-qemu.sh and extends QEMU_ARGS with a GDB server
7+
#
8+
# Copyright 2026 Phoenix Systems
9+
# Author: Damian Loewnau
10+
#
11+
# SPDX-License-Identifier: BSD-3-Clause
12+
#
13+
14+
# shellcheck source=scripts/armv7r5f-zynqmp-qemu.sh
15+
source "$(dirname "${BASH_SOURCE[0]}")/armv7r5f-zynqmp-qemu.sh" || exit 1
16+
17+
QEMU_ARGS+=("-gdb" "tcp::2024")
18+
19+
exec qemu-system-aarch64 "${QEMU_ARGS[@]}"

0 commit comments

Comments
 (0)