[RFC PATCH 0/5] ppc/Pegasos2 VOF

BALATON Zoltan posted 5 patches 2 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1622994395.git.balaton@eik.bme.hu
Maintainers: BALATON Zoltan <balaton@eik.bme.hu>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Alexey Kardashevskiy <aik@ozlabs.ru>
default-configs/devices/ppc-softmmu.mak |   2 +-
hw/ppc/Kconfig                          |   1 +
hw/ppc/pegasos2.c                       | 780 +++++++++++++++++++++++-
hw/ppc/vof.c                            |  11 +-
pc-bios/vof.bin                         | Bin 3784 -> 3784 bytes
pc-bios/vof/entry.S                     |   2 +-
target/ppc/cpu.c                        |   2 +-
7 files changed, 776 insertions(+), 22 deletions(-)
[RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by BALATON Zoltan 2 years, 11 months ago
Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
^ That is v20 of Alexey's VOF patch

Hello,

Posting these for early review now. I plan to rebase on the next VOF
patch that hopefully fixes those points that I had to circumvent in
patch 1 for now. I've reported these before but now all of those that
are needed for pegasos2 are in one place. Other points I've reported
could be clean ups but not sttictly needed.

With this series on top of VOF v20 I can now boot Linux and MorphOS on
pegasos2 without needing a firmware blob so I hope this is enough to
get this board in 6.1 and also have it enabled so users can start
using it. That means that VOF will also be merged by then. This now
gives VOF another use case that may help it getting finished.

I've also updated my development tree with this series here:

https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/

Please review so I can do any needed changes together with the rebase
on next VOF patch so we don't miss 6.1 this time.

Regards,
BALATON Zoltan

BALATON Zoltan (5):
  Misc VOF fixes
  ppc/pegasos2: Introduce Pegasos2MachineState structure
  target/ppc: Allow virtual hypervisor on CPU without HV
  ppc/pegasos2: Use Virtual Open Firmware as firmware replacement
  ppc/pegasos2: Implement some RTAS functions with VOF

 default-configs/devices/ppc-softmmu.mak |   2 +-
 hw/ppc/Kconfig                          |   1 +
 hw/ppc/pegasos2.c                       | 780 +++++++++++++++++++++++-
 hw/ppc/vof.c                            |  11 +-
 pc-bios/vof.bin                         | Bin 3784 -> 3784 bytes
 pc-bios/vof/entry.S                     |   2 +-
 target/ppc/cpu.c                        |   2 +-
 7 files changed, 776 insertions(+), 22 deletions(-)

-- 
2.21.4


Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by Alexey Kardashevskiy 2 years, 10 months ago

On 6/7/21 01:46, BALATON Zoltan wrote:
> 
> Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
> ^ That is v20 of Alexey's VOF patch
> 
> Hello,
> 
> Posting these for early review now. I plan to rebase on the next VOF
> patch that hopefully fixes those points that I had to circumvent in
> patch 1 for now. I've reported these before but now all of those that
> are needed for pegasos2 are in one place. Other points I've reported
> could be clean ups but not sttictly needed.
> 
> With this series on top of VOF v20 I can now boot Linux and MorphOS on
> pegasos2 without needing a firmware blob so I hope this is enough to
> get this board in 6.1 and also have it enabled so users can start
> using it. That means that VOF will also be merged by then. This now
> gives VOF another use case that may help it getting finished.
> 
> I've also updated my development tree with this series here:
> 
> https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
> 
> Please review so I can do any needed changes together with the rebase
> on next VOF patch so we don't miss 6.1 this time.


It would help if you provided the disk or/and kernel or/and initramdisk 
images and the example command line to give this a try. And said a few 
words who is this Pegasos2 guy :) The series looks ok to me otherwise. 
Thanks,

