diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2020-09-28 12:53:38 +0300 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2020-09-28 12:53:38 +0300 |
commit | af86c77cb41df940efa1d47f090ec2fecb325d15 (patch) | |
tree | 5c02d171d5562de65fe4531d86fa9b99faaf39ed | |
parent | c87dd8b35fe7cd1672c38de6589bd0e2326f255c (diff) |
rename firmware files for ovmf/u-boot
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rwxr-xr-x | qemu/run_qemu.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu/run_qemu.sh b/qemu/run_qemu.sh index 180ee81..5d718c1 100755 --- a/qemu/run_qemu.sh +++ b/qemu/run_qemu.sh @@ -8,7 +8,8 @@ extra_args='' common_args='' qemu_prefix='qemu-system-' efi_keys='ledge-kernel-uefi-certs.ext4.img' -ovmf_file='QEMU_EFI.fd' +ovmf_file='firmware.uefi-edk2.bin' +firmware_file='firmware.uefi.uboot.bin' print_help () { echo "$0 <arch> <file> [firmware_type]" @@ -34,7 +35,6 @@ case "$arch" in x86_64) extra_args+=' -cpu host -enable-kvm ' if [ "$firmware" = 'ovmf' ]; then - ovmf_file='ovmf.qcow2' extra_args+=" -drive file=$disk_image,id=hd,format=raw " extra_args+=" -drive if=pflash,format=qcow2,file=$ovmf_file " else @@ -51,7 +51,7 @@ case "$arch" in extra_args+=' -machine virt' extra_args+=" -bios $ovmf_file" else - extra_args+=' -bios firmware.bin ' + extra_args+=" -bios $firmware_file " extra_args+=' -machine virt,secure=on ' extra_args+=' -d unimp ' extra_args+=" -drive id=disk1,file=$efi_keys,if=none,format=raw" @@ -67,7 +67,7 @@ case "$arch" in extra_args+=' -machine virt' extra_args+=" -bios $ovmf_file" else - extra_args+=' -bios firmware.bin ' + extra_args+=" -bios $firmware_file " extra_args+=' -no-reboot' extra_args+=' -machine virt,secure=on ' extra_args+=' -d unimp ' |