|
From: | Răzvan Corneliu C.R. VILT |
Subject: | Re: [Qemu-ppc] Windows NT 4.0 for PowerPC |
Date: | Mon, 31 Jul 2017 13:05:36 +0300 |
Hi Mark, There are headers for the MZ-PE loader format available in GPL'ed sources. You can also see the veneer.exe file included in the ppc builds. There are some special notes in the CHRP spec about it that I reproduced below. The OpenBios build needs to include MBR, ISO9660 and FAT support next to the existing filesystems. Personally, I'd rather have the loader written in forth, since that would make it loadable as a bootinfo.txt on existing powerpc firmwares, but I'm not picky. The QEMU provided VGA cards that are supported are the cirrus54xx, but I'd have to investigate which HAL actually emulates the x86 bios to POST the VGA card. Andrei Warkentin already wrote a minimal/functional loader based on OPAL/SkiBoot and created a DTS that maps to the Sandal HAL (IBM 6015) using the arc-identifier root property. The vrdebug property is a bitmask that makes it more and more verbose. Veneer knows only 601, 603, 604, 603e and 604e CPUs. It checks for MP support if the CPU is 604 rev>0x304 or 604e. The PPC HAL knows the following arc-identifiers: IBM-6015, IBM-6020, IBM-6040, IBM-6042, IBM-6070, IBM-VICT, IBM-7043, IBM-7442, IBM-Harley, IBM-Jona, IBM-Zapatos, IBM-7042 or entries that start with "IBM PPS Model 7043" or "IBM PPS Model 7442". The PPC HAL is aware of the 0x0001,0x0003,0x0004,0x0006,0x0007,0x0008,0x0009,0x0014 PVR, so 601, 603(multiple), 604 (multiple) AND 620 are also on the list. I believe that a 604+ based PCI machine with a PCI Cirrus adaptor should work. OpenBios needs to support for MBR, ISO9660, VFAT, MZ-PE and settings PNP IDs for not-pci resources in the OF tree. Let me know if I can help. I can dive quite deep in the NT internals. Cheers, Răzvan
|
[Prev in Thread] | Current Thread | [Next in Thread] |