Compilation of ubi image production tools

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.