From e717ee5e11cb58fbb48d6e4ac1302e075caa75ea Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 23 Apr 2021 13:49:09 +0100 Subject: [PATCH] add qemuopts --- src/openpower/simulator/qemu_test/memmap | 11 +++++++++++ src/openpower/simulator/qemu_test/qemuopts.txt | 1 + 2 files changed, 12 insertions(+) create mode 100644 src/openpower/simulator/qemu_test/memmap create mode 100755 src/openpower/simulator/qemu_test/qemuopts.txt diff --git a/src/openpower/simulator/qemu_test/memmap b/src/openpower/simulator/qemu_test/memmap new file mode 100644 index 00000000..8cc1a16e --- /dev/null +++ b/src/openpower/simulator/qemu_test/memmap @@ -0,0 +1,11 @@ + +MEMORY +{ + ram : ORIGIN = 0x20000000, LENGTH = 128M +} + +SECTIONS +{ + .text : { *(.text*) } > ram + .bss : { *(.text*) } > ram +} diff --git a/src/openpower/simulator/qemu_test/qemuopts.txt b/src/openpower/simulator/qemu_test/qemuopts.txt new file mode 100755 index 00000000..06d7c9c0 --- /dev/null +++ b/src/openpower/simulator/qemu_test/qemuopts.txt @@ -0,0 +1 @@ +-machine powernv9 -nographic -s -S -kernel kernel.bin -- 2.30.2