This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I am working on a board bring-up task. Its seems B-boot and Kernel is loaded correctly, but its fails with a kernel panic when trying to load rootfs.
see the following console log.
.
.
.
[ 324.019602] ubi0: attached mtd5 (name "NAND.rootfs1", size 244 MiB)
[ 324.026295] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 324.033559] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 324.040605] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 324.047952] ubi0: good PEBs: 1952, bad PEBs: 0, corrupted PEBs: 0
[ 324.054386] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 324.062009] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 558271799
[ 324.071547] ubi0: available PEBs: 0, total reserved PEBs: 1952, PEBs reserved for bad PEB handling: 48
[ 324.097905] ubi0: background thread "ubi_bgt0d" started, PID 50
[ 324.140814] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 324.147232] davinci_mdio 4a101000.mdio: no live phy, scanning all
[ 324.154113] davinci_mdio: probe of 4a101000.mdio failed with error -5
[ 324.161998] cpsw 4a100000.ethernet: Missing slave[0] phy_id property
[ 324.168905] cpsw 4a100000.ethernet: Detected MACID = a0:f6:fd:4a:e2:19
[ 324.178140] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:05:23 UTC (946685123)
[ 324.187325] sr_init: No PMIC hook to init smartreflex
[ 324.192988] sr_init: platform driver register failed for SR
[ 324.281354] vmmcsd_fixed: disabling
[ 324.285218] ALSA device list:
[ 324.288341] No soundcards found.
[ 324.301303] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[ 324.315168] Please append a correct "root=" boot option; here are the available partitions:
[ 324.324009] 0100 16384 ram0 (driver?)
[ 324.328880] 0101 16384 ram1 (driver?)
[ 324.333785] 0102 16384 ram2 (driver?)
[ 324.338652] 0103 16384 ram3 (driver?)
[ 324.343553] 0104 16384 ram4 (driver?)
[ 324.348419] 0105 16384 ram5 (driver?)
[ 324.353320] 0106 16384 ram6 (driver?)
[ 324.358187] 0107 16384 ram7 (driver?)
[ 324.363089] 0108 16384 ram8 (driver?)
[ 324.367955] 0109 16384 ram9 (driver?)
[ 324.372856] 010a 16384 ram10 (driver?)
[ 324.377814] 010b 16384 ram11 (driver?)
[ 324.382806] 010c 16384 ram12 (driver?)
[ 324.387764] 010d 16384 ram13 (driver?)
[ 324.392757] 010e 16384 ram14 (driver?)
[ 324.397716] 010f 16384 ram15 (driver?)
[ 324.402730] 1f00 256 mtdblock0 (driver?)
[ 324.408053] 1f01 3072 mtdblock1 (driver?)
[ 324.413413] 1f02 256 mtdblock2 (driver?)
[ 324.418736] 1f03 512 mtdblock3 (driver?)
[ 324.424095] 1f04 8192 mtdblock4 (driver?)
[ 324.429419] 1f05 249856 mtdblock5 (driver?)
[ 324.434778] 1f06 256 mtdblock6 (driver?)
[ 324.440102] 1f07 3072 mtdblock7 (driver?)
[ 324.445458] 1f08 256 mtdblock8 (driver?)
[ 324.450815] 1f09 512 mtdblock9 (driver?)
[ 324.456139] 1f0a 8192 mtdblock10 (driver?)
[ 324.461585] 1f0b 249856 mtdblock11 (driver?)
[ 324.467000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 324.475709] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Any help would be much appreciated.
Thank you.
Thanks Cvetolin for your inputs,
Yes, It was wrong configuration of NAND pins in device tree, such as required pins were not pulled-up including R/B signal. Now its booting fast. It still takes around 25 seconds. It would be grateful If you can give me some insights how to reduce it further.
Thanks
Nilan