summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-12-04 17:37:35 +0100
committerGitHub <noreply@github.com>2019-12-04 17:37:35 +0100
commit2db28bc006819eacb8a6cd8d178f82a9fa0d62f1 (patch)
treeb26162c116f2e1b601fc780ec36cb50814c19730 /scripts/qemucommand.py
parent2035b9c38b7c1118ecc390c5c7427cfca5b5b489 (diff)
parenta1d5e04952725f64e268aa12b089841825a5f2b5 (diff)
downloadmeta-updater-2db28bc006819eacb8a6cd8d178f82a9fa0d62f1.tar.gz
Merge pull request #638 from advancedtelematic/feat/custom-uboot
Add --uboot flag to specify path to a custom u-boot rom.
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r--scripts/qemucommand.py2
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'