UBIFS mount fails

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UBIFS mount fails

3,526 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

3,359 次查看
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 项奖励
回复

3,359 次查看
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 项奖励
回复