Cyril Plisko <cyril.plisko at gmail.com> wrote:
> Yes, that is the list. I think we discussed it earlier ...
I belioeve this was basically what we did discuss at the CeBit
> > Kernel Space / boot:
> >
> > - GRUB
>
> GRUB2 works in it current state.
> Needs to be augmented with UFS support from Legacy GRUB/Solaris x86.
> GRUB2 network support for OpenFirmware limbo. Good thing is that GRUB2
> community is actively working on it.
UFS support is not needed as long as we put GRUB into the Linux partition ;-)
The Boot archive may use hsfs.
> > - multiboot
>
> The plans for PPC multiboot were recently discussed on GRUB2 mailing
> list. Also good for us since we are not the only one consumer for this
> feature.
It may be similar to the multiboot program for x86
> > - Kernel Virtual memory layout
> >
> > - HAT layer
> >
> > - Interrupt handler
> >
> > - Exception handler
> >
> > - Syscall handler
> >
> > - krtld
>
> All the above are quite a lot of work, but if we get help from the
> SunLabs with the 2.5.1 sources we may march through this quite quickly.
If we like to see a shell prompt, we need to be ready with this....
For the time before, I have an unbuffered kernel printf that I needed to write
in order to find the ATA/SCSI Bugs in Solaris 2.6 x86.
> > - minimal drivers
>
> That is the part where we need _official_ documentation from Marvell.
> Their chip is in the middle of the Pegasos and a lot of things require
> exact knowledge of the chip to drive it correctly.
Marvel is partially located in Berlin. I had a discussion with Marvell
at CeBIT related to the port. It may need that we push them a bit together
with Sun ;-)
> > User Space:
> >
> > - ld.so
>
> Yeah, may be common in part with krtld.
I hope that this is something where we get help from Sun
We need to ass ld to this list as my memory tells me that gld has some
problems.
> > - mdb
>
> Very important thing. In fact having a reliable debugger is
> a most important thing, IMHO.
I did not yet lookinto mdb sources, but if the disassembler is table
driven and if the PPC Opcodes are cleanly defined, it should be doable
within a week and then the work for kmdb has been done too.
> > I propose the following way:
> >
> > - Start with GRUB installed on Linux - Grub should support
> > the needed filesystems
> >
> > - Write multiboot for PPC ----> What is needed here?
>
> Dig GRUB2 ML archive - they have something.
The Solaris x86 multiboot program has special knowledge on Solaris
> > - Do not use a network boot (except for e.g. loading the boot archive)
> > as this would create the need for a MAC driver.
>
> We are in somewhat good shape here since one of the Ethernet interfaces
> on Pegasos II is Realtek. So driver shouldn't be a problem. And, frankly
> speaking, I am a big fun of network boot :)
If we finally toss the rtld driver out of Solaris and replace it with
"rf" driver....
> > - For everything that needs HW access in the first attempt, use
> > callbacks to the Openboot drivers. This is e.g. /dev/console
> > and the HD driver.
>
> console IO - yes, definitely. As for HD - I am not sure. As I said
> I prefer to netboot until the HD driver chain is ready.
Keep in mind that we have no ATA driver source.
> > Questions:
> >
> > - who has skills in what?
>
> I can make pizzas. On the second thought it doesn't seem to
> be relevant here ;) Kernel coding - that's where I can help
> most.
Do you like to contribute a pizza driver or a pizza syscall?
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily