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 2. NFS root file system 3. Append initrd to the kernel elf file, in a separate elf section. and have a mini wrapper program which uncompresses the kernel and moves the intird into place. this is what is done on pegasos right now, and the code is in arch/ppc/boot/openfirmware/chrp_main.c if i remember well, by Sven Luther 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 also donot fully understand the comments of imp about "having to implement complete NFS stack in order to load kernel modules" if using NFS root file system, can somebody explain in more detail? Also what is mean "the "official" development platform is the Pegasos"?, or any doc about the target ppc system for porting? Regards Noah This message posted from opensolaris.org
