Boot failure regression on 6.0.10 stable kernel on iMX7

Marek Vasut marex at denx.de
Wed Nov 30 06:41:13 PST 2022


On 11/30/22 14:52, Francesco Dolcini wrote:
> Hello Marek,

Hi,

> it looks like commit 753395ea1e45 ("ARM: dts: imx7: Fix NAND controller
> size-cells"), that was backported to stable 6.0.10, introduce a boot
> regression on colibri-imx7, at least.
> 
> What I get is
> 
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 6.0.10 (francesco at francesco-nb) (arm-linux-gnueabihf-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.
> 4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #36 SMP Wed Nov 30 14:07:15 CET 2022
> ...
> [    4.407499] gpmi-nand: error parsing ofpart partition /soc/nand-controller at 33002000/partition at 0 (/soc/nand-controller
> @33002000)
> [    4.438401] gpmi-nand 33002000.nand-controller: driver registered.
> ...
> [    5.933906] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
> [    5.946504] Please append a correct "root=" boot option; here are the available partitions:
> ...
> 
> Any idea? I'm not familiar with the gpmi-nand driver and I would just revert it, but
> maybe you have a better idea.

Can you share the relevant snippet of your nand controller DT node ? 
Probably up to first partition is enough. I suspect you need to fill in 
the correct address-cells/size-cells there, which might be currently 
missing in your DT and worked by chance.



More information about the linux-arm-kernel mailing list