This article is about (cross-) compiling MTD-Utils. MTD-Utils(MTD == memory technology device) are user space tools to work with MTD kernel subsystem. As these tools are often necessary to write embedded file system to MTD (NOR/NAND) devices and there are some dependencies, we briefly describe here how to cross compile them.
Source and dependencies
MTD utils are available from MTD utils git. You can get them by
- Using gitweb "snapshot" feature (use "snapshot" link at latest commit at the right side)
- Using git
git pull git://git.infradead.org/mtd-utils.git mtd-utils
Note: If you use other cross compiler, replace tool chain prefix arm-none-linux-gnueabi- below by prefix of your (cross-) toolchain.