Other Parts Discussed in Thread: TPS65910, DA8XX, TMP275
Hi, I am trying to create an ubi filesystem to am335x development board. The source is the original filesystem: ~/ti-sdk-am335x-evm-05.04.01.00/filesystem/base-rootfs-am335x-evm
The bellow commands were used to make the image:
mkfs.ubifs -q -r base-rootfs-am335x-evm -m 2048 -e 131072 -c 1988 -o ubifs.img
ubinize -o ubi.img -m 2048 -p 128KuB -s 512
That is my nand part MTD info:
mtdinfo /dev/mtd7 -u
Name: File System
Type: nand
Eraseblock size: 131072 bytes, 128.0 KiB
Amount of eraseblocks: 1988 (260571136 bytes, 248.5 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size: 512 bytes
OOB size: 64 bytes
Character device major/minor: 90:14
Bad blocks are allowed: true
Device is writable: true
Default UBI VID header offset: 512
Default UBI data offset: 2048
Default UBI LEB size: 129024 bytes, 126.0 KiB
Maximum UBI volumes count: 128
and finally that is part of kernel report:
...
4.166168] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[ 4.185791] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 4.206726] UBIFS error (pid 1): validate_sb: LEB size mismatch: 131072 in superblock, 126976 real
[ 4.216125] UBIFS error (pid 1): validate_sb: bad superblock, error 1
[ 4.235992] List of all partitions:
[ 4.239685] 1f00 128 mtdblock0 (driver?)
[ 4.244964] 1f01 128 mtdblock1 (driver?)
[ 4.250274] 1f02 128 mtdblock2 (driver?)
[ 4.255554] 1f03 128 mtdblock3 (driver?)
[ 4.260833] 1f04 1920 mtdblock4 (driver?)
[ 4.266113] 1f05 128 mtdblock5 (driver?)
[ 4.271392] 1f06 5120 mtdblock6 (driver?)
[ 4.276672] 1f07 254464 mtdblock7 (driver?)
[ 4.281951] No filesystem could mount root, tried: ubifs
[ 4.287597] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
...
I tried ubi, but could be ext2 or ext3 types.
thanks for any help!