Hi All,
Tried booting the kernel v5.4.70. Kernel stopped booting after kernel panic is observed. Excerpts from the log,
--------------------------------------------------------------------------
Kernel image @ 0x80800000 [ 0x000000 - 0x49adf0 ]
## Flattened Device Tree blob at 80d00000
Booting using the fdt blob at 0x80d00000
Loading Device Tree to 8757e000, end 87588d44 ... OK
Starting kernel ...
[ 0.228696] mxsfb 21c8000.lcdif: failed to get property bus-width
[ 0.228731] mxsfb 21c8000.lcdif: Failed to initialize fbinfo: -22
[ 0.821796] cpu cpu0: defer the cpufreq
[ 0.821796]
[ 0.860165] cpu cpu0: defer the cpufreq
[ 0.860165]
[ 0.869642] cpu cpu0: defer the cpufreq
[ 0.869642]
[ 1.083799] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 1.092230] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd2, error -22
[ 1.099443] UBI error: cannot attach mtd2
[ 1.110798] cpu cpu0: defer the cpufreq
[ 1.110798]
[ 1.124930] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.133223] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
----------------------------------------
Kindly let me know what might have went wrong.
With Regards,
Arunkumar
Hi Arunkumar
for that issue may be recommended to run ddr test and then update dcd header with
new calibration coefficients found from test, follow sect.3.2.1 Changing the DCD table for i.MX DDR initialization i.MX Porting Guide
For nand programming use uuu tool with "example_kernel_nand.uuu" script from Demo Image
i.MX 6UltraLite, i.MX 6ULL, i.MX 7Dual Boards
Best regards
igor
Hi Igor,
I was going through the iMX Porting guide to re-configure the DDR settings. The details provided is to change the DDR settings in U-Boot code. The same U-Boot code was working with Kernel 4.1.15 and this kernel is able to mount the UBIFS filesystem without any error.
So, my question is, if the issue is due to DDR settings mismatch then how come it worked with Kernel 4.1.15 and failing with Kernel 5.4.70?
With Regards,
Arunkumar R M
Hi Arunkumar
> The same U-Boot code was working with Kernel 4.1.15 ..
that uboot (which was working with Kernel 4.1.15) should not be used for Kernel 5.4.70.
As described in NXP Linux 5.4.70 official Release Note document included in Documentation
Uboot v2020.04 should be used
Best regards
igor
Hi,
The kernel is able to start, only the UBIFS not able to attach mtd partition. If someone can help with the existing U-boot, that would be helpfull. Looking for a solution without changing the U-boot version.
With Regards,
Arunkumar
Still debugging the same issue by changing the env variables in U-Boot and add/remove few configs related to UBI. But no success.
Did anyone tried mounting UBI filesystem using the Kernel v5.4.70 / v5.4 / v5.x ?
Any issues observed? or any patches found in case of issues?
With Regards,
Arunkumar