On Wed, 2006-06-28 at 16:24 -0400, Vivek Goyal wrote: > On Wed, Jun 28, 2006 at 10:19:53PM +0200, jf simon wrote: > > Hi Vivek, > > > > > > >>Here is what I am trying to: > > >>I use an IBM Maple (IBM 970 ppc64 cpu) platform. It uses the PIBS > > >>firmware. But I want PIBS to load an embedded linux out of flash. Then, > > >>from that embedded linux environment, I want to load a linux kernel from > > >>the disk. So you are saying that I could use kexec to load the linux > > >>kernel fromthe disk?
You don't use kexec to load the second kernel, you use the first kernel to load the second kernel. > > One last question: > > Linux ppc64 kernels requires that an openfirmware device tree is passed > > to them (typically from the firmware) when they boot. Is kexec able to > > pass that device tree to the new kernel? > > Thanks a lot for your help, Yes. It uses the contents of /proc/device-tree to generate a new device tree for the second kernel. There is also an option to pass a device tree you generate yourself with the device tree compiler, although you probably don't need that. cheers -- Michael Ellerman IBM OzLabs wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person
signature.asc
Description: This is a digitally signed message part
_______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
