From a1d5e04952725f64e268aa12b089841825a5f2b5 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Fri, 29 Nov 2019 11:35:21 +0100 Subject: Add --bootloader flag to specify path to a custom u-boot rom. Also should work for other bootloaders. This is intended to help with keeping around older versions of images with a similarly old bootloader. Signed-off-by: Patrick Vacek --- scripts/qemucommand.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/qemucommand.py') diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index 9b23c54..cef434d 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py @@ -58,6 +58,8 @@ class QemuCommand(object): if args.efi: self.bios = 'OVMF.fd' else: + if args.bootloader: + uboot_path = args.bootloader uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) if self.overlay: new_uboot_path = self.overlay + '.u-boot.rom' -- cgit v1.2.3-54-g00ecf