jffs2 on ubi volume
manoj23 at gmail.com
Mon Jun 22 22:18:43 EDT 2009
I would like to use JFFS2 on top of UBI. I have enabled
CONFIG_MTD_UBI_GLUEBI in kernel config.
I have been able to create an empty FS by doing:
> modprobe ubi mtd=1
> ubimkvol /dev/ubi0 -s 25MiB -N ubivol1
> mount -t jffs2 /dev/mtdb-nvdata /tmp/flash
I can read and write files to /tmp/flash.
How do I write a jffs2 filesystem image to a ubi volume? I tried
ubiupdatevol but I think I am not passing the right parameters.
Do I need to use ubinize to create the UBI image that can be then
programmed to the UBI volume?
Thanks for any help.
More information about the linux-mtd