mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 18:43:09 +02:00
cleanup the help command
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
parent
7e7567ef7e
commit
2dc8b232e3
@ -65,33 +65,33 @@ static int handle_help(void)
|
|||||||
/* " erase" */
|
/* " erase" */
|
||||||
/* " read" */
|
/* " read" */
|
||||||
/* " prog" */
|
/* " prog" */
|
||||||
" nquery \tquery NAND flash info;\n"
|
" nquery query NAND flash info\n"
|
||||||
" nerase \terase NAND flash;\n"
|
" nerase erase NAND flash\n"
|
||||||
" nread \tread NAND flash data with checking bad block and ECC;\n"
|
" nread read NAND flash data with checking bad block and ECC\n"
|
||||||
" nreadraw \tread NAND flash data without checking bad block and ECC;\n"
|
" nreadraw read NAND flash data without checking bad block and ECC\n"
|
||||||
" nreadoob \tread NAND flash oob without checking bad block and ECC;\n" /* index 10 */
|
" nreadoo read NAND flash oob without checking bad block and ECC\n" /* index 10 */
|
||||||
" nprog \tprogram NAND flash with data and ECC;\n"
|
" nprog program NAND flash with data and ECC\n"
|
||||||
" help \tprint this help;\n"
|
" help print this help\n"
|
||||||
" version \tshow current USB Boot software version;\n"
|
" version show current USB Boot software version\n"
|
||||||
" go \texecute program in SDRAM;\n"
|
" go execute program in SDRAM\n"
|
||||||
" fconfig \tset USB Boot config file;(not implement)\n"
|
" fconfig set USB Boot config file(not implement)\n"
|
||||||
" exit \tquit from telnet session;\n"
|
" exit quit from telnet session\n"
|
||||||
" readnand \tread data from nand flash and store to SDRAM;\n"
|
" readnand read data from nand flash and store to SDRAM\n"
|
||||||
" gpios \tset one GPIO to high level;\n"
|
" gpios set one GPIO to high level\n"
|
||||||
" gpioc \tlet one GPIO to low level;\n");
|
" gpioc set one GPIO to low level\n"
|
||||||
" boot \tboot device and make it in stage2;\n" /* index 20 */
|
" boot boot device and make it in stage2\n" /* index 20 */
|
||||||
" list \tshow current device number can connect;(not implement)\n"
|
" list show current device number can connect(not implement)\n"
|
||||||
/* " select" */
|
/* " select" */
|
||||||
/* " unselect" */
|
/* " unselect" */
|
||||||
/* " chip" */
|
/* " chip" */
|
||||||
/* " unchip" */
|
/* " unchip" */
|
||||||
" nmark \tmark a bad block in NAND flash;\n"
|
" nmark mark a bad block in NAND flash\n"
|
||||||
" nmake \tread all data from nand flash and store to file(experimental);(not implement)\n"
|
" nmake read all data from nand flash and store to file(not implement)\n"
|
||||||
" load \tload file data to SDRAM;\n"
|
" load load file data to SDRAM\n"
|
||||||
" memtest \tdo SDRAM test;\n"
|
" memtest do SDRAM test\n"
|
||||||
" run\tun command script in file;\n"
|
" run run command script in file(implement by -c args)\n"
|
||||||
" sdprog \tprogram SD card;(not implement)"
|
" sdprog program SD card(not implement)\n"
|
||||||
" sdread \tread data from SD card;(not implement)");
|
" sdread read data from SD card(not implement)\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ static void help(void)
|
|||||||
printf("Usage: inflash [options] ...(must run as root)\n"
|
printf("Usage: inflash [options] ...(must run as root)\n"
|
||||||
" -h --help\t\t\tPrint this help message\n"
|
" -h --help\t\t\tPrint this help message\n"
|
||||||
" -v --version\t\t\tPrint the version number\n"
|
" -v --version\t\t\tPrint the version number\n"
|
||||||
" -c --command\t\t\tDirect run the command\n\n"
|
" -c --command\t\t\tDirect run the commands, split by ';'\n"
|
||||||
" <run without options to enter commands via inflash prompt>\n\n"
|
" <run without options to enter commands via inflash prompt>\n\n"
|
||||||
"Report bugs to <xiangfu.z@gmail.com>.\n"
|
"Report bugs to <xiangfu.z@gmail.com>.\n"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user