mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 18:54:39 +02:00
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
parent
ba682deebb
commit
7e7567ef7e
@ -60,27 +60,38 @@ static const char COMMAND[][COMMAND_NUM]=
|
|||||||
static int handle_help(void)
|
static int handle_help(void)
|
||||||
{
|
{
|
||||||
printf(" command support in current version:\n"
|
printf(" command support in current version:\n"
|
||||||
" help print this help;\n"
|
/* " query" */
|
||||||
" boot boot device and make it in stage2;\n"
|
/* " querya" */
|
||||||
" list show current device number can connect;\n"
|
/* " erase" */
|
||||||
" fconfig set USB Boot config file;\n"
|
/* " read" */
|
||||||
" nquery query NAND flash info;\n"
|
/* " prog" */
|
||||||
" nread read NAND flash data with checking bad block and ECC;\n"
|
" nquery \tquery NAND flash info;\n"
|
||||||
" nreadraw read NAND flash data without checking bad block and ECC;\n"
|
" nerase \terase NAND flash;\n"
|
||||||
" nreadoob read NAND flash oob without checking bad block and ECC;\n"
|
" nread \tread NAND flash data with checking bad block and ECC;\n"
|
||||||
" nerase erase NAND flash;\n"
|
" nreadraw \tread NAND flash data without checking bad block and ECC;\n"
|
||||||
" nprog program NAND flash with data and ECC;\n"
|
" nreadoob \tread NAND flash oob without checking bad block and ECC;\n" /* index 10 */
|
||||||
" nmark mark a bad block in NAND flash;\n"
|
" nprog \tprogram NAND flash with data and ECC;\n"
|
||||||
" go execute program in SDRAM;\n"
|
" help \tprint this help;\n"
|
||||||
" version show current USB Boot software version;\n"
|
" version \tshow current USB Boot software version;\n"
|
||||||
" exit quit from telnet session;\n"
|
" go \texecute program in SDRAM;\n"
|
||||||
" readnand read data from nand flash and store to SDRAM;\n"
|
" fconfig \tset USB Boot config file;(not implement)\n"
|
||||||
" load load file data to SDRAM;\n"
|
" exit \tquit from telnet session;\n"
|
||||||
" run run command script in file;\n"
|
" readnand \tread data from nand flash and store to SDRAM;\n"
|
||||||
" memtest do SDRAM test;\n"
|
" gpios \tset one GPIO to high level;\n"
|
||||||
" gpios let one GPIO to high level;\n"
|
" gpioc \tlet one GPIO to low level;\n");
|
||||||
" gpioc let one GPIO to low level;\n");
|
" boot \tboot device and make it in stage2;\n" /* index 20 */
|
||||||
/* printf(" nmake read all data from nand flash and store to file(experimental);\n"); */
|
" list \tshow current device number can connect;(not implement)\n"
|
||||||
|
/* " select" */
|
||||||
|
/* " unselect" */
|
||||||
|
/* " chip" */
|
||||||
|
/* " unchip" */
|
||||||
|
" nmark \tmark a bad block in NAND flash;\n"
|
||||||
|
" nmake \tread all data from nand flash and store to file(experimental);(not implement)\n"
|
||||||
|
" load \tload file data to SDRAM;\n"
|
||||||
|
" memtest \tdo SDRAM test;\n"
|
||||||
|
" run\tun command script in file;\n"
|
||||||
|
" sdprog \tprogram SD card;(not implement)"
|
||||||
|
" sdread \tread data from SD card;(not implement)");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user