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

* Re: [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img
  2011-01-04 21:38 [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img on Sam Ravnborg
@ 2011-01-04 21:43 ` Sam Ravnborg
  2011-01-04 22:16 ` Alex Buell
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Sam Ravnborg @ 2011-01-04 21:43 UTC (permalink / raw)
  To: sparclinux

>       sparc: rename piggyback_32 to piggyback

I forgot the "-M" flag to "git format-patch". So the diff
is not review-able.

This is a pure rename with no additional edits.

I can resend path (or full serie) if you prefer.

	Sam

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

* Re: [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Alex Buell @ 2011-01-04 22:16 UTC (permalink / raw)
  To: sparclinux

On Tue, 2011-01-04 at 22:38 +0100, Sam Ravnborg wrote:
>         "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] 

You might need the PGX64 framebuffer driver for the 'Blade 100.
-- 
Tactical Nuclear Kittens

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

* Re: [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Sam Ravnborg @ 2011-01-04 22:36 UTC (permalink / raw)
  To: sparclinux

On Tue, Jan 04, 2011 at 10:16:56PM +0000, Alex Buell wrote:
> On Tue, 2011-01-04 at 22:38 +0100, Sam Ravnborg wrote:
> >         "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] 
> 
> You might need the PGX64 framebuffer driver for the 'Blade 100.

Just tried it - stuck at the same place :-(

Thanks for the input anyway.

EARLYFB is enabled and works - so I have something working..
It may also be a different issue - the kernel may hang
after the call to register_console().

I will try to debug tomorrow.

	Sam

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

* Re: [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img
  2011-01-04 21:38 [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img on Sam Ravnborg
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2011-01-05  2:49 UTC (permalink / raw)
  To: sparclinux

From: Alex Buell <alex.buell@munted.org.uk>
Date: Tue, 04 Jan 2011 22:16:56 +0000

> On Tue, 2011-01-04 at 22:38 +0100, Sam Ravnborg wrote:
>>         "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] 
> 
> You might need the PGX64 framebuffer driver for the 'Blade 100.

The onboard graphics chip is ATI mach64, not PGX64.

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

* Re: [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img
  2011-01-04 21:38 [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img on Sam Ravnborg
                   ` (3 preceding siblings ...)
  2011-01-05  2:49 ` David Miller
@ 2011-01-05  3:25 ` David Miller
  2011-01-05  8:06 ` Frans van Berckel
  5 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2011-01-05  3:25 UTC (permalink / raw)
  To: sparclinux

From: Sam Ravnborg <sam@ravnborg.org>
Date: Tue, 4 Jan 2011 22:43:56 +0100

>>       sparc: rename piggyback_32 to piggyback
> 
> I forgot the "-M" flag to "git format-patch". So the diff
> is not review-able.
> 
> This is a pure rename with no additional edits.
> 
> I can resend path (or full serie) if you prefer.

It's not necessary.

I've applied these patches, thanks a lot Sam.

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

* Re: [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img
  2011-01-04 21:38 [PATCH v3 00/10] sparc: unify piggyback - and fix tftpboot.img on Sam Ravnborg
                   ` (4 preceding siblings ...)
  2011-01-05  3:25 ` David Miller
@ 2011-01-05  8:06 ` Frans van Berckel
  5 siblings, 0 replies; 7+ messages in thread
From: Frans van Berckel @ 2011-01-05  8:06 UTC (permalink / raw)
  To: sparclinux

On Tue, 2011-01-04 at 18:49 -0800, David Miller wrote:
> From: Alex Buell <alex.buell@munted.org.uk>
> Date: Tue, 04 Jan 2011 22:16:56 +0000
> 
> > On Tue, 2011-01-04 at 22:38 +0100, Sam Ravnborg wrote:
> >>         "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] 
> > 
> > You might need the PGX64 framebuffer driver for the 'Blade 100.
> 
> The onboard graphics chip is ATI mach64, not PGX64.

Isn't the PGX64 the same graphics chipset? Can confirm the issue.

Thanks,

Frans van Berckel


^ 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.