flashcp: new applet by Stefan Seyfried. +900 bytes

Signed-off-by: Stefan Seyfried <stefan.seyfried@googlemail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Stefan Seyfried
2009-11-21 18:32:19 +01:00
committed by Denys Vlasenko
parent 102ff76c84
commit d095fd4d95
5 changed files with 169 additions and 2 deletions

View File

@@ -160,6 +160,7 @@ IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE))
IF_FLASH_ERASEALL(APPLET(flash_eraseall, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_lock))
IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_unlock))
IF_FLASHCP(APPLET(flashcp, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
IF_FOLD(APPLET(fold, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_FREE(APPLET(free, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_FREERAMDISK(APPLET(freeramdisk, _BB_DIR_SBIN, _BB_SUID_DROP))

View File

@@ -1286,8 +1286,15 @@
#define flash_eraseall_full_usage "\n\n" \
"Erase an MTD device\n" \
"\nOptions:" \
"\n -j format the device for jffs2" \
"\n -q don't display progress messages"
"\n -j Format the device for jffs2" \
"\n -q Don't display progress messages" \
#define flashcp_trivial_usage \
"-v FILE MTD_DEVICE"
#define flashcp_full_usage "\n\n" \
"Copy an image to MTD device\n" \
"\nOptions:" \
"\n -v Verbose" \
#define fold_trivial_usage \
"[-bs] [-w WIDTH] [FILE]"