> 
> Regards,
> BALATON Zoltan
> 
> BALATON Zoltan (5):
>    Misc VOF fixes
>    ppc/pegasos2: Introduce Pegasos2MachineState structure
>    target/ppc: Allow virtual hypervisor on CPU without HV
>    ppc/pegasos2: Use Virtual Open Firmware as firmware replacement
>    ppc/pegasos2: Implement some RTAS functions with VOF
> 
>   default-configs/devices/ppc-softmmu.mak |   2 +-
>   hw/ppc/Kconfig                          |   1 +
>   hw/ppc/pegasos2.c                       | 780 +++++++++++++++++++++++-
>   hw/ppc/vof.c                            |  11 +-
>   pc-bios/vof.bin                         | Bin 3784 -> 3784 bytes
>   pc-bios/vof/entry.S                     |   2 +-
>   target/ppc/cpu.c                        |   2 +-
>   7 files changed, 776 insertions(+), 22 deletions(-)
> 

-- 
Alexey

Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by BALATON Zoltan 2 years, 10 months ago
On Wed, 9 Jun 2021, Alexey Kardashevskiy wrote:
> On 6/7/21 01:46, BALATON Zoltan wrote:
>> Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
>> ^ That is v20 of Alexey's VOF patch
>> 
>> Hello,
>> 
>> Posting these for early review now. I plan to rebase on the next VOF
>> patch that hopefully fixes those points that I had to circumvent in
>> patch 1 for now. I've reported these before but now all of those that
>> are needed for pegasos2 are in one place. Other points I've reported
>> could be clean ups but not sttictly needed.
>> 
>> With this series on top of VOF v20 I can now boot Linux and MorphOS on
>> pegasos2 without needing a firmware blob so I hope this is enough to
>> get this board in 6.1 and also have it enabled so users can start
>> using it. That means that VOF will also be merged by then. This now
>> gives VOF another use case that may help it getting finished.
>> 
>> I've also updated my development tree with this series here:
>> 
>> https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
>> 
>> Please review so I can do any needed changes together with the rebase
>> on next VOF patch so we don't miss 6.1 this time.
>
>
> It would help if you provided the disk or/and kernel or/and initramdisk 
> images and the example command line to give this a try. And said a few words 
> who is this Pegasos2 guy :) The series looks ok to me otherwise. Thanks,

These were in the original series adding this board:

https://patchew.org/QEMU/cover.1616680239.git.balaton@eik.bme.hu/

For testing I've used the kernel from debian 8.11.0 powerpc iso which is 
known to work on real hardware and MorphOS demo iso available from 
www.morphos-team.net. For debian look into install/pegasos to find the 
right vmlinuz-chrp.initrd kernel, for MorphOS use the boot.img from root 
of the iso as -kernel.

What's still missing is some rtas functions like get-time-of-day. Are 
these any kind of standard and is there a doc about their parameters and 
returns or I'll heave to find out from kernel sources? I plan to add these 
later but not needed to get it boot.

Regards,
BALATON Zoltan

Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by Alexey Kardashevskiy 2 years, 10 months ago

On 6/9/21 20:28, BALATON Zoltan wrote:
> On Wed, 9 Jun 2021, Alexey Kardashevskiy wrote:
>> On 6/7/21 01:46, BALATON Zoltan wrote:
>>> Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
>>> ^ That is v20 of Alexey's VOF patch
>>>
>>> Hello,
>>>
>>> Posting these for early review now. I plan to rebase on the next VOF
>>> patch that hopefully fixes those points that I had to circumvent in
>>> patch 1 for now. I've reported these before but now all of those that
>>> are needed for pegasos2 are in one place. Other points I've reported
>>> could be clean ups but not sttictly needed.
>>>
>>> With this series on top of VOF v20 I can now boot Linux and MorphOS on
>>> pegasos2 without needing a firmware blob so I hope this is enough to
>>> get this board in 6.1 and also have it enabled so users can start
>>> using it. That means that VOF will also be merged by then. This now
>>> gives VOF another use case that may help it getting finished.
>>>
>>> I've also updated my development tree with this series here:
>>>
>>> https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
>>>
>>> Please review so I can do any needed changes together with the rebase
>>> on next VOF patch so we don't miss 6.1 this time.
>>
>>
>> It would help if you provided the disk or/and kernel or/and 
>> initramdisk images and the example command line to give this a try. 
>> And said a few words who is this Pegasos2 guy :) The series looks ok 
>> to me otherwise. Thanks,
> 
> These were in the original series adding this board:
> 
> https://patchew.org/QEMU/cover.1616680239.git.balaton@eik.bme.hu/


