Hi forums,
I am currently trying to mount the ubi.img on mtd9 but i get the following error. any suggestions and solutions are welcome.
log is as below
root@am437x-evm:/# ls bin etc lib opt sbin tmp var boot home media proc srv ubi.img www dev include mnt run sys usr root@am437x-evm:/# mtdinfo /dev/mtd9 mtd9 Name: NAND.file-system Type: nand Eraseblock size: 262144 bytes, 256.0 KiB Amount of eraseblocks: 2008 (526385152 bytes, 502.0 MiB) Minimum input/output unit size: 4096 bytes Sub-page size: 1024 bytes OOB size: 224 bytes Character device major/minor: 90:18 Bad blocks are allowed: true Device is writable: true root@am437x-evm:/# ubiformat /dev/mtd9 -f ubi.img -s 1024 -O 2048 ubiformat: mtd9 (nand), size 526385152 bytes (502.0 MiB), 2008 eraseblocks of 2s libscan: scanning eraseblock 2007 -- 100 % complete ubiformat: 139 eraseblocks have valid erase counter, mean value is 1 ubiformat: 1869 eraseblocks are supposedly empty ubiformat: warning!: only 139 of 2008 eraseblocks have valid erase counter ubiformat: erase counter 0 will be used for all eraseblocks ubiformat: note, arbitrary erase counter value may be specified using -e option ubiformat: continue? (y/N) y ubiformat: use erase counter 0 for all eraseblocks ubiformat: warning!: VID header and data offsets on flash are 4096 and 8192, wh6 ubiformat: use new offsets 2048 and 4096? ubiformat: continue? (y/N) y ubiformat: use offsets 2048 and 4096 ubiformat: error!: file "ubi.img" is too large (576061440 bytes) error 0 (Success) root@am437x-evm:/#
Regards
-Ash