LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   UBI failed (https://www.linuxquestions.org/questions/linux-newbie-8/ubi-failed-849411/)

priyadarshan 12-09-2010 11:07 PM

UBI failed
 
Hi, as I want to boot from NAND... I have attached UBI modules and compiled my kernel... although I am getting such messages..


0x000000500000-0x000040000000 : "root"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 262144 bytes (256 KiB)
UBI: logical eraseblock size: 253952 bytes
UBI: smallest flash I/O unit: 4096
UBI: sub-page size: 1024
UBI: VID header offset: 4096 (aligned 4096)
UBI: data offset: 8192
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 4096
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 1
UBI error: ubi_init: cannot attach mtd2
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22


So any one have clue?


All times are GMT -5. The time now is 01:47 PM.