diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-11-29 11:35:21 +0100 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-12-12 16:39:14 +0100 |
commit | c053ab0840f0c7f70a61726c1f7c2861b72a6711 (patch) | |
tree | f242c890c4dd2deb44cd6165b7527bb9a9f4f03a /scripts/qemucommand.py | |
parent | 6848a157080b63c340512f63e9ff7f5b70997c6f (diff) | |
download | meta-updater-c053ab0840f0c7f70a61726c1f7c2861b72a6711.tar.gz |
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 <patrickvacek@gmail.com>
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r-- | scripts/qemucommand.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
58 | if args.efi: | 58 | if args.efi: |
59 | self.bios = 'OVMF.fd' | 59 | self.bios = 'OVMF.fd' |
60 | else: | 60 | else: |
61 | if args.bootloader: | ||
62 | uboot_path = args.bootloader | ||
61 | uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) | 63 | uboot_path = abspath(join(args.dir, self.machine, 'u-boot-qemux86-64.rom')) |
62 | if self.overlay: | 64 | if self.overlay: |
63 | new_uboot_path = self.overlay + '.u-boot.rom' | 65 | new_uboot_path = self.overlay + '.u-boot.rom' |