jffs2 on ubi volume
Thang Dao Duy
hanbaoquansexy at gmail.com
Fri Jun 26 02:20:09 EDT 2009
manoj23 at gmail.com wrote:
>Answering my own question, I got it to work by creating a /dev/ubi0_1
>device file and then using ubiupdatevol.
>>./ubimkvol /dev/ubi0 -s25MiB -Nubivol1 -n1
>> mknod /dev/ubi0_1 c 253 2
>> ./ubiupdatevol /dev/ubi0_1 sum.jffs2.rootfs
>> mkdir /tmp/flash
Command ubimkvol will create a device /dev/ubi0_1, so "mknod
/dev/ubi0_1 c 253 2" may be unnecessary.
manoj23 at gmail.com wrote:
>> mount -t jffs2 /dev/mtdb-nvdata /tmp/flash
jffs2 file system does not work on UBI API, it works on MTD API. so we
cannot mount jffs2 on ubi volume. We can use ubifs on ubi volume:
mount -t ubifs ubi0_1 /mnt/
More information about the linux-mtd
mailing list