From mboxrd@z Thu Jan 1 00:00:00 1970 From: u.kleine-koenig@pengutronix.de (Uwe =?iso-8859-1?Q?Kleine-K=F6nig?=) Date: Mon, 19 Dec 2016 19:41:30 +0100 Subject: [PATCH] ARM: dts: imx: Pass an empty 'chosen' node In-Reply-To: <1482161298-32624-1-git-send-email-fabio.estevam@nxp.com> References: <1482161298-32624-1-git-send-email-fabio.estevam@nxp.com> Message-ID: <20161219184130.o2dpr7lie256hq76@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello, On Mon, Dec 19, 2016 at 01:28:18PM -0200, Fabio Estevam wrote: > Commit 7f107887d199 ("ARM: dts: imx: Remove skeleton.dtsi") causes boot > issues when the bootloader does not create a 'chosen' node if such node > is not present in the dtb. > > The reason for the boot failure is well explained by Javier Martinez > Canillas: "the decompressor relies on a pre-existing chosen node to be > available to insert the command line and merge other ATAGS info." > > , so pass an empty 'chosen' node to fix the boot problem. > > This issue has been seen in the kernelci reports with Barebox as > bootloader. wouldn't it be better to fix the decompressor code to eventually create the /chosen node when it doesn't exist? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |