AnsweredAssumed Answered

rootfs mount issue with NAND boot

Question asked by Ravi Kumar on Nov 15, 2018
Latest reply on Nov 26, 2018 by Tahsin Türker Mutlugün

We are trying to boot IMX6UL custom board using NAND. Flashed images using MFG tool and booted the board.
While booting the baord getting below error for mounting the filesystem.


snvs-secvio 20cc000.caam-snvs: can't get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
hidraw: raw HID events driver (C) Jiri Kosina
hid-generic 0003:05AC:12A8.0001: hiddev0,hidraw0: USB HID v1.11 Device [Apple Inc. iPhone] on usb-ci_hdrc.0-1/input2
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 26
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
cpu cpu0: Registered imx6q-cpufreq
imx_thermal 2000000.aips-bus:tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
UBI error: cannot open mtd 4, error -19snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
can-3v3: disabling
VSD_3V3: disabling
gpio_dvfs: disabling
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
Please append a correct "root=" boot option; here are the available partitions:
0100 65536 ram0 (driver?)
0101 65536 ram1 (driver?)
0102 65536 ram2 (driver?)
0103 65536 ram3 (driver?)
0104 65536 ram4 (driver?)
0105 65536 ram5 (driver?)
0106 65536 ram6 (driver?)
0107 65536 ram7 (driver?)
0108 65536 ram8 (driver?)
0109 65536 ram9 (driver?)
010a 65536 ram10 (driver?)
010b 65536 ram11 (driver?)
010c 65536 ram12 (driver?)
010d 65536 ram13 (driver?)
010e 65536 ram14 (driver?)
010f 65536 ram15 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)



I have following queries, can you help to understand. I am using U-boot : 2017 and Kernel : 4.9.11.

1. MFG tool will create Partitions automatically, because I haven't created any partitions manually .
2. When Kernel panic occurs it is not printing MTD partitions, instead it is printing ram partitions.


The MFG tool vb script file is attached. Can you guide in fixing the NAND issue.