Part Number: AM3352
Tool/software: Linux
Hi,
I'm working on to upgrade Kernel from 3.12 to 4.4 for am335x custom board. I've used the same configuration as in 3.12 to compile 4.4 but I'm seeing a kernel panic error with 4.4(no issues with 3.12). It looks like UBI not able to open root MTD device and getting an error '-19' and also same error with UBIFS. I've tested reading/mounting same mtd device with kernel 3.12 (network boot) and it worked, no issues.
Is there a new configuration (mtd->ubi->unifs) on 4.4?
Is there any changes required for bootargs (see beloe for current bootargs)?
Is there any changes required to ubi creation process?
Could anyone suggest what can cause this problem?
UBI error: cannot open mtd 11, error -19
UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
# Bootloader args
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),512k(u-boot),512k(u-boot.backup1),128k(u-boot-env),3m(kernel),3m(kernel.backup1),512k(fdt),512k(fdt.backup1),50m(rootfs),50m(rootfs.backup)
nandargs=setenv bootargs console=${console} ${optargs} noinitrd mem=128M root=${nandroot} rootfstype=${nandrootfstype} ip=none loglevel=7 panic=3
nandboot=echo Booting from NAND ...; nboot ${loadaddr} 0 ${nandsrcaddr};nand read ${fdtaddr} ${fdtsrcaddr} ${fdtimgsize}; run nandargs; bootm ${loadaddr} - ${fdtaddr};reset;