Re: [RFC][POWERPC] bootwrapper: Add a firmware-independent

2008-02-10 Thread Milton Miller
On Friday, Feb 8, 2008 David Gibson wrote: > On Fri, Feb 01, 2008 at 11:55:42PM -0700, Grant Likely wrote: > From: Grant Likely [snip] >> +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, >> + unsigned long r6, unsigned long r7) >> +{ >> +const u32 *na, *ns, *reg, *timeb

Re: [RFC][POWERPC] bootwrapper: Add a firmware-independent simpleboot target.

2008-02-08 Thread Grant Likely
On Feb 8, 2008 4:02 AM, David Gibson <[EMAIL PROTECTED]> wrote: > On Fri, Feb 01, 2008 at 11:55:42PM -0700, Grant Likely wrote: > > From: Grant Likely <[EMAIL PROTECTED]> > > + /* Make sure FDT blob is sane */ > > + if (fdt_check_header(_dtb_start) != 0) > > + fatal("Invalid dev

Re: [RFC][POWERPC] bootwrapper: Add a firmware-independent simpleboot target.

2008-02-08 Thread David Gibson
On Fri, Feb 01, 2008 at 11:55:42PM -0700, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> [snip] > +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, > +unsigned long r6, unsigned long r7) > +{ > + const u32 *na, *ns, *reg, *timebase; > +

Re: [RFC][POWERPC] bootwrapper: Add a firmware-independent simpleboot target.

2008-02-01 Thread Grant Likely
On 2/1/08, Grant Likely <[EMAIL PROTECTED]> wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > This target produces a flat binary rather than an ELF file, > fixes the entry point at the beginning of the image, and takes > a complete device tree with no fixups needed. > > Based on 'raw' target writ