qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/8] hm/mips/fuloong2e fixes


From: BALATON Zoltan
Subject: Re: [PATCH v2 0/8] hm/mips/fuloong2e fixes
Date: Sat, 19 Dec 2020 13:13:27 +0100 (CET)

On Sat, 19 Dec 2020, Jiaxun Yang wrote:
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.

This may be similar problem that I've seen with similar PPC firmwares:

https://osdn.net/projects/qmiga/wiki/SubprojectAti
https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2#h3-Known.20issues

TLDR; vgabios-ati.bin is compiled for i386 real mode (bacause that's what gcc can do, real x86 real mode would need something like bcc I think) that some x86emu can't handle. You can either use Bochs vga bios via romfile property of the vga emulation or try the option for x86emu when compiling vgabios-ati.bin (which did not help the firmwares I've tried).

Regards,
BALATON Zoltan


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(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]