LS2085AQDS: ubi attach issue

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

LS2085AQDS: ubi attach issue

1,163 Views
jitenpatel
Contributor II

I am trying to boot LS2085AQDS board from NAND flash. I want to use ubifs file system. Now when booting from Nand, it boots well until the point of "mounting UBIFS" .

I referred the thread T1040RDB Failed to mount UBIFS | NXP Community  and tried to follow procedures but faced issue while attaching ubi with mtd partiton.

Here are my logs:-

ubiformat /dev/mtd9

ubiformat: mtd9 (nand), size 41943040 bytes (40.0 MiB), 320 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes

libscan: scanning eraseblock 319 -- 100 % complete 

ubiformat: 320 eraseblocks have valid erase counter, mean value is 1

ubiformat: flashing eraseblock 124 -- 100 % complete 

ubiformat: formatting eraseblock 319 -- 100 % complete

ubiattach /dev/ubi_ctrl -m 9

[  309.594964] ubi0: attaching mtd9

[  309.805134] ubi0: scanning is finished

[  309.815985] ubi0 error: vtbl_check: bad CRC at record 23: 0xdde1463f, not 0x000000

[  309.823555] Volume table record 23 dump:

[  309.827542]  reserved_pebs   0

[  309.830592]  alignment       0

[  309.833698]  data_pad        0

[  309.836747]  vol_type        0

[  309.839795]  upd_marker      0

[  309.842843]  name_len        0

[  309.845968]  name            NULL

[  309.849288] ubi0 error: vtbl_check: bad CRC at record 23: 0xf116c36b, not 0x000000

[  309.856905] Volume table record 23 dump:

[  309.860822]  reserved_pebs   0

[  309.863916]  alignment       0

[  309.866965]  data_pad        0

[  309.870012]  vol_type        0

[  309.873059]  upd_marker      0

[  309.876174]  name_len        0

[  309.879222]  name            NULL

[  309.882532] ubi0 error: process_lvol: both volume tables are corrupted

[  309.889125] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -22

ubiattach: UBI_IOCATT: Invalid argument

 

Is the anything else i am missing for nand configuration or it could be some other issue? Have anyone tried ubifs filesystem on LS2085AQDS

Labels (1)
0 Kudos
0 Replies