Thread (31 messages) 31 messages, 7 authors, 2007-03-29

Re: [PATCH 17/19] bootwrapper: compatibility layer for old U-Boots (a.k.a. cuImage, cuboot)

From: Kumar Gala <hidden>
Date: 2007-03-12 21:09:00

On Mar 12, 2007, at 3:42 PM, Scott Wood wrote:
Add a bootwrapper platform (cuboot) that takes a bd_t from a legacy
U-Boot, and inserts data from it into a device tree which has been
compiled into the kernel.  This should help ease the transition to
arch/powerpc in cases where U-Boot has not yet been updated to pass a
device tree, or where upgrading firmware isn't practical.

The device trees currently in the kernel tree must have
/chosen/linux,stdout-path added to work with cuboot.
Why is linux,stdout-path needed by cuboot?
The kernel command line, mac addresses, and various clocks will be  
filled
in based on the bd_t.

Signed-off-by: Scott Wood <redacted>
---
 arch/powerpc/Kconfig                      |   16 ++++
 arch/powerpc/Makefile                     |    2 +-
 arch/powerpc/boot/.gitignore              |    3 +
 arch/powerpc/boot/Makefile                |   20 ++++-
 arch/powerpc/boot/cuboot-83xx.c           |    4 +
 arch/powerpc/boot/cuboot-85xx.c           |    4 +
 arch/powerpc/boot/cuboot-86xx.c           |    4 +
 arch/powerpc/boot/cuboot.c                |  137 ++++++++++++++++++ 
+++++++++++
 arch/powerpc/boot/ppcboot.h               |  103 ++++++++++++++++++ 
++++
 arch/powerpc/boot/wrapper                 |   46 ++++++++--
 arch/powerpc/platforms/83xx/mpc834x_mds.c |    5 +-
the whitespace fixup in mpc834x_mds.c shouldn't be part of this.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help