[PATCH 0/4] ppc/Pegasos2: Firmware replacement using VOF

BALATON Zoltan posted 4 patches 2 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1624811233.git.balaton@eik.bme.hu
Maintainers: Greg Kurz <groug@kaod.org>, BALATON Zoltan <balaton@eik.bme.hu>, David Gibson <david@gibson.dropbear.id.au>
default-configs/devices/ppc-softmmu.mak |   2 +-
hw/ppc/Kconfig                          |   1 +
hw/ppc/pegasos2.c                       | 783 +++++++++++++++++++++++-
target/ppc/cpu.c                        |   2 +-
4 files changed, 771 insertions(+), 17 deletions(-)
[PATCH 0/4] ppc/Pegasos2: Firmware replacement using VOF
Posted by BALATON Zoltan 2 years, 10 months ago
Based-on: <20210625055155.2252896-1-aik@ozlabs.ru>
^ That is v22 of Alexey's VOF patch

With this series on top of VOF v22 I can now boot Linux and MorphOS on
pegasos2 without a firmware blob so I hope this is enough to get this
board in 6.1 and also have it enabled so people can start using it
eventually (a lot of people don't compile their QEMU but rely on
binaries from distros and other sources). Provided that VOF will also
be merged by then. This gives VOF another use case that may help it
getting merged at last.

Further info and example command lines can be found at
https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2

Regards,
BALATON Zoltan

BALATON Zoltan (4):
  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                       | 783 +++++++++++++++++++++++-
 target/ppc/cpu.c                        |   2 +-
 4 files changed, 771 insertions(+), 17 deletions(-)

-- 
2.21.4


Re: [PATCH 0/4] ppc/Pegasos2: Firmware replacement using VOF
Posted by BALATON Zoltan 2 years, 10 months ago
On Sun, 27 Jun 2021, BALATON Zoltan wrote:
> Based-on: <20210625055155.2252896-1-aik@ozlabs.ru>
> ^ That is v22 of Alexey's VOF patch
>
> With this series on top of VOF v22 I can now boot Linux and MorphOS on
> pegasos2 without a firmware blob so I hope this is enough to get this
> board in 6.1 and also have it enabled so people can start using it
> eventually (a lot of people don't compile their QEMU but rely on
> binaries from distros and other sources). Provided that VOF will also
> be merged by then. This gives VOF another use case that may help it
> getting merged at last.
>
> Further info and example command lines can be found at
> https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2

Ping? Freeze is coming and this would be the second release pegasos2 
misses (after it missed 6.0) if this is not in the next pull request so 
that's why I'm pushing.

Regards,
BALATON Zoltan


> BALATON Zoltan (4):
>  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                       | 783 +++++++++++++++++++++++-
> target/ppc/cpu.c                        |   2 +-
> 4 files changed, 771 insertions(+), 17 deletions(-)
>
>

Re: [PATCH 0/4] ppc/Pegasos2: Firmware replacement using VOF
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
On 7/1/21 1:35 PM, BALATON Zoltan wrote:
> On Sun, 27 Jun 2021, BALATON Zoltan wrote:
>> Based-on: <20210625055155.2252896-1-aik@ozlabs.ru>
>> ^ That is v22 of Alexey's VOF patch
>>
>> With this series on top of VOF v22 I can now boot Linux and MorphOS on
>> pegasos2 without a firmware blob so I hope this is enough to get this
>> board in 6.1 and also have it enabled so people can start using it
>> eventually (a lot of people don't compile their QEMU but rely on
>> binaries from distros and other sources). Provided that VOF will also
>> be merged by then. This gives VOF another use case that may help it
>> getting merged at last.
>>
>> Further info and example command lines can be found at
>> https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2
> 
> Ping? Freeze is coming and this would be the second release pegasos2
> misses (after it missed 6.0) if this is not in the next pull request so
> that's why I'm pushing.

I'm not sure who can help, I was expecting Alexey would review
your series. Cc'ing Laurent and Greg in case, to help you...

>> BALATON Zoltan (4):
>>  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                       | 783 +++++++++++++++++++++++-
>> target/ppc/cpu.c                        |   2 +-
>> 4 files changed, 771 insertions(+), 17 deletions(-)
>>
>>
> 


Re: [PATCH 0/4] ppc/Pegasos2: Firmware replacement using VOF
Posted by David Gibson 2 years, 10 months ago
On Sun, Jun 27, 2021 at 06:27:13PM +0200, BALATON Zoltan wrote:
> Based-on: <20210625055155.2252896-1-aik@ozlabs.ru>
> ^ That is v22 of Alexey's VOF patch
> 
> With this series on top of VOF v22 I can now boot Linux and MorphOS on
> pegasos2 without a firmware blob so I hope this is enough to get this
> board in 6.1 and also have it enabled so people can start using it
> eventually (a lot of people don't compile their QEMU but rely on
> binaries from distros and other sources). Provided that VOF will also
> be merged by then. This gives VOF another use case that may help it
> getting merged at last.
> 
> Further info and example command lines can be found at
> https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2

Applied to ppc-for-6.1, thanks.

> 
> Regards,
> BALATON Zoltan
> 
> BALATON Zoltan (4):
>   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                       | 783 +++++++++++++++++++++++-
>  target/ppc/cpu.c                        |   2 +-
>  4 files changed, 771 insertions(+), 17 deletions(-)
> 

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