Ah ok. Thanks!


> For testing I've used the kernel from debian 8.11.0 powerpc iso which is 
> known to work on real hardware and MorphOS demo iso available from 
> www.morphos-team.net. For debian look into install/pegasos to find the 
> right vmlinuz-chrp.initrd kernel, for MorphOS use the boot.img from root 
> of the iso as -kernel.
> 
> What's still missing is some rtas functions like get-time-of-day. Are 
> these any kind of standard and is there a doc about their parameters and 
> returns or I'll heave to find out from kernel sources? I plan to add 
> these later but not needed to get it boot.

pseries guests use what the LoPAPR spec (derived from sPAPR - "server 
PAPR") describes:

https://openpowerfoundation.org/?resource_lib=linux-on-power-architecture-platform-reference


-- 
Alexey

Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by David Gibson 2 years, 10 months ago
On Thu, Jun 10, 2021 at 05:14:45PM +1000, Alexey Kardashevskiy wrote:
> 
> 
> On 6/9/21 20:28, BALATON Zoltan wrote:
> > On Wed, 9 Jun 2021, Alexey Kardashevskiy wrote:
> > > On 6/7/21 01:46, BALATON Zoltan wrote:
> > > > Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
> > > > ^ That is v20 of Alexey's VOF patch
> > > > 
> > > > Hello,
> > > > 
> > > > Posting these for early review now. I plan to rebase on the next VOF
> > > > patch that hopefully fixes those points that I had to circumvent in
> > > > patch 1 for now. I've reported these before but now all of those that
> > > > are needed for pegasos2 are in one place. Other points I've reported
> > > > could be clean ups but not sttictly needed.
> > > > 
> > > > With this series on top of VOF v20 I can now boot Linux and MorphOS on
> > > > pegasos2 without needing a firmware blob so I hope this is enough to
> > > > get this board in 6.1 and also have it enabled so users can start
> > > > using it. That means that VOF will also be merged by then. This now
> > > > gives VOF another use case that may help it getting finished.
> > > > 
> > > > I've also updated my development tree with this series here:
> > > > 
> > > > https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
> > > > 
> > > > Please review so I can do any needed changes together with the rebase
> > > > on next VOF patch so we don't miss 6.1 this time.
> > > 
> > > 
> > > It would help if you provided the disk or/and kernel or/and
> > > initramdisk images and the example command line to give this a try.
> > > And said a few words who is this Pegasos2 guy :) The series looks ok
> > > to me otherwise. Thanks,
> > 
> > These were in the original series adding this board:
> > 
> > https://patchew.org/QEMU/cover.1616680239.git.balaton@eik.bme.hu/
> 
> 
> Ah ok. Thanks!
> 
> 
> > For testing I've used the kernel from debian 8.11.0 powerpc iso which is
> > known to work on real hardware and MorphOS demo iso available from
> > www.morphos-team.net. For debian look into install/pegasos to find the
> > right vmlinuz-chrp.initrd kernel, for MorphOS use the boot.img from root
> > of the iso as -kernel.
> > 
> > What's still missing is some rtas functions like get-time-of-day. Are
> > these any kind of standard and is there a doc about their parameters and
> > returns or I'll heave to find out from kernel sources? I plan to add
> > these later but not needed to get it boot.
> 
> pseries guests use what the LoPAPR spec (derived from sPAPR - "server PAPR")
> describes:
> 
> https://openpowerfoundation.org/?resource_lib=linux-on-power-architecture-platform-reference

Of course pegasos won't remotely be PAPR, but you could look at how
the RTAS functions are defined there.

I'm not really sure of the origins of RTAS.  It's not in plain
IEEE1275 (the original OF spec), but the fact pegasos uses it suggests
it's not purely a PAPR thing, either.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by BALATON Zoltan 2 years, 10 months ago

On Thu, 10 Jun 2021, David Gibson wrote:

