* [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter @ 2014-11-04 4:23 Simon Horman 2014-11-05 5:54 ` Simon Horman 2015-01-30 21:49 ` Sergei Shtylyov 0 siblings, 2 replies; 7+ messages in thread From: Simon Horman @ 2014-11-04 4:23 UTC (permalink / raw) To: linux-sh Cc: linux-arm-kernel, Magnus Damm, Simon Horman, Ulrich Hecht, Geert Uytterhoeven, devicetree Alt is booted from DT, so chosen/stdout-path is always used, and we can drop the "console=" parameter from chosen/bootargs. This change has a side-effect of changing the console speed from 38400 to 115200. This is intentional as 115200 is consistently used on all other shmobile boards. Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: devicetree@vger.kernel.org Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7794-alt.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index 8aec512..f2cf757 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -20,7 +20,7 @@ }; chosen { - bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; stdout-path = &scif2; }; -- 2.1.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter 2014-11-04 4:23 [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter Simon Horman @ 2014-11-05 5:54 ` Simon Horman 2015-01-30 21:49 ` Sergei Shtylyov 1 sibling, 0 replies; 7+ messages in thread From: Simon Horman @ 2014-11-05 5:54 UTC (permalink / raw) To: linux-sh Cc: linux-arm-kernel, Magnus Damm, Ulrich Hecht, Geert Uytterhoeven, devicetree On Tue, Nov 04, 2014 at 01:23:38PM +0900, Simon Horman wrote: > Alt is booted from DT, so chosen/stdout-path is > always used, and we can drop the "console=" parameter from chosen/bootargs. > > This change has a side-effect of changing the console speed from 38400 > to 115200. This is intentional as 115200 is consistently used on > all other shmobile boards. > > Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> > Cc: Geert Uytterhoeven <geert+renesas@glider.be> > Cc: devicetree@vger.kernel.org > Signed-off-by: Simon Horman <horms+renesas@verge.net.au> I have queued this up. > --- > arch/arm/boot/dts/r8a7794-alt.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts > index 8aec512..f2cf757 100644 > --- a/arch/arm/boot/dts/r8a7794-alt.dts > +++ b/arch/arm/boot/dts/r8a7794-alt.dts > @@ -20,7 +20,7 @@ > }; > > chosen { > - bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; > + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; > stdout-path = &scif2; > }; > > -- > 2.1.1 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter 2014-11-04 4:23 [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter Simon Horman 2014-11-05 5:54 ` Simon Horman @ 2015-01-30 21:49 ` Sergei Shtylyov [not found] ` <54CBFC63.4070808-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Sergei Shtylyov @ 2015-01-30 21:49 UTC (permalink / raw) To: Simon Horman, linux-sh Cc: linux-arm-kernel, Magnus Damm, Ulrich Hecht, Geert Uytterhoeven, devicetree Hello. On 11/04/2014 07:23 AM, Simon Horman wrote: > Alt is booted from DT, so chosen/stdout-path is > always used, and we can drop the "console=" parameter from chosen/bootargs. > This change has a side-effect of changing the console speed from 38400 > to 115200. This is intentional as 115200 is consistently used on > all other shmobile boards. I'd say it's not very practical to change the console's baud rate from U-Boot's default (AFAIR changing baud rate in U-Boot didn't work)... > Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> > Cc: Geert Uytterhoeven <geert+renesas@glider.be> > Cc: devicetree@vger.kernel.org > Signed-off-by: Simon Horman <horms+renesas@verge.net.au> > --- > arch/arm/boot/dts/r8a7794-alt.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts > index 8aec512..f2cf757 100644 > --- a/arch/arm/boot/dts/r8a7794-alt.dts > +++ b/arch/arm/boot/dts/r8a7794-alt.dts > @@ -20,7 +20,7 @@ > }; > > chosen { > - bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; > + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; Hm, does this even work as intended? I've tried to boot another R8A7794 based board and I couldn't get any output with alike command line. Booting with 'earlyprintk=serial' has shown that tty0 was enabled as a console which is not what we wanted. WBR, Sergei ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <54CBFC63.4070808-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter [not found] ` <54CBFC63.4070808-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> @ 2015-01-31 4:17 ` Simon Horman 2015-02-02 22:10 ` Sergei Shtylyov 0 siblings, 1 reply; 7+ messages in thread From: Simon Horman @ 2015-01-31 4:17 UTC (permalink / raw) To: Sergei Shtylyov Cc: linux-sh-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Magnus Damm, Ulrich Hecht, Geert Uytterhoeven, devicetree-u79uwXL29TY76Z2rM5mHXA Hi Sergei, On Sat, Jan 31, 2015 at 12:49:23AM +0300, Sergei Shtylyov wrote: > Hello. > > On 11/04/2014 07:23 AM, Simon Horman wrote: > > >Alt is booted from DT, so chosen/stdout-path is > >always used, and we can drop the "console=" parameter from chosen/bootargs. > > >This change has a side-effect of changing the console speed from 38400 > >to 115200. This is intentional as 115200 is consistently used on > >all other shmobile boards. > > I'd say it's not very practical to change the console's baud rate from > U-Boot's default It is consistent with the handling of all other boards with renesas SoCs that are present in mainline. > (AFAIR changing baud rate in U-Boot didn't work)... Perhaps that relates to the version of built of uboot. On the board I have access to I see: ver=U-Boot 2013.01.01-g5df9446 (Oct 01 2014 - 14:59:23) And the following setting altered the baud rate of u-boot (IIRC). baudrate=115200 > >Cc: Ulrich Hecht <ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >Cc: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> > >Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > >Signed-off-by: Simon Horman <horms+renesas-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org> > >--- > > arch/arm/boot/dts/r8a7794-alt.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts > >index 8aec512..f2cf757 100644 > >--- a/arch/arm/boot/dts/r8a7794-alt.dts > >+++ b/arch/arm/boot/dts/r8a7794-alt.dts > >@@ -20,7 +20,7 @@ > > }; > > > > chosen { > >- bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; > >+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; > > Hm, does this even work as intended? I've tried to boot another R8A7794 > based board and I couldn't get any output with alike command line. Booting > with 'earlyprintk=serial' has shown that tty0 was enabled as a console which > is not what we wanted. If you are backporting this change then I believe it has some dependencies that I can follow up on if it is useful to you. If you are using mainline (e.g. next or renesas-next) then yes, it works. I have tested it numerous times since the patch was merged. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter 2015-01-31 4:17 ` Simon Horman @ 2015-02-02 22:10 ` Sergei Shtylyov 2015-02-03 0:41 ` Simon Horman 0 siblings, 1 reply; 7+ messages in thread From: Sergei Shtylyov @ 2015-02-02 22:10 UTC (permalink / raw) To: Simon Horman Cc: linux-sh, linux-arm-kernel, Magnus Damm, Ulrich Hecht, Geert Uytterhoeven, devicetree Hello. On 01/31/2015 07:17 AM, Simon Horman wrote: >>> Alt is booted from DT, so chosen/stdout-path is >>> always used, and we can drop the "console=" parameter from chosen/bootargs. >>> This change has a side-effect of changing the console speed from 38400 >>> to 115200. This is intentional as 115200 is consistently used on >>> all other shmobile boards. >> I'd say it's not very practical to change the console's baud rate from >> U-Boot's default > It is consistent with the handling of all other boards with > renesas SoCs that are present in mainline. Well, not quite: Henninger/Porter is still using 38400. >> (AFAIR changing baud rate in U-Boot didn't work)... That was a recollection from the other board though, I haven't yet tried to do it on the SILK board (and I'm unable to currently as the power supply seems dead). > Perhaps that relates to the version of built of uboot. > On the board I have access to I see: > ver=U-Boot 2013.01.01-g5df9446 (Oct 01 2014 - 14:59:23) U-Boot 2013.01.01 (Oct 17 2014 - 20:59:18) > And the following setting altered the baud rate of u-boot (IIRC). > baudrate=115200 I was going to try that but the board just didn't power up. >>> Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> >>> Cc: Geert Uytterhoeven <geert+renesas@glider.be> >>> Cc: devicetree@vger.kernel.org >>> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> >>> --- >>> arch/arm/boot/dts/r8a7794-alt.dts | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts >>> index 8aec512..f2cf757 100644 >>> --- a/arch/arm/boot/dts/r8a7794-alt.dts >>> +++ b/arch/arm/boot/dts/r8a7794-alt.dts >>> @@ -20,7 +20,7 @@ >>> }; >>> >>> chosen { >>> - bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; >>> + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; >> Hm, does this even work as intended? I've tried to boot another R8A7794 >> based board and I couldn't get any output with alike command line. Booting >> with 'earlyprintk=serial' has shown that tty0 was enabled as a console which >> is not what we wanted. > If you are backporting this change then I believe it has some dependencies > that I can follow up on if it is useful to you. Contrariwise, I'm forward-porting. > If you are using mainline (e.g. next or renesas-next) then yes, > it works. I have tested it numerous times since the patch was merged. I'm traditionally using the 'renesas-devel-*' tags. WBR, Sergei ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter 2015-02-02 22:10 ` Sergei Shtylyov @ 2015-02-03 0:41 ` Simon Horman [not found] ` <20150203004146.GB17629-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Simon Horman @ 2015-02-03 0:41 UTC (permalink / raw) To: Sergei Shtylyov Cc: linux-sh, linux-arm-kernel, Magnus Damm, Ulrich Hecht, Geert Uytterhoeven, devicetree On Tue, Feb 03, 2015 at 01:10:57AM +0300, Sergei Shtylyov wrote: > Hello. > > On 01/31/2015 07:17 AM, Simon Horman wrote: > > >>>Alt is booted from DT, so chosen/stdout-path is > >>>always used, and we can drop the "console=" parameter from chosen/bootargs. > > >>>This change has a side-effect of changing the console speed from 38400 > >>>to 115200. This is intentional as 115200 is consistently used on > >>>all other shmobile boards. > > >> I'd say it's not very practical to change the console's baud rate from > >>U-Boot's default > > >It is consistent with the handling of all other boards with > >renesas SoCs that are present in mainline. > > Well, not quite: Henninger/Porter is still using 38400. >From my point of view that is an oversight which I would have resolved had I ever obtained access to the hardware. > >>(AFAIR changing baud rate in U-Boot didn't work)... > > That was a recollection from the other board though, I haven't yet tried > to do it on the SILK board (and I'm unable to currently as the power supply > seems dead). > > >Perhaps that relates to the version of built of uboot. > >On the board I have access to I see: > > >ver=U-Boot 2013.01.01-g5df9446 (Oct 01 2014 - 14:59:23) > > U-Boot 2013.01.01 (Oct 17 2014 - 20:59:18) It looks like my version has some extra patches (the g5df9446 bit). But I could be reading things wrong. > >And the following setting altered the baud rate of u-boot (IIRC). > > >baudrate=115200 > > I was going to try that but the board just didn't power up. > > >>>Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> > >>>Cc: Geert Uytterhoeven <geert+renesas@glider.be> > >>>Cc: devicetree@vger.kernel.org > >>>Signed-off-by: Simon Horman <horms+renesas@verge.net.au> > >>>--- > >>> arch/arm/boot/dts/r8a7794-alt.dts | 2 +- > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > > >>>diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts > >>>index 8aec512..f2cf757 100644 > >>>--- a/arch/arm/boot/dts/r8a7794-alt.dts > >>>+++ b/arch/arm/boot/dts/r8a7794-alt.dts > >>>@@ -20,7 +20,7 @@ > >>> }; > >>> > >>> chosen { > >>>- bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; > >>>+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; > > >> Hm, does this even work as intended? I've tried to boot another R8A7794 > >>based board and I couldn't get any output with alike command line. Booting > >>with 'earlyprintk=serial' has shown that tty0 was enabled as a console which > >>is not what we wanted. > > >If you are backporting this change then I believe it has some dependencies > >that I can follow up on if it is useful to you. > > Contrariwise, I'm forward-porting. > > >If you are using mainline (e.g. next or renesas-next) then yes, > >it works. I have tested it numerous times since the patch was merged. > > I'm traditionally using the 'renesas-devel-*' tags. If you are using 'renesas-devel-*' tags (and forward porting) then you should be in good shape. But if you would like me to verify a particular tag I'm happy to do so. It is not unheard of for different instances of the same board behave in different ways. ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20150203004146.GB17629-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>]
* Re: [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter [not found] ` <20150203004146.GB17629-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org> @ 2015-02-04 22:43 ` Sergei Shtylyov 0 siblings, 0 replies; 7+ messages in thread From: Sergei Shtylyov @ 2015-02-04 22:43 UTC (permalink / raw) To: Simon Horman Cc: linux-sh-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Magnus Damm, Ulrich Hecht, Geert Uytterhoeven, devicetree-u79uwXL29TY76Z2rM5mHXA Hello. On 02/03/2015 03:41 AM, Simon Horman wrote: >>>>> Alt is booted from DT, so chosen/stdout-path is >>>>> always used, and we can drop the "console=" parameter from chosen/bootargs. >>>>> This change has a side-effect of changing the console speed from 38400 >>>>> to 115200. This is intentional as 115200 is consistently used on >>>>> all other shmobile boards. >>>> I'd say it's not very practical to change the console's baud rate from >>>> U-Boot's default >>> It is consistent with the handling of all other boards with >>> renesas SoCs that are present in mainline. >> Well, not quite: Henninger/Porter is still using 38400. > From my point of view that is an oversight which I would have > resolved had I ever obtained access to the hardware. I'll look into that when I have time. >>>> (AFAIR changing baud rate in U-Boot didn't work)... >> That was a recollection from the other board though, I haven't yet tried >> to do it on the SILK board (and I'm unable to currently as the power supply >> seems dead). >>> Perhaps that relates to the version of built of uboot. >>> On the board I have access to I see: >>> ver=U-Boot 2013.01.01-g5df9446 (Oct 01 2014 - 14:59:23) >> U-Boot 2013.01.01 (Oct 17 2014 - 20:59:18) > It looks like my version has some extra patches (the g5df9446 bit). > But I could be reading things wrong. >>> And the following setting altered the baud rate of u-boot (IIRC). >>> baudrate=115200 >> I was going to try that but the board just didn't power up. I have switched to another board now (with newer U-Boot flashed), and I was able to change the baud rate in U-Boot. However, SPL and U-Boot still start at 38400 and now I'm having garbage instead of the version and hardware info. :-( >>>>> Cc: Ulrich Hecht <ulrich.hecht+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>>>> Cc: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> >>>>> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >>>>> Signed-off-by: Simon Horman <horms+renesas-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org> >>>>> --- >>>>> arch/arm/boot/dts/r8a7794-alt.dts | 2 +- >>>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>>> diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts >>>>> index 8aec512..f2cf757 100644 >>>>> --- a/arch/arm/boot/dts/r8a7794-alt.dts >>>>> +++ b/arch/arm/boot/dts/r8a7794-alt.dts >>>>> @@ -20,7 +20,7 @@ >>>>> }; >>>>> >>>>> chosen { >>>>> - bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; >>>>> + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; >>>> Hm, does this even work as intended? I've tried to boot another R8A7794 >>>> based board and I couldn't get any output with alike command line. Booting >>>> with 'earlyprintk=serial' has shown that tty0 was enabled as a console which >>>> is not what we wanted. The kernel console started working automagically for me at 115200 on the new board. >>> If you are backporting this change then I believe it has some dependencies >>> that I can follow up on if it is useful to you. >> Contrariwise, I'm forward-porting. >>> If you are using mainline (e.g. next or renesas-next) then yes, >>> it works. I have tested it numerous times since the patch was merged. >> I'm traditionally using the 'renesas-devel-*' tags. > If you are using 'renesas-devel-*' tags (and forward porting) then > you should be in good shape. But if you would like me to verify a particular > tag I'm happy to do so. It is not unheard of for different instances of > the same board behave in different ways. Thank you, looks like there's no need now. WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-02-04 22:43 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-11-04 4:23 [PATCH] ARM: shmobile: alt dts: Drop console= bootargs parameter Simon Horman 2014-11-05 5:54 ` Simon Horman 2015-01-30 21:49 ` Sergei Shtylyov [not found] ` <54CBFC63.4070808-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> 2015-01-31 4:17 ` Simon Horman 2015-02-02 22:10 ` Sergei Shtylyov 2015-02-03 0:41 ` Simon Horman [not found] ` <20150203004146.GB17629-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org> 2015-02-04 22:43 ` Sergei Shtylyov
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).