Skip to content

Commit

Permalink
Merge pull request #110 from nathanchance/fix-downloading-loongarch-f…
Browse files Browse the repository at this point in the history
…irmware

boot-qemu.py: Fix downloading LoongArch firmware
  • Loading branch information
nathanchance authored Jul 10, 2023
2 parents 2b70520 + 44f12ea commit ef9fa5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot-qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ def __init__(self):
bios = Path(utils.BOOT_UTILS, 'images', self._initrd_arch,
'edk2-loongarch64-code.fd')
if not bios.exists():
bios.parent.mkdir(exist_ok=True, parents=True)
firmware_url = f"https://github.com/loongson/Firmware/raw/main/LoongArchVirtMachine/{bios.name}"
utils.green(
f"Downloading LoongArch firmware from {firmware_url}...")
Expand Down

0 comments on commit ef9fa5a

Please sign in to comment.