Hi Tamotsu,
It looks like the spec file was missing from the release. Sorry about that. This will be addressed in the next release. In the mean time please download and apply the following patch:
https://s3.amazonaws.com/LogicPDTDG/flashtool.patch
Apply this in the LTIB dir:
.../logic/Logic_BSPs/Linux_3.0/REL-ltib-DM3730-2.3-2
and then rebuild. The tool will be automatically added to the file system:
DM-37x# flashtool
Must supply mtd device name
Must supply length if not writing
Must set either -w or -e.
Must supply start offset
flashtool - erase/write MTD NAND flash
Usage:
flashtool [OPTIONS] mtd-device [image-file]
mtd-device Target MTD partition in mtdX or /dev/mtdX format
image-file Source data if writing
OPTIONS:
-d, --debug Enable debug
-w, --write Write image-file
-e, --erase Erase blocks; with -w, erase-before-write
-s, --start x Offset from partition start, in bytes
-l, --length x In bytes, else input file length is used
--failbad Fail if any bad block is found
--maxoff x Do not go above this absolute offset
--legacy Write legacy infix OOB layout
--dm365-rbl Write DM365 RBL compatible OOB layout
--hamming Write OMAP Hamming OOB layout
--ubi UBI writing: per block, skip trailing all-FF pages
-q, --quiet
DM-37x#