Commit 5ad9899
committed
boot-qemu.py: Add support for LoongArch
LoongArch requires EFI firmware to boot, which is available as a
precompiled blob from Loongson's GitHub, so it is downloaded when
running 'boot-qemu.py -a loongarch' for the first time. There is no
update mechanism like for the rootfs images for a simple implementation.
If there comes a time where the firmware has to be updated for the
machine to boot properly, such a mechanism can be implemented then.
Other than that, the rest of the support is pretty straightforward. The
defaults for cores and memory are a little higher than other machines,
as that is what other folks are testing.
Closes: #108
Signed-off-by: Nathan Chancellor <nathan@kernel.org>1 parent a500d1b commit 5ad9899
1 file changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
479 | 509 | | |
480 | 510 | | |
481 | 511 | | |
| |||
699 | 729 | | |
700 | 730 | | |
701 | 731 | | |
| 732 | + | |
702 | 733 | | |
703 | 734 | | |
704 | 735 | | |
| |||
802 | 833 | | |
803 | 834 | | |
804 | 835 | | |
| 836 | + | |
805 | 837 | | |
806 | 838 | | |
807 | 839 | | |
| |||
0 commit comments