> On Thu, Jun 10, 2021 at 05:14:45PM +1000, Alexey Kardashevskiy wrote:
>>
>>
>> On 6/9/21 20:28, BALATON Zoltan wrote:
>>> On Wed, 9 Jun 2021, Alexey Kardashevskiy wrote:
>>>> On 6/7/21 01:46, BALATON Zoltan wrote:
>>>>> Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
>>>>> ^ That is v20 of Alexey's VOF patch
>>>>>
>>>>> Hello,
>>>>>
>>>>> Posting these for early review now. I plan to rebase on the next VOF
>>>>> patch that hopefully fixes those points that I had to circumvent in
>>>>> patch 1 for now. I've reported these before but now all of those that
>>>>> are needed for pegasos2 are in one place. Other points I've reported
>>>>> could be clean ups but not sttictly needed.
>>>>>
>>>>> With this series on top of VOF v20 I can now boot Linux and MorphOS on
>>>>> pegasos2 without needing a firmware blob so I hope this is enough to
>>>>> get this board in 6.1 and also have it enabled so users can start
>>>>> using it. That means that VOF will also be merged by then. This now
>>>>> gives VOF another use case that may help it getting finished.
>>>>>
>>>>> I've also updated my development tree with this series here:
>>>>>
>>>>> https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
>>>>>
>>>>> Please review so I can do any needed changes together with the rebase
>>>>> on next VOF patch so we don't miss 6.1 this time.
>>>>
>>>>
>>>> It would help if you provided the disk or/and kernel or/and
>>>> initramdisk images and the example command line to give this a try.
>>>> And said a few words who is this Pegasos2 guy :) The series looks ok
>>>> to me otherwise. Thanks,
>>>
>>> These were in the original series adding this board:
>>>
>>> https://patchew.org/QEMU/cover.1616680239.git.balaton@eik.bme.hu/
>>
>>
>> Ah ok. Thanks!
>>
>>
>>> For testing I've used the kernel from debian 8.11.0 powerpc iso which is
>>> known to work on real hardware and MorphOS demo iso available from
>>> www.morphos-team.net. For debian look into install/pegasos to find the
>>> right vmlinuz-chrp.initrd kernel, for MorphOS use the boot.img from root
>>> of the iso as -kernel.
>>>
>>> What's still missing is some rtas functions like get-time-of-day. Are
>>> these any kind of standard and is there a doc about their parameters and
>>> returns or I'll heave to find out from kernel sources? I plan to add
>>> these later but not needed to get it boot.
>>
>> pseries guests use what the LoPAPR spec (derived from sPAPR - "server PAPR")
>> describes:
>>
>> https://openpowerfoundation.org/?resource_lib=linux-on-power-architecture-platform-reference
>
> Of course pegasos won't remotely be PAPR, but you could look at how
> the RTAS functions are defined there.
>
> I'm not really sure of the origins of RTAS.  It's not in plain
> IEEE1275 (the original OF spec), but the fact pegasos uses it suggests
> it's not purely a PAPR thing, either.

Pegasos is supposed to be a CHRP platform so maybe there's something on it 
in that doc, I haven't checked yet but now you mentioned these I should 
probably look there.

