It can now boot Debian installer[1] as well as a custom PMON bootloader distribution[2].
Note that it can't boot PMON shipped with actual machine as our ATI vgabios is using some x86 hack that can't be handled by x86emu in original PMON. Tree avilable at: https://gitlab.com/FlyGoat/qemu/-/tree/fuloong_fixes_v2 v2: - Collect review tags. - Get CPU clock via elegant method. (philmd) - Add boot_linux_console scceptance test [1]: http://archive.debian.org/debian/dists/jessie/main/installer-mipsel/current/images/loongson-2e/netboot/ [2]: https://github.com/loongson-community/pmon/releases/download/20201219/pmon-2edev.bin Thanks. - Jiaxun Jiaxun Yang (8): hw/mips/fuloong2e: Remove define DEBUG_FULOONG2E_INIT hw/mips/fuloong2e: Relpace fault links hw/pci-host/bonito: Fixup IRQ mapping hw/pci-host/bonito: Fixup pci.lomem mapping hw/mips/fuloong2e: Remove unused env entry hw/mips/fuloong2e: Correct cpuclock env hw/mips/fuloong2e: Add highmem support tests/acceptance: Test boot_linux_console for fuloong2e hw/mips/fuloong2e.c | 84 +++++++++++++++++--------- hw/pci-host/bonito.c | 45 ++++---------- tests/acceptance/boot_linux_console.py | 21 +++++++ 3 files changed, 87 insertions(+), 63 deletions(-) -- 2.29.2