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