All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img on
@ 2011-01-04 21:38 Sam Ravnborg
  2011-01-04 21:43 ` [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img Sam Ravnborg
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Sam Ravnborg @ 2011-01-04 21:38 UTC (permalink / raw)
  To: sparclinux

The following set of 10 patches unify piggyback for
sparc32 and sparc64.
This has the side effect that we fix a longstanding bug in
sparc64 so we can now generate tftpboot.img on a x86 box.

The patch is test on a sparc32 system where I got a
ext2 image mounted and working.

On sparc64 I managed to boot a kernel on my Sun Blade 100
but the kernel stopped with a message:

	"console [tty0] enabled, bootconsole disabled"

So I did not reach the point where it try to mount 
the appended image.
Any hints what is wrong is appreciated!
[I guess I have the wrong framebuffer driver - but I do not know which is the right one]

This was anyway enough that I have concluded that it works
better than before.
I have only tested this using my x86 build host.

Changes since v1:
- Updated copyrights (from from Josip Rodin)
- Fixed algorithm to locate "HdrS" (from Josip Rodin)
- Verified the endian fixes (based on code received from Julian Calaby)

Please apply.

	Sam


Sam Ravnborg (10):
      sparc: refactor piggy_32.c
      sparc: use trapbase in setup_arch
      sparc: use _start for the start entry (like 64 bit does)
      sparc: additional comments to piggyback_32.c
      sparc: remove obsolete ELF support in piggyback_32.c
      sparc: add $BITS to piggyback arguments
      sparc: fix tfptboot.img for sparc64 on little-endian host
      sparc: rename piggyback_32 to piggyback
      sparc: unify strip command in boot/Makefile
      sparc: update copyright in piggyback.c

 arch/sparc/boot/Makefile       |   28 ++---
 arch/sparc/boot/piggyback.c    |  272 ++++++++++++++++++++++++++++++++++++++++
 arch/sparc/boot/piggyback_32.c |  137 --------------------
 arch/sparc/boot/piggyback_64.c |  110 ----------------
 arch/sparc/kernel/head_32.S    |    3 +-
 arch/sparc/kernel/setup_32.c   |    3 +-
 arch/sparc/mm/sun4c.c          |    8 +-
 7 files changed, 286 insertions(+), 275 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-05  8:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04 21:38 [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img on Sam Ravnborg
2011-01-04 21:43 ` [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img Sam Ravnborg
2011-01-04 22:16 ` Alex Buell
2011-01-04 22:36 ` Sam Ravnborg
2011-01-05  2:49 ` David Miller
2011-01-05  3:25 ` David Miller
2011-01-05  8:06 ` Frans van Berckel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.