qemu-ppc
[Top][All Lists]
Advanced

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

Re: Missing dimm-info properties in openbios ?


From: BALATON Zoltan
Subject: Re: Missing dimm-info properties in openbios ?
Date: Fri, 21 Mar 2025 14:30:41 +0100 (CET)

On Fri, 21 Mar 2025, Andrew Randrianasulu wrote:
пт, 21 мар. 2025 г., 03:33 BALATON Zoltan <balaton@eik.bme.hu>:
On Fri, 21 Mar 2025, Andrew Randrianasulu wrote:
чт, 20 мар. 2025 г., 23:41 BALATON Zoltan <balaton@eik.bme.hu>:
On Thu, 20 Mar 2025, Andrew Randrianasulu wrote:
Will look at ATA situation, some said SATA was more likely to work on
real
machines.

I think we've tested that too at some point. There's -device sii3112
that
I've added for sam460ex and AmigaOS but this is a common chip also found
on some Mac compatible SATA cards. You just need the FCode ROM from one
of
those, which were available in updates to these cards. There was one
from
SeriTek and one from WiebeSATA3112 and I think at least one of those
worked with my patches to OpenBIOS to run the ROM so it should work with
real OpenFirmware too. Although that can be a workaround, it would still
be interesting to know why the on board IDE does not work. Maybe it
emulates the IDE found on the G4 but the G3 had something different?
There
were names like Keylargo and O'Hare but I don't remember what these were
exactly.


according to dppc files ...


https://github.com/dingusdev/dingusppc/blob/master/devices/ioctrl/heathrow.cpp


https://github.com/dingusdev/dingusppc/blob/master/devices/ioctrl/macio.h

Heathrow , O'hare, GrandCentral all revisions of macio chip ....

/** PCI device IDs for various MacIO ASICs. */
enum {
   MIO_DEV_ID_GRANDCENTRAL = 0x0002,
   MIO_DEV_ID_OHARE        = 0x0007,
   MIO_DEV_ID_HEATHROW     = 0x0010,
   MIO_DEV_ID_PADDINGTON   = 0x0017,
};

In QEMU macio-oldworld sets PCI device_id to PCI_DEVICE_ID_APPLE_343S1201
which is 0x10 so seems to match Heathrow. Does that match with what a
beige G3 should have?


well, according to this file

https://github.com/dingusdev/dingusppc/blob/master/machines/machinegossamer.cpp

there are TWO types of G3 BEIGE

Power Macintosh G3 (Beige) Tower
Power Macintosh G3 (Beige) Desktop

They are probably very similar, maybe the Tower has more expansion possibilities but the basic devices are the same. They have different machine ids I think and the ROM may behave a bit differently based on that.

hm, default storage device here seems to be ATA ....

Also, I was wrong about Ethernet on those ...
https://github.com/dingusdev/dingusppc/blob/master/zdocs/developers/bmac.md

=====

BMac aka BigMac is an Ethernet media access controller cell integrated in
the Heathrow and Paddington I/O controllers. According to a former Apple
employee, BMac has been licensed from Sun. It's therefore not surprising
that it has a lot in common with the Sun "Happy Meal" (HME) controller.
BMac based Ethernet HW
<https://github.com/dingusdev/dingusppc/blob/master/zdocs/developers/bmac.md#bmac-based-ethernet-hw>

There are three BMac based HW configurations:

  - BMac in a Heathrow I/O + LXT907 PHY used in Power Macintosh G3 (Old
  World)
  - BMac+ in a Paddington I/O + LXT970 aka ST10040 PHY in Power Macintosh
  Blue & White (New World)
  - BMac+ in a Paddington I/O + DP83843 PHY in a Bronze Keyboard PowerBook
  G3

Documentation
<https://github.com/dingusdev/dingusppc/blob/master/zdocs/developers/bmac.md#documentation>

No official documentation has surfaced so far. Fortunately, the official
source code as well as the STP2002 datasheet provide enough information on
the BMac device.

  - Apple source code:
  https://github.com/apple-oss-distributions/AppleBMacEthernet
  - STP2002 datasheet: https://people.freebsd.org/~wpaul/STP2002QFP-UG.pdf

===== quote end ====

We have sungem in QEMU which is newer but maybe similar but I don't know if the ROM can support that. But it should have appropriate FCode ROMs somewhere that should work with OpenFirmware.

and yea, some people updated their G3 cpus to G4 in those machines, so G4
in g3beige is valid combo ..  not sure about real memory ceiling .. some
said 1.5 Gb ?

I think real machine has 3 memory slots and the largest module they support was 512MB so maybe it comes from that.

Regards,
BALATON Zoltan

reply via email to

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