Thenks,
BALATON Zoltan

Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by David Gibson 2 years, 10 months ago
On Thu, Jun 10, 2021 at 12:04:59PM +0200, BALATON Zoltan wrote:
> 
> 
> On Thu, 10 Jun 2021, David Gibson wrote:
> 
> > On Thu, Jun 10, 2021 at 05:14:45PM +1000, Alexey Kardashevskiy wrote:
> > > 
> > > 
> > > On 6/9/21 20:28, BALATON Zoltan wrote:
> > > > On Wed, 9 Jun 2021, Alexey Kardashevskiy wrote:
> > > > > On 6/7/21 01:46, BALATON Zoltan wrote:
> > > > > > Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
> > > > > > ^ That is v20 of Alexey's VOF patch
> > > > > > 
> > > > > > Hello,
> > > > > > 
> > > > > > Posting these for early review now. I plan to rebase on the next VOF
> > > > > > patch that hopefully fixes those points that I had to circumvent in
> > > > > > patch 1 for now. I've reported these before but now all of those that
> > > > > > are needed for pegasos2 are in one place. Other points I've reported
> > > > > > could be clean ups but not sttictly needed.
> > > > > > 
> > > > > > With this series on top of VOF v20 I can now boot Linux and MorphOS on
> > > > > > pegasos2 without needing a firmware blob so I hope this is enough to
> > > > > > get this board in 6.1 and also have it enabled so users can start
> > > > > > using it. That means that VOF will also be merged by then. This now
> > > > > > gives VOF another use case that may help it getting finished.
> > > > > > 
> > > > > > I've also updated my development tree with this series here:
> > > > > > 
> > > > > > https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
> > > > > > 
> > > > > > Please review so I can do any needed changes together with the rebase
> > > > > > on next VOF patch so we don't miss 6.1 this time.
> > > > > 
> > > > > 
> > > > > It would help if you provided the disk or/and kernel or/and
> > > > > initramdisk images and the example command line to give this a try.
> > > > > And said a few words who is this Pegasos2 guy :) The series looks ok
> > > > > to me otherwise. Thanks,
> > > > 
> > > > These were in the original series adding this board:
> > > > 
> > > > https://patchew.org/QEMU/cover.1616680239.git.balaton@eik.bme.hu/
> > > 
> > > 
> > > Ah ok. Thanks!
> > > 
> > > 
> > > > For testing I've used the kernel from debian 8.11.0 powerpc iso which is
> > > > known to work on real hardware and MorphOS demo iso available from
> > > > www.morphos-team.net. For debian look into install/pegasos to find the
> > > > right vmlinuz-chrp.initrd kernel, for MorphOS use the boot.img from root
> > > > of the iso as -kernel.
> > > > 
> > > > What's still missing is some rtas functions like get-time-of-day. Are
> > > > these any kind of standard and is there a doc about their parameters and
> > > > returns or I'll heave to find out from kernel sources? I plan to add
> > > > these later but not needed to get it boot.
> > > 
> > > pseries guests use what the LoPAPR spec (derived from sPAPR - "server PAPR")
> > > describes:
> > > 
> > > https://openpowerfoundation.org/?resource_lib=linux-on-power-architecture-platform-reference
> > 
> > Of course pegasos won't remotely be PAPR, but you could look at how
> > the RTAS functions are defined there.
> > 
> > I'm not really sure of the origins of RTAS.  It's not in plain
> > IEEE1275 (the original OF spec), but the fact pegasos uses it suggests
> > it's not purely a PAPR thing, either.
> 
> Pegasos is supposed to be a CHRP platform so maybe there's something on it
> in that doc, I haven't checked yet but now you mentioned these I should
> probably look there.

Sounds like a good bet.  I believe PAPR is a distant descendent of
CHRP, so that seems pretty likely.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
R: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by luigi burdo 2 years, 10 months ago
Hi Zoltan,
i dont know if you know and if in the docs is described the pegasos II can support smp dual G4 cpu.
Here some hystorical info about this great machine from the past Phase 5 A\BOX (kosmoplovci.net)<https://www.kosmoplovci.net/hc/hc4/tech/phase5-abox.html>.
i remember really good that period (when i was young man)... the  caipirinha become one of my best cocktail 🙂

Ciao
Luigi

________________________________
Da: Qemu-ppc <qemu-ppc-bounces+intermediadc=hotmail.com@nongnu.org> per conto di BALATON Zoltan <balaton@eik.bme.hu>
Inviato: giovedì 10 giugno 2021 12:04
A: David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-ppc@nongnu.org <qemu-ppc@nongnu.org>; qemu-devel@nongnu.org <qemu-devel@nongnu.org>
Oggetto: Re: [RFC PATCH 0/5] ppc/Pegasos2 VOF



On Thu, 10 Jun 2021, David Gibson wrote:

