Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932168AbbBZNtx (ORCPT ); Thu, 26 Feb 2015 08:49:53 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:50182 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312AbbBZNtv (ORCPT ); Thu, 26 Feb 2015 08:49:51 -0500 Date: Thu, 26 Feb 2015 14:46:46 +0100 From: Andrew Lunn To: Peter Hurley Cc: Leif Lindholm , grant.likely@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, plagnioj@jcrosoft.com, ijc@debian.org, s.hauer@pengutronix.de Subject: Re: [PATCH v3 3/3] of: support passing console options with stdout-path Message-ID: <20150226134646.GB8806@lunn.ch> References: <1417110967-16284-1-git-send-email-leif.lindholm@linaro.org> <1417110967-16284-4-git-send-email-leif.lindholm@linaro.org> <54EF09AA.2080706@hurleysoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54EF09AA.2080706@hurleysoftware.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1137 Lines: 31 On Thu, Feb 26, 2015 at 06:55:22AM -0500, Peter Hurley wrote: > On 11/27/2014 12:56 PM, Leif Lindholm wrote: > > Support specifying console options (like with console=ttyXN,) > > by appending them to the stdout-path property after a separating ':'. > > > > Example: > > stdout-path = "uart0:115200"; > > This format breaks DT earlycon because libfdt doesn't recognize ':' as a > path terminator. > > It's simple enough to fix this directly in early_init_dt_scan_chosen_serial() > but perhaps it would better to teach fdt_path_offset() to recognize ':'? Hi Peter ePAPR says for stdout-path in Chosen: A string that specifies the full path to the node representing the device to be used for boot console output. If the character ":" is present in the value it terminates the path. The value may be an alias. So it is probably wise to implement this properly. Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/