Цитата(TigerSHARC @ Apr 4 2014, 21:03)

рутовая на NAND, поддержка ubifs включена в ядре
а вас вот тут ошибка:
Код
UBI error: ubi_init: UBI error: cannot initialize UBI, error -2
ubifs включается в двух местах - сделано?
полный лог можно копипастить на pastebin.com и линк сюда..
в логе должно быть примерно такое (с вашими реалиями):
Код
[ 0.968719] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[ 0.977294] Creating 8 MTD partitions on "omap2-nand.0":
[ 0.982879] 0x000000000000-0x000000020000 : "SPL"
[ 0.989166] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 0.996124] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.003051] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.009948] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.017211] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.024108] 0x000000280000-0x000000780000 : "Kernel"
[ 1.032653] 0x000000780000-0x000010000000 : "File System"
и при монтирование размеченного раздела:
CODE
[ 133.922149] UBI: attaching mtd7 to ubi0
[ 133.926269] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 133.932800] UBI: logical eraseblock size: 126976 bytes
[ 133.938446] UBI: smallest flash I/O unit: 2048
[ 133.943359] UBI: VID header offset: 2048 (aligned 2048)
[ 133.949615] UBI: data offset: 4096
[ 136.081298] UBI: max. sequence number: 10
[ 136.105377] UBI: attached mtd7 to ubi0
[ 136.109313] UBI: MTD device name: "File System"
[ 136.115081] UBI: MTD device size: 248 MiB
[ 136.120269] UBI: number of good PEBs: 1988
[ 136.125183] UBI: number of bad PEBs: 0
[ 136.129821] UBI: number of corrupted PEBs: 0
[ 136.134460] UBI: max. allowed volumes: 128
[ 136.139282] UBI: wear-leveling threshold: 4096
[ 136.144195] UBI: number of internal volumes: 1
[ 136.148834] UBI: number of user volumes: 1
[ 136.153472] UBI: available PEBs: 0
[ 136.158111] UBI: total number of reserved PEBs: 1988
[ 136.163299] UBI: number of PEBs reserved for bad PEB handling: 19
[ 136.169647] UBI: max/mean erase counter: 5/2
[ 136.174102] UBI: image sequence number: 0
[ 136.178405] UBI: background thread "ubi_bgt0d" started, PID 1166
[ 139.822357] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 139.828704] UBIFS: file system size: 247984128 bytes (242172 KiB, 236 MiB, 1953 LEBs)
[ 139.837066] UBIFS: journal size: 12443648 bytes (12152 KiB, 11 MiB, 98 LEBs)
[ 139.844970] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 139.851257] UBIFS: default compressor: lzo
[ 139.855560] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
успешное наличие из первой части лога можно посмотреть:
Код
root@неважно:~# ls /dev/mtd*
/dev/mtd0 /dev/mtd1ro /dev/mtd3 /dev/mtd4ro /dev/mtd6 /dev/mtd7ro /dev/mtdblock2 /dev/mtdblock5
/dev/mtd0ro /dev/mtd2 /dev/mtd3ro /dev/mtd5 /dev/mtd6ro /dev/mtdblock0 /dev/mtdblock3 /dev/mtdblock6
/dev/mtd1 /dev/mtd2ro /dev/mtd4 /dev/mtd5ro /dev/mtd7 /dev/mtdblock1 /dev/mtdblock4 /dev/mtdblock7
второй:
Код
root@неважно:~# ls /dev/ubi*
/dev/ubi0 /dev/ubi0_0 /dev/ubi_ctrl
Сообщение отредактировал Jury093 - Apr 5 2014, 15:36