Enable UBI

modulename: ubi.ko

configname: CONFIG_MTD_UBI

Linux Kernel Configuration
└─>Device Drivers
└─>Memory Technology Device (MTD) support
└─>UBI - Unsorted block images
└─>Enable UBI
In linux kernel since version 2.6.24 (release Date: 2008-01-24)  
UBI is a software layer above MTD layer which admits of LVM-like
logical volumes on top of MTD devices, hides some complexities of
flash chips like wear and bad blocks and provides some other useful
capabilities. Please, consult the MTD web site for more details
(www.linux-mtd.infradead.org).

source code: