* Re: Specifying the console device using an alias [not found] ` <CAPnjgZ2A=DkGSnFLy1En8bH0pZAUAEWCWz_jQ941g3QQEUN9NQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-08-15 4:02 ` Simon Glass [not found] ` <CAPnjgZ1S-HVZJ7kzt=YKT+jjZEtLdmZSnr6kmNVf+paGKdrgoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Simon Glass @ 2014-08-15 4:02 UTC (permalink / raw) To: Devicetree Discuss; +Cc: Rob Herring, Grant Likely (correct list) On 14 August 2014 21:42, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: > Hi, > > In U-Boot we currently specify the console device (typically serial) > using something like: > > aliases { > console = "/serial@1234"; > } > > But the question has come up as to whether this should be done another > way. I see the "linux.stdout" property in the /chosen node. > > I am concerned that making use of the /chosen node in U-Boot might > confuse a lot of people, since this node is normally used to provide > selections for the OS to use when booting. If we did use /chosen, then > linux,stdout seems plain wrong but perhaps u-boot,stdout could be used > instead. > > Does anyone have an opinion about this? It would be good to work this > out soon before it proliferates into more code. > > Regards, > Simon -- 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
[parent not found: <CAPnjgZ1S-HVZJ7kzt=YKT+jjZEtLdmZSnr6kmNVf+paGKdrgoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Specifying the console device using an alias [not found] ` <CAPnjgZ1S-HVZJ7kzt=YKT+jjZEtLdmZSnr6kmNVf+paGKdrgoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-08-15 17:22 ` Simon Glass [not found] ` <CAPnjgZ3Yuov+2tHHbjepspfom2ibJQmdEL3TfEq8nAQofqfsEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-08-18 19:19 ` Sascha Hauer 1 sibling, 1 reply; 7+ messages in thread From: Simon Glass @ 2014-08-15 17:22 UTC (permalink / raw) To: Devicetree Discuss Cc: Rob Herring, Grant Likely, Stephen Warren, Stephen Warren +Stephen On 14 August 2014 22:02, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: > (correct list) > > On 14 August 2014 21:42, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: >> Hi, >> >> In U-Boot we currently specify the console device (typically serial) >> using something like: >> >> aliases { >> console = "/serial@1234"; >> } >> >> But the question has come up as to whether this should be done another >> way. I see the "linux.stdout" property in the /chosen node. >> >> I am concerned that making use of the /chosen node in U-Boot might >> confuse a lot of people, since this node is normally used to provide >> selections for the OS to use when booting. If we did use /chosen, then >> linux,stdout seems plain wrong but perhaps u-boot,stdout could be used >> instead. >> >> Does anyone have an opinion about this? It would be good to work this >> out soon before it proliferates into more code. >> >> Regards, >> Simon -- 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
[parent not found: <CAPnjgZ3Yuov+2tHHbjepspfom2ibJQmdEL3TfEq8nAQofqfsEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Specifying the console device using an alias [not found] ` <CAPnjgZ3Yuov+2tHHbjepspfom2ibJQmdEL3TfEq8nAQofqfsEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-08-15 17:35 ` Simon Glass 0 siblings, 0 replies; 7+ messages in thread From: Simon Glass @ 2014-08-15 17:35 UTC (permalink / raw) To: Devicetree Discuss Cc: Grant Likely, Stephen Warren, Stephen Warren, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Rob Herring +Even more people (thanks Stephen) On 15 August 2014 11:22, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: > +Stephen > > On 14 August 2014 22:02, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: >> (correct list) >> >> On 14 August 2014 21:42, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: >>> Hi, >>> >>> In U-Boot we currently specify the console device (typically serial) >>> using something like: >>> >>> aliases { >>> console = "/serial@1234"; >>> } >>> >>> But the question has come up as to whether this should be done another >>> way. I see the "linux.stdout" property in the /chosen node. >>> >>> I am concerned that making use of the /chosen node in U-Boot might >>> confuse a lot of people, since this node is normally used to provide >>> selections for the OS to use when booting. If we did use /chosen, then >>> linux,stdout seems plain wrong but perhaps u-boot,stdout could be used >>> instead. >>> >>> Does anyone have an opinion about this? It would be good to work this >>> out soon before it proliferates into more code. >>> >>> Regards, >>> Simon -- 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: Specifying the console device using an alias [not found] ` <CAPnjgZ1S-HVZJ7kzt=YKT+jjZEtLdmZSnr6kmNVf+paGKdrgoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-08-15 17:22 ` Simon Glass @ 2014-08-18 19:19 ` Sascha Hauer [not found] ` <20140818191909.GA5352-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Sascha Hauer @ 2014-08-18 19:19 UTC (permalink / raw) To: Simon Glass; +Cc: Devicetree Discuss, Rob Herring, Grant Likely Simon, On Thu, Aug 14, 2014 at 10:02:10PM -0600, Simon Glass wrote: > (correct list) > > On 14 August 2014 21:42, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: > > Hi, > > > > In U-Boot we currently specify the console device (typically serial) > > using something like: > > > > aliases { > > console = "/serial@1234"; > > } > > > > But the question has come up as to whether this should be done another > > way. I see the "linux.stdout" property in the /chosen node. > > > > I am concerned that making use of the /chosen node in U-Boot might > > confuse a lot of people, since this node is normally used to provide > > selections for the OS to use when booting. If we did use /chosen, then > > linux,stdout seems plain wrong but perhaps u-boot,stdout could be used > > instead. See ePAPR. There's a stdout-path property specified, without linux, prefix. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- 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
[parent not found: <20140818191909.GA5352-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>]
* Re: Specifying the console device using an alias [not found] ` <20140818191909.GA5352-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> @ 2014-08-20 17:25 ` Simon Glass [not found] ` <CAPnjgZ3YU8zy48UrxByZjY5rkK3mK7Quvi6O3kWtBfW6ttG6VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Simon Glass @ 2014-08-20 17:25 UTC (permalink / raw) To: Sascha Hauer; +Cc: Devicetree Discuss, Rob Herring, Grant Likely Hi Sascha, On 18 August 2014 13:19, Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote: > > Simon, > > On Thu, Aug 14, 2014 at 10:02:10PM -0600, Simon Glass wrote: >> (correct list) >> >> On 14 August 2014 21:42, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: >> > Hi, >> > >> > In U-Boot we currently specify the console device (typically serial) >> > using something like: >> > >> > aliases { >> > console = "/serial@1234"; >> > } >> > >> > But the question has come up as to whether this should be done another >> > way. I see the "linux.stdout" property in the /chosen node. >> > >> > I am concerned that making use of the /chosen node in U-Boot might >> > confuse a lot of people, since this node is normally used to provide >> > selections for the OS to use when booting. If we did use /chosen, then >> > linux,stdout seems plain wrong but perhaps u-boot,stdout could be used >> > instead. > > See ePAPR. There's a stdout-path property specified, without linux, > prefix. Yes, I see that, but linux doesn't use it AFAICT. Are you suggesting that U-Boot should? Or should we use 'u-boot,stdout-path' in /chosen? See my question immediately above about /chosen. Regards, Simon -- 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
[parent not found: <CAPnjgZ3YU8zy48UrxByZjY5rkK3mK7Quvi6O3kWtBfW6ttG6VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Specifying the console device using an alias [not found] ` <CAPnjgZ3YU8zy48UrxByZjY5rkK3mK7Quvi6O3kWtBfW6ttG6VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-08-20 17:39 ` Fabio Estevam [not found] ` <CAOMZO5BcMjSV+cgLq1+AF8+n+rzTtSm51yu7Guw+z+Bs6s=EGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Fabio Estevam @ 2014-08-20 17:39 UTC (permalink / raw) To: Simon Glass; +Cc: Sascha Hauer, Devicetree Discuss, Rob Herring, Grant Likely On Wed, Aug 20, 2014 at 2:25 PM, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: > Yes, I see that, but linux doesn't use it AFAICT. Are you suggesting > that U-Boot should? Or should we use 'u-boot,stdout-path' in /chosen? > See my question immediately above about /chosen. Linux use stdout-path property specified, without linux prefix. Check for example: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags/v3.16.1 / { chosen { stdout-path = &uart1; }; -- 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
[parent not found: <CAOMZO5BcMjSV+cgLq1+AF8+n+rzTtSm51yu7Guw+z+Bs6s=EGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Specifying the console device using an alias [not found] ` <CAOMZO5BcMjSV+cgLq1+AF8+n+rzTtSm51yu7Guw+z+Bs6s=EGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2014-09-01 20:08 ` Simon Glass 0 siblings, 0 replies; 7+ messages in thread From: Simon Glass @ 2014-09-01 20:08 UTC (permalink / raw) To: Fabio Estevam; +Cc: Sascha Hauer, Devicetree Discuss, Rob Herring, Grant Likely Hi Fabio, On 20 August 2014 10:39, Fabio Estevam <festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > On Wed, Aug 20, 2014 at 2:25 PM, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote: > >> Yes, I see that, but linux doesn't use it AFAICT. Are you suggesting >> that U-Boot should? Or should we use 'u-boot,stdout-path' in /chosen? >> See my question immediately above about /chosen. > > Linux use stdout-path property specified, without linux prefix. > > Check for example: > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags/v3.16.1 > > / { > chosen { > stdout-path = &uart1; > }; OK great. This seems to have happened very recently in Linux. I was looking at 3.14 but I see that in the current master about half of the .dts files have droped the 'linux' prefix. So assuming that the U-Boot console should be the same as Linux, then it sounds like it is OK to use this feature. That's good enough to get me going. Thanks, Simon -- 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:[~2014-09-01 20:08 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CAPnjgZ2A=DkGSnFLy1En8bH0pZAUAEWCWz_jQ941g3QQEUN9NQ@mail.gmail.com> [not found] ` <CAPnjgZ2A=DkGSnFLy1En8bH0pZAUAEWCWz_jQ941g3QQEUN9NQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-08-15 4:02 ` Specifying the console device using an alias Simon Glass [not found] ` <CAPnjgZ1S-HVZJ7kzt=YKT+jjZEtLdmZSnr6kmNVf+paGKdrgoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-08-15 17:22 ` Simon Glass [not found] ` <CAPnjgZ3Yuov+2tHHbjepspfom2ibJQmdEL3TfEq8nAQofqfsEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-08-15 17:35 ` Simon Glass 2014-08-18 19:19 ` Sascha Hauer [not found] ` <20140818191909.GA5352-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 2014-08-20 17:25 ` Simon Glass [not found] ` <CAPnjgZ3YU8zy48UrxByZjY5rkK3mK7Quvi6O3kWtBfW6ttG6VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-08-20 17:39 ` Fabio Estevam [not found] ` <CAOMZO5BcMjSV+cgLq1+AF8+n+rzTtSm51yu7Guw+z+Bs6s=EGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-09-01 20:08 ` Simon Glass
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).