Compiling MTD-utils

Michael xemc at yahoo.com
Mon Dec 6 11:55:29 EST 2004


> Hi All
> 
> I'm tring to compile the latest snapshot of MTD utils for my host
> and
> embedded target systems. According to Karim Yaghmour's Building
> Embedded Linux Systems I should use:
> 
> $ automake --foreign; autoconf
> $ ./configure --with-kernel=/usr/src/linux
> 

No, I don't believe those are the correct commands.  I've never
used them anyways, and MTD has changed since his instructions.

I simply enter the 'mtd/util' directory, and do
make CROSS=arm-linux-  flash_erase flash_eraseall nanddump
nandwrite
(as those are the only utilities I use)

Take a look at the makefile, it seems pretty straightforward.

Mike





More information about the linux-mtd mailing list