On the host, you need mkfs. ubifs and ubinize tools to make the deployed root file system into an ubi image, which can be obtained by cross-compiling the mtd-utils-1.3.0 and later versions. Currently, the latest version is 1.4.2.tar.bz2.
The following process is performed on Fedora Core 9 and may vary with other releases. Compiling MTD-utils requires the support of zlib and lzo, so you need to download and compile them. Download package: wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.03.tar.gzwget http://zlib.net/zlib-1.2.5.tar.gzwget ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.4.2.tar.bz2 to compile zlib. /configuremakemake install to compile lzo. /configure or. /configure -- enable-sharedmakemake install compile MTD-utils: Make without_xattr = 1 and then convert ubinize and mkfs under the ubi-utils directory. mkfs. copy ubifs to the/usr/bin directory.