how to create a UBIFS image

Cransh
Hi every one .
I have a Tiny6410 with 2GB nand flash and I need to make UBIfs image to put
it on the nand but I can't figure out the right values to create it with
mkfs.ubifs and ubinize .
thanks 
ps: I'm using OSELAS.BSP-Pengutronix-Mini6410-2011.11.0

Juergen Beisert
PTXdist can create this image for you. You just need to fill in the various
parameters UBI and UBIFS needs to fit into the NAND. Most of these
parameters you can get from the "mtdinfo" tool.

Cransh
thank you.
I know that , but the problem is that the distro that come with the board
don't have it, so I can't get it from there.
I have an idea ,  I will try it and post the result.

Juergen Beisert
Its just simple: build the kernel with UBI/UBIFS support from the
OSELAS.BSP and boot the root filesystem from the same BSP via 'NFS root'.
Then you can get all info you need to make it work from NAND only in the
next step.