[OpenBIOS] [Qemu-devel] [PATCH, RFC] Mac99 (CHRP?) support

Blue Swirl blauwirbel at gmail.com
Sat Feb 7 22:05:52 CET 2009


On 2/7/09, Blue Swirl <blauwirbel at gmail.com> wrote:
> On 2/7/09, Aurelien Jarno <aurelien at aurel32.net> wrote:
>  > On Sat, Feb 07, 2009 at 01:38:58PM +0200, Blue Swirl wrote:
>  >  > Hi,
>  >
>  > Hi!
>  >
>  >  > This set of patches adds basic support for Mac99 Qemu machine,
>  >
>  >
>  > As you ask the question in the subject, this machine is a NewWorld
>  >  machine, and not a CHRP one. I think we don't really want to provide a
>  >  CHRP emulated machine, so the best is probably to rename ppc_chrp.c into
>  >  ppc_newworld.c.
>
>
> True. I think RS6000 series were closest to CHRP, not iMac.
>
>  The rename does not affect OHW status, so it could be done immediately.
>
>
>  >  > provided by ppc_chrp.c. I've used the device tree of iMac DV ('99) as
>  >  > reference:
>  >  > http://penguinppc.org/historical/dev-trees-html/imac-dv-99.html
>  >  >
>  >  > The patches changes the machine to use OpenBIOS instead of OHW and
>  >  > otherwise breaks OHW assumptions. On OpenBIOS side there are still
>  >  > some missing bits.
>  >  >
>  >  > Comments welcome.
>  >
>  >
>  > Great work.
>  >
>  >  I gave a quick look at the patches, they looks fine. However I still
>  >  experience some problem with the PowerMac IDE emulation, especially with
>  >  recent kernels, so until it is fixed (Laurent is working on that) I
>  >  think we should keep the CMD646 as a default.
>
>
> OK¸ I'll change that part and send new patches.

This new set of patches perform the rename (to be replaced with SVN
operation). CMD646 is used instead of pmac ide.

Debian 4.0 R6 cd image boots, installer starts but keyboard does not
work (probably because OpenBIOS doesn't advertise OpenPic).

The 6th patch is not wanted, it just switches CMD646 back to pmac, but
it's there if someone wants to play.

Should these be committed or do we want to wait for more OpenBIOS
updates? At least the OpenBIOS patch, patch #0 and patch #5 are
harmless.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o_newworld_support.diff
Type: plain/text
Size: 7343 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_0_rename_chrp_newworld.diff
Type: plain/text
Size: 27456 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_1_newworld_use_openbios.diff
Type: plain/text
Size: 2322 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_2_newworld_use_mac_nvram.diff
Type: plain/text
Size: 1868 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_3_fix_unin_config.diff
Type: plain/text
Size: 1137 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_4b_newworld_use_cmd646.diff
Type: plain/text
Size: 1255 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_5_load_32bit_bios.diff
Type: plain/text
Size: 1866 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q_6_newworld_use_pmac_ide.diff
Type: plain/text
Size: 1266 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20090207/9657c7f9/attachment-0015.bin>


More information about the OpenBIOS mailing list