Thread (8 messages) 8 messages, 5 authors, 2016-12-22

[PATCH] ARM: dts: imx: Pass an empty 'chosen' node

flat view
STALE3581d

From: Uwe Kleine-König <hidden>
Date: 2016-12-19 15:39:54

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.

Fixes: 7f107887d199 ("ARM: dts: imx: Remove skeleton.dtsi")
Reported-by: kernelci.org bot <redacted>
Signed-off-by: Fabio Estevam <redacted>
There is also a patch on the barebox list that makes barebox fix a dt
accordingly. It seems it's not in the repository though.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help