linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* missing current-speed property prevents autoconsole on pegasos
@ 2008-04-23 15:22 Olaf Hering
  2008-04-24 15:42 ` Matt Sealey
  2008-05-26 11:11 ` Olaf Hering
  0 siblings, 2 replies; 4+ messages in thread
From: Olaf Hering @ 2008-04-23 15:22 UTC (permalink / raw)
  To: linuxppc-dev


Pegasos2 has no current-speed property in
/pci@80000000/isa@C/serial@i2F8. As a result, console=ttyS0,115200 is
still required unless the patch below is used.

What is the correct way to restore console detection on pegasos2?

Index: linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
===================================================================
--- linux-2.6.25-pegasos.orig/arch/powerpc/platforms/chrp/setup.c
+++ linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
@@ -302,7 +305,7 @@ static void chrp_init_early(void)
        if (!property)
                goto out_put;
        if (!strcmp(property, "failsafe") || !strcmp(property, "serial"))
-               add_preferred_console("ttyS", 0, NULL);
+               add_preferred_console("ttyS", 0, "115200");
 out_put:
        of_node_put(node);
 }

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

* Re: missing current-speed property prevents autoconsole on pegasos
  2008-04-23 15:22 missing current-speed property prevents autoconsole on pegasos Olaf Hering
@ 2008-04-24 15:42 ` Matt Sealey
  2008-04-25  7:18   ` Olaf Hering
  2008-05-26 11:11 ` Olaf Hering
  1 sibling, 1 reply; 4+ messages in thread
From: Matt Sealey @ 2008-04-24 15:42 UTC (permalink / raw)
  To: Olaf Hering; +Cc: linuxppc-dev

Why not just have users who wish to use console serial port autodetection
add 3 lines to their nvramrc?

-- 
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations

Olaf Hering wrote:
> Pegasos2 has no current-speed property in
> /pci@80000000/isa@C/serial@i2F8. As a result, console=ttyS0,115200 is
> still required unless the patch below is used.
> 
> What is the correct way to restore console detection on pegasos2?
> 
> Index: linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
> ===================================================================
> --- linux-2.6.25-pegasos.orig/arch/powerpc/platforms/chrp/setup.c
> +++ linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
> @@ -302,7 +305,7 @@ static void chrp_init_early(void)
>         if (!property)
>                 goto out_put;
>         if (!strcmp(property, "failsafe") || !strcmp(property, "serial"))
> -               add_preferred_console("ttyS", 0, NULL);
> +               add_preferred_console("ttyS", 0, "115200");
>  out_put:
>         of_node_put(node);
>  }
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

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

* Re: missing current-speed property prevents autoconsole on pegasos
  2008-04-24 15:42 ` Matt Sealey
@ 2008-04-25  7:18   ` Olaf Hering
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2008-04-25  7:18 UTC (permalink / raw)
  To: Matt Sealey; +Cc: linuxppc-dev

On Thu, Apr 24, Matt Sealey wrote:

> Why not just have users who wish to use console serial port autodetection
> add 3 lines to their nvramrc?

The point of autodetection is that no userinteraction is required.

I guess the serial driver does not probe the configured hardware port
speed anymore (if it ever did that).

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

* Re: missing current-speed property prevents autoconsole on pegasos
  2008-04-23 15:22 missing current-speed property prevents autoconsole on pegasos Olaf Hering
  2008-04-24 15:42 ` Matt Sealey
@ 2008-05-26 11:11 ` Olaf Hering
  1 sibling, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2008-05-26 11:11 UTC (permalink / raw)
  To: linuxppc-dev

On Wed, Apr 23, Olaf Hering wrote:


Ping.


> Pegasos2 has no current-speed property in
> /pci@80000000/isa@C/serial@i2F8. As a result, console=ttyS0,115200 is
> still required unless the patch below is used.
> 
> What is the correct way to restore console detection on pegasos2?
> 
> Index: linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
> ===================================================================
> --- linux-2.6.25-pegasos.orig/arch/powerpc/platforms/chrp/setup.c
> +++ linux-2.6.25-pegasos/arch/powerpc/platforms/chrp/setup.c
> @@ -302,7 +305,7 @@ static void chrp_init_early(void)
>         if (!property)
>                 goto out_put;
>         if (!strcmp(property, "failsafe") || !strcmp(property, "serial"))
> -               add_preferred_console("ttyS", 0, NULL);
> +               add_preferred_console("ttyS", 0, "115200");
>  out_put:
>         of_node_put(node);
>  }
> 
> 

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

end of thread, other threads:[~2008-05-26 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 15:22 missing current-speed property prevents autoconsole on pegasos Olaf Hering
2008-04-24 15:42 ` Matt Sealey
2008-04-25  7:18   ` Olaf Hering
2008-05-26 11:11 ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).