On Fri, 2005-08-19 at 07:03, Noah Yan wrote: > It is a little bit surprising to me that my last post brought lots of noise > about kernel loading. And I would like very much to start a new post with a > summary. I read through all the posts several times and hope I did not miss > any brilliant points. Also this is the first time that I want to seriously > working on an OS kernel porting projects, please correct or shoot me if I > make any incorrect comments: > > First we assume that kernel image has been loaded by GRUB2 > > OpenSolaris ppc root loading/mounting options: > 1. ramdisk, GRUB2 load initrd through netboot, or Open Firmware disk driver
Why initrd rather than mulitboot that Solaris x86 uses today ? > 2. NFS root file system Note that the Grub + ramdisk + NFS root is exactly how Solaris is normally brought up on a new platform. This is exactly what Tim Marsland (Sun Distinguished Engineer) and his team are doing to bring Solaris up on Xen. For some good info on why they do this see: http://blogs.sun.com/roller/page/tpm?entry=solaris_deployment_and_kernel_development > 4. start from a BSD that boots on PPC hardware and create a BSD/Solaris > Frankenstein that slowly morphs into Solaris proper, by Adam. I had thought of this at one point as well but with Solaris x86 using GRUB and us having the ability ignore local disk during early bring up I don't think this is necessary. The NFS stack you need is already there and it should port cleanly as there is nothing architecture specific in there that hasn't already be dealt with by the fact that Solaris runs on x86/x64 and SPARC (32 & 64). -- Darren J Moffat TZ=Europe/Dublin
