kumquat-buildroot/board/qemu
Romain Naour 3fc3289a3f board/qemu/post-image.sh: execute from BINARIES_DIR
Usually the qemu command line start directly with "qemu-system-<arch> ...".
But the command line for qemu_arm_vexpress_tz_defconfig start by doing
"cd output/images && ../host/bin/qemu-system-arm". This is necessary
since boot binaries, except BL1, are primarily loaded via semi-hosting
so all binaries has to reside in the same directory as QEMU is started
from [1].

To order to handle this case correctly, update the post-image.sh used
by all qemu defconfigs to execute qemu from BINARIES_DIR.

Since we have to change the current directory use a subshell to
restore the current directory after Qemu execution.

[1] 4ebbea9592/docs/plat/qemu.rst

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-05 22:34:28 +01:00
..
aarch64-virt board/qemu/aarch64-virt/linux.config: enable VIRTIO_FS driver 2020-07-11 15:54:17 +02:00
arm-versatile board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
arm-vexpress board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
arm-vexpress-tz board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
csky board/qemu: add defconfig file name as tag after the qemu command line 2020-04-13 21:51:12 +02:00
m68k-mcf5208 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
m68k-q800 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
microblazebe-mmu board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
microblazeel-mmu board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r2-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r2el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r6-malta configs/qemu_mips32r6: fix Linux kernel build with gcc 10.x 2020-08-05 23:13:13 +02:00
mips32r6el-malta configs/qemu_mips32r6: fix Linux kernel build with gcc 10.x 2020-08-05 23:13:13 +02:00
mips64-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64r6-malta configs/qemu_mips64r6: fix Linux kernel build with gcc 10.x 2020-08-05 23:13:47 +02:00
mips64r6el-malta configs/qemu_mips64r6: fix Linux kernel build with gcc 10.x 2020-08-05 23:13:47 +02:00
nios2-10m50 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
or1k board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64-e5500 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64-pseries board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64le-pseries board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-g3beige board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-mac99 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-mpc8544ds board/qemu/ppc-mpc8544ds: apply Debian patch fixing wrong mcpu 2020-11-09 21:23:46 +01:00
ppc-virtex-ml507 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
riscv32-virt configs/qemu_riscv32_virt: use Linux 5.4 kernel 2020-09-03 23:47:39 +02:00
riscv64-virt board/qemu/riscv64-virt: update qemu cmdline for Qemu >= 5.1 2020-10-03 09:00:59 +02:00
s390x board/qemu: add IBM s390x and Z arch support 2020-09-24 22:55:37 +02:00
sh4-r2d board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33 2020-06-24 22:40:55 +02:00
sh4eb-r2d board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33 2020-06-24 22:40:55 +02:00
sparc64-sun4u board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
sparc-ss10 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
x86 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
x86_64 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
xtensa-lx60 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
post-image.sh board/qemu/post-image.sh: execute from BINARIES_DIR 2020-12-05 22:34:28 +01:00