кто-нибудь пробовал работать на файловой системе ubifs?
у меня не получается.
имеется плата на at91sam9260
nand K9k8g08u0a
собран образ командами:
sudo mkfs.ubifs -e 0x1F800 -c 65536 -m 2048 -x lzo -r FileSystem -o rootfs.ubifs
sudo ubinize -p 128KiB -m 2048 -s 2048 -o rootfs.ubi ubifs.cfg
[ubifs]
mode=ubi
image=rootfs.ubifs
vol_id=0
vol_size=64MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
bootargs=mem=64M console=ttyS0,115200 ubi.mtd=1,512 root=ubi0:rootfs rootfstype=ubifs loglevel=8
здесь: http://www.at91.com/index.php?option=com_j...amp;hilit=ubifs
пишут, что должно работать...
имею:
## Booting image at 20400000 ...
Image Name: Linux Kernel Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1339881 Bytes = 1.3 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Kernel command line: mem=64M=console=ttyS0,115200 ubi.mtd=1,512 root=ubi0:rootfs
rootfstype=ubifs loglevel=8
AT91 NAND: 8-bit, Software ECC
Creating 2 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "Partition 1"
ftl_cs: FTL header not found.
0x000000040000-0x000040000000 : "Partition 2"
ftl_cs: FTL header not found.
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI error: ubi_read_volume_table: the layout volume was not found
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 256 mtdblock0 (driver?)
1f01 1048320 mtdblock1 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c002703c>] (unwind_backtrace+0x0/0xdc) from [<c0031134>] (panic+0x44/0x10c)
[<c0031134>] (panic+0x44/0x10c) from [<c0008e88>] (mount_block_root+0x24c/0x29c)
[<c0008e88>] (mount_block_root+0x24c/0x29c) from [<c0008fcc>] (prepare_namespace
+0x88/0x1b8)
[<c0008fcc>] (prepare_namespace+0x88/0x1b8) from [<c0008724>] (kernel_init+0xc8/
0xfc)
[<c0008724>] (kernel_init+0xc8/0xfc) from [<c00236f0>] (kernel_thread_exit+0x0/0
x8)
куда копать?