> On Thu, Jun 10, 2021 at 05:14:45PM +1000, Alexey Kardashevskiy wrote:
>>
>>
>> On 6/9/21 20:28, BALATON Zoltan wrote:
>>> On Wed, 9 Jun 2021, Alexey Kardashevskiy wrote:
>>>> On 6/7/21 01:46, BALATON Zoltan wrote:
>>>>> Based-on: <20210520090557.435689-1-aik@ozlabs.ru>
>>>>> ^ That is v20 of Alexey's VOF patch
>>>>>
>>>>> Hello,
>>>>>
>>>>> Posting these for early review now. I plan to rebase on the next VOF
>>>>> patch that hopefully fixes those points that I had to circumvent in
>>>>> patch 1 for now. I've reported these before but now all of those that
>>>>> are needed for pegasos2 are in one place. Other points I've reported
>>>>> could be clean ups but not sttictly needed.
>>>>>
>>>>> With this series on top of VOF v20 I can now boot Linux and MorphOS on
>>>>> pegasos2 without needing a firmware blob so I hope this is enough to
>>>>> get this board in 6.1 and also have it enabled so users can start
>>>>> using it. That means that VOF will also be merged by then. This now
>>>>> gives VOF another use case that may help it getting finished.
>>>>>
>>>>> I've also updated my development tree with this series here:
>>>>>
>>>>> https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/
>>>>>
>>>>> Please review so I can do any needed changes together with the rebase
>>>>> on next VOF patch so we don't miss 6.1 this time.
>>>>
>>>>
>>>> It would help if you provided the disk or/and kernel or/and
>>>> initramdisk images and the example command line to give this a try.
>>>> And said a few words who is this Pegasos2 guy :) The series looks ok
>>>> to me otherwise. Thanks,
>>>
>>> These were in the original series adding this board:
>>>
>>> https://patchew.org/QEMU/cover.1616680239.git.balaton@eik.bme.hu/
>>
>>
>> Ah ok. Thanks!
>>
>>
>>> For testing I've used the kernel from debian 8.11.0 powerpc iso which is
>>> known to work on real hardware and MorphOS demo iso available from
>>> www.morphos-team.net<http://www.morphos-team.net>. For debian look into install/pegasos to find the
>>> right vmlinuz-chrp.initrd kernel, for MorphOS use the boot.img from root
>>> of the iso as -kernel.
>>>
>>> What's still missing is some rtas functions like get-time-of-day. Are
>>> these any kind of standard and is there a doc about their parameters and
>>> returns or I'll heave to find out from kernel sources? I plan to add
>>> these later but not needed to get it boot.
>>
>> pseries guests use what the LoPAPR spec (derived from sPAPR - "server PAPR")
>> describes:
>>
>> https://openpowerfoundation.org/?resource_lib=linux-on-power-architecture-platform-reference
>
> Of course pegasos won't remotely be PAPR, but you could look at how
> the RTAS functions are defined there.
>
> I'm not really sure of the origins of RTAS.  It's not in plain
> IEEE1275 (the original OF spec), but the fact pegasos uses it suggests
> it's not purely a PAPR thing, either.

Pegasos is supposed to be a CHRP platform so maybe there's something on it
in that doc, I haven't checked yet but now you mentioned these I should
probably look there.

Thenks,
BALATON Zoltan

Re: R: [RFC PATCH 0/5] ppc/Pegasos2 VOF
Posted by BALATON Zoltan 2 years, 10 months ago
On Thu, 10 Jun 2021, luigi burdo wrote:
> i dont know if you know and if in the docs is described the pegasos II can support smp dual G4 cpu.

I think theoretically the Marvell Discovery II chip can support dual CPU 
and meybe even a G5, this is described in its docs. However in practice 
this was never implemented for Pegasos2 and there was only either a G3 or 
G4 single CPU card available for it. It probably does not make much sense 
to emulate anything else than the G4 version as that's what has the most 
features that guest OSes can use. The current emulation is just enough for 
that and I don't plan to implement more of the MV64361 chip to emulate non 
existent SMP configs as probably nothing would run on it anyway so it does 
not worth the extra effort.

> Here some hystorical info about this great machine from the past Phase 5 A\BOX (kosmoplovci.net)<https://www.kosmoplovci.net/hc/hc4/tech/phase5-abox.html>.
> i remember really good that period (when i was young man)... the  caipirinha become one of my best cocktail 🙂

Maybe interesting for history behind Pegasos2 only but otherwise probably 
not too relevant to how it was actually implemented at the end which is 
what counts if you want to run existing guests OSes. This doc seems to 
describe a system that wasn't implemented but instead a similar system was 
made from off the shelf components available at the time so for emulation 
a better reference are the docs of those chips.

Regards.
BALATON Zoltan