Until recently, you cannot program a ubi image directly to nand flash for the following reason:
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_why_ubiformat
However, the 3.0 or newer kernel now offer a solution to allow you to do this using the -f (--space_fixup). Documentation:
http://www.linux-mtd.infradead.org/f...ee_space_fixup
There is a UBIFS backport tree that goes back to the 2.6.32 kernel. However, I'm using the 2.6.30 kernel on an embedded board.
What steps would I take to patch my 2.6.30 kernel with one of the UBIFS backports? I'm assuming I would start with the 2.6.32 backport.