Re: Specifying the console device using an alias
From: Simon Glass <hidden>
Date: 2014-08-20 17:25:21
Hi Sascha, On 18 August 2014 13:19, Sascha Hauer [off-list ref] wrote:
Simon, On Thu, Aug 14, 2014 at 10:02:10PM -0600, Simon Glass wrote:quoted
(correct list) On 14 August 2014 21:42, Simon Glass [off-list ref] wrote:quoted
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