UBIFS mount fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UBIFS mount fails

2,453 Views
deepanrajanbara
Contributor IV

Hi,

Actually i have implemented imx6ull kernel version 4.14.98 for our custom board. In which NAND is the Boot media.

I wanted to keep my kernel and dtb in my UBIFS instead of flashing them to a separate raw partition. Since we wanted to do OTA for the device. When booting the Uboot, i am getting a error. Please help us debug the error. We are flashing the .ubimg file after flashing the uboot.

ubi0: detaching mtd1
ubi0: mtd1 is detached
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=1", size 496 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 1976, bad PEBs: 8, corrupted PEBs: 0
ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 618423331
ubi0: available PEBs: 2, total reserved PEBs: 1974, PEBs reserved for bad PEB handling: 32
UBIFS assert failed in ubifs_change_lp at 540
UBIFS assert failed in ubifs_release_lprops at 278
UBIFS assert failed in ubifs_change_lp at 540
UBIFS assert failed in ubifs_release_lprops at 278
UBIFS error (ubi0:0 pid 0): ubifs_read_node: bad node type (255 but expected 9)
UBIFS error (ubi0:0 pid 0): ubifs_read_node: bad node at LEB 125:249352, LEB mapping status 0
Not a node, first 24 bytes:UBIFS error (ubi0:0 pid 0): ubifs_iget: failed to read inode 1, error -22
Error reading superblock on volume 'ubi0:rootfsa' errno=-22!

Thank you,

Deepanraj

Labels (1)
0 Kudos
Reply
2 Replies

2,286 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Deepanraj,

Starting from 4.14.98 bsp or later, ubifs doesn't support MLC NAND Flash, but SLC is no problem. So please check your NAND Flash, please!

Hope the information is helpful for you!

Have a nice day!

BR,

Weidong

0 Kudos
Reply

2,286 Views
deepanrajanbara
Contributor IV

Hi Weidong,

Ours is MLC NAND Flash. In that case is not posbbile to boot the kernel from the rootfs ?

Thank you,

Deepanraj.A

0 Kudos
Reply