14 Feb, 2008

1 commit

  • Fix a bug in the lv1_get_repository_node_value() routine of the PS3
    bootwrapper. Changes in the PS3 system firmware 2.20 cause this bug
    to hang the system when branching from the bootwrapper to the kernel
    _start.

    Since the video system has not yet been enabled at the time
    the bug is hit, the system hangs with a blank screen. Earlier
    firmwares don't cause such a catastrophic failure, and so this
    bug went undetected.

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     

22 Jul, 2007

1 commit

  • The PS3 bootwrapper files use instructions only available on 64-bit CPUs.
    Add the code generation directive '.machine "ppc64"' for toolchains
    configured for 32-bit CPUs.

    Signed-off-by: Geoff Levand
    Acked-by: Grant Likely
    Cc: Geert Uytterhoeven
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geoff Levand
     

10 Jul, 2007

1 commit

  • Add support to build the PS3 flash rom image and remove some unneeded
    lmb calls.

    The PS3's lv1 loader supports loading gzipped binary images from flash
    rom to addr zero. The loader enters the image at addr 0x100.

    In this implementation 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.

    zImage.ps3 is a wrapped image that contains a flat device tree, an lv1
    compatible entry point, and an optional initrd. otheros.bld is the gzip
    compresed rom image built from zImage.ps3. otheros.bld is suitable for
    programming into the PS3 boot flash memory.

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand