From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 30 Oct 2015 09:12:12 -0700 Subject: [U-Boot] [PATCH v2 2/2] fdt_support: Don't panic if stdout alias is missing In-Reply-To: <1441165688-28917-1-git-send-email-scottwood@freescale.com> References: <1441073484-15640-1-git-send-email-scottwood@freescale.com> <1441165688-28917-1-git-send-email-scottwood@freescale.com> Message-ID: <563396DC.3030903@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/01/2015 08:48 PM, Scott Wood wrote: > Currently, using fdt_fixup_stdout() on a device tree that is missing > the relevant alias results in this: > > WARNING: could not set linux,stdout-path FDT_ERR_NOTFOUND. > ERROR: /chosen node create failed > - must RESET the board to recover. > > FDT creation failed! hanging...### ERROR ### Please RESET the board ### > > There is no reason for this to be a fatal error rather than a warning, > and removing this allows for a smooth transition on a platform where > the device tree currently lacks the correct aliases but will have them > in the future. > > Signed-off-by: Scott Wood > Cc: Kumar Gala > Cc: Simon Glass > --- > v2: Only continue booting if the problem was a missing alias, not > the inability to write to the device tree. > --- > common/fdt_support.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York