kernel_optimize_test/arch/powerpc
Geoff Levand bafdb64577 [POWERPC] PS3: Bootwrapper support.
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 <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-07-10 21:56:40 +10:00
..
boot [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10:00
configs [POWERPC] PS3: Update ps3_defconfig 2007-06-28 19:18:06 +10:00
kernel [POWERPC] Make the debugfs "powerpc" dir globally accessible 2007-07-10 21:53:50 +10:00
lib [POWERPC] Fix alignment problem in rh_alloc_align() with exact-sized blocks 2007-05-17 21:10:16 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Move inline asm eieio to using eieio inline function 2007-07-10 00:33:14 -05:00
oprofile [POWERPC] Oprofile enhanced instruction sampling support 2007-07-10 21:55:48 +10:00
platforms [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10:00
sysdev [POWERPC] 8xx: mpc885ads pcmcia support 2007-07-10 00:33:51 -05:00
xmon [POWERPC] Make two xmon variables static 2007-07-10 21:55:46 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Remove PCI-e errata for MPC8641 silicon ver 1.0 2007-06-29 01:58:17 -05:00
Kconfig.debug Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Makefile [POWERPC] Remove 'make zImage.dts' feature 2007-06-25 16:58:12 +10:00