[patch 30/33] PS3: Bootwrapper support.

Mark A. Greer mgreer at mvista.com
Tue Jun 19 15:58:14 EST 2007


On Mon, Jun 18, 2007 at 05:01:43PM -0700, Geoff Levand wrote:
> Mark A. Greer wrote:

> > As for the rest of Geoff's patch, I think I get the gist of what's going
> > on but it would be really nice to have it described in English (and put
> > in the patch description).  That way others (like me) could understand
> > the problem you're solving and what your solution is.
> 
> This is from the comment the patch adds to the wrapper script.  I think
> it gives you what you need:
> 
> +ps3)
> +    # The ps3's loader supports loading gzipped binary images from flash
> +    # rom to addr zero. The loader enters the image at addr 0x100.  A
> +    # bootwrapper overlay is use to arrange for the kernel to be loaded
> +    # to addr zero and to have a suitable bootwrapper entry at 0x100.
> +    # To construct the rom image, 0x100 bytes from offset 0x100 in the
> +    # kernel is copied to the bootwrapper symbol __system_reset_kernel.
> +    # The 0x100 bytes at the bootwrapper symbol __system_reset_overlay is
> +    # then copied to offset 0x100.  At runtime the bootwrapper program
> +    # copies the 0x100 bytes at __system_reset_kernel to addr 0x100.

Yes, that was what I needed.  I should have found that myself...my apologies.

Mark



More information about the Linuxppc-dev mailing list