mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 20:34:38 +00:00
General help message cleanup
Many of the help messages were not really helpful; for example, many commands that take no arguments would not print a correct synopsis line, but "No additional help available." which is not exactly wrong, but not helpful either. Commit ``Make "usage" messages more helpful.'' changed this partially. But it also became clear that lots of "Usage" and "Help" messages (fields "usage" and "help" in struct cmd_tbl_s respective) were actually redundant. This patch cleans this up - for example: Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat. After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dtt Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
94796d8544
commit
a89c33db96
165 changed files with 507 additions and 496 deletions
|
@ -156,7 +156,7 @@ int do_vcimage (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
vcimage, 2, 0, do_vcimage,
|
vcimage, 2, 0, do_vcimage,
|
||||||
"loads an image to Display",
|
"loads an image to Display",
|
||||||
"vcimage addr\n"
|
"vcimage addr"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* EOF EB+MCF-EV123c */
|
/* EOF EB+MCF-EV123c */
|
||||||
|
|
|
@ -131,7 +131,7 @@ U_BOOT_CMD(
|
||||||
diufb, CONFIG_SYS_MAXARGS, 1, ads5121diu_init_show_bmp,
|
diufb, CONFIG_SYS_MAXARGS, 1, ads5121diu_init_show_bmp,
|
||||||
"Init or Display BMP file",
|
"Init or Display BMP file",
|
||||||
"init\n - initialize DIU\n"
|
"init\n - initialize DIU\n"
|
||||||
"addr\n - display bmp at address 'addr'\n"
|
"addr\n - display bmp at address 'addr'"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -97,5 +97,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
bootstrap, 3, 0, do_bootstrap,
|
bootstrap, 3, 0, do_bootstrap,
|
||||||
"program the I2C bootstrap EEPROM",
|
"program the I2C bootstrap EEPROM",
|
||||||
"<cpu-freq> <nor|nand> - program the I2C bootstrap EEPROM\n"
|
"<cpu-freq> <nor|nand> - program the I2C bootstrap EEPROM"
|
||||||
);
|
);
|
||||||
|
|
|
@ -191,5 +191,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
bootstrap, 2, 0, do_bootstrap,
|
bootstrap, 2, 0, do_bootstrap,
|
||||||
"program the I2C bootstrap EEPROM",
|
"program the I2C bootstrap EEPROM",
|
||||||
"<nand|nor> - strap to boot from NAND or NOR flash\n"
|
"<nand|nor> - strap to boot from NAND or NOR flash"
|
||||||
);
|
);
|
||||||
|
|
|
@ -214,5 +214,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
bootstrap, 3, 1, do_bootstrap,
|
bootstrap, 3, 1, do_bootstrap,
|
||||||
"program the serial device strap",
|
"program the serial device strap",
|
||||||
"wrclk [prom0|prom1] - program the serial device strap\n"
|
"wrclk [prom0|prom1] - program the serial device strap"
|
||||||
);
|
);
|
||||||
|
|
|
@ -291,7 +291,7 @@ U_BOOT_CMD(
|
||||||
RCONF: Read current eeprom configuration. \n\
|
RCONF: Read current eeprom configuration. \n\
|
||||||
-----------------------------------------------\n\
|
-----------------------------------------------\n\
|
||||||
WTEST: Test EEPROM write with predefined values\n\
|
WTEST: Test EEPROM write with predefined values\n\
|
||||||
-----------------------------------------------\n"
|
-----------------------------------------------"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif /* CONFIG_CMD_EEPROM */
|
#endif /* CONFIG_CMD_EEPROM */
|
||||||
|
|
|
@ -331,5 +331,5 @@ U_BOOT_CMD(
|
||||||
l2cache, 2, 1, do_l2cache,
|
l2cache, 2, 1, do_l2cache,
|
||||||
"enable or disable L2 cache",
|
"enable or disable L2 cache",
|
||||||
"[on, off]\n"
|
"[on, off]\n"
|
||||||
" - enable or disable L2 cache\n"
|
" - enable or disable L2 cache"
|
||||||
);
|
);
|
||||||
|
|
|
@ -291,7 +291,7 @@ U_BOOT_CMD(
|
||||||
RCONF: Read current eeprom configuration. \n\
|
RCONF: Read current eeprom configuration. \n\
|
||||||
-----------------------------------------------\n\
|
-----------------------------------------------\n\
|
||||||
WTEST: Test EEPROM write with predefined values\n\
|
WTEST: Test EEPROM write with predefined values\n\
|
||||||
-----------------------------------------------\n"
|
-----------------------------------------------"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif /* CONFIG_CMD_EEPROM */
|
#endif /* CONFIG_CMD_EEPROM */
|
||||||
|
|
|
@ -227,5 +227,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
bootstrap, 2, 0, do_bootstrap,
|
bootstrap, 2, 0, do_bootstrap,
|
||||||
"program the I2C bootstrap EEPROM",
|
"program the I2C bootstrap EEPROM",
|
||||||
"<nand|nor> - strap to boot from NAND or NOR flash\n"
|
"<nand|nor> - strap to boot from NAND or NOR flash"
|
||||||
);
|
);
|
||||||
|
|
|
@ -233,19 +233,19 @@ static int do_lcd_cur (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
lcd_cls, 1, 1, do_lcd_clear,
|
lcd_cls, 1, 1, do_lcd_clear,
|
||||||
"lcd clear display",
|
"lcd clear display",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
lcd_puts, 2, 1, do_lcd_puts,
|
lcd_puts, 2, 1, do_lcd_puts,
|
||||||
"display string on lcd",
|
"display string on lcd",
|
||||||
"<string> - <string> to be displayed\n"
|
"<string> - <string> to be displayed"
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
lcd_putc, 2, 1, do_lcd_putc,
|
lcd_putc, 2, 1, do_lcd_putc,
|
||||||
"display char on lcd",
|
"display char on lcd",
|
||||||
"<char> - <char> to be displayed\n"
|
"<char> - <char> to be displayed"
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
|
@ -253,5 +253,5 @@ U_BOOT_CMD(
|
||||||
"shift cursor on lcd",
|
"shift cursor on lcd",
|
||||||
"<count> <dir> - shift cursor on lcd <count> times, direction is <dir> \n"
|
"<count> <dir> - shift cursor on lcd <count> times, direction is <dir> \n"
|
||||||
" <count> - 0..31\n"
|
" <count> - 0..31\n"
|
||||||
" <dir> - 0=backward 1=forward\n"
|
" <dir> - 0=backward 1=forward"
|
||||||
);
|
);
|
||||||
|
|
|
@ -94,7 +94,7 @@ static int do_sw_stat(cmd_tbl_t* cmd_tp, int flags, int argc, char *argv[])
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
sw2_stat, 1, 1, do_sw_stat,
|
sw2_stat, 1, 1, do_sw_stat,
|
||||||
"show status of switch 2",
|
"show status of switch 2",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
static int do_led_ctl(cmd_tbl_t* cmd_tp, int flags, int argc, char *argv[])
|
static int do_led_ctl(cmd_tbl_t* cmd_tp, int flags, int argc, char *argv[])
|
||||||
|
@ -134,7 +134,7 @@ U_BOOT_CMD (
|
||||||
led_ctl, 3, 1, do_led_ctl,
|
led_ctl, 3, 1, do_led_ctl,
|
||||||
"make led 1 or 2 on or off",
|
"make led 1 or 2 on or off",
|
||||||
"<led_no> <on/off> - make led <led_no> on/off,\n"
|
"<led_no> <on/off> - make led <led_no> on/off,\n"
|
||||||
"\tled_no is 1 or 2\t"
|
"\tled_no is 1 or 2"
|
||||||
);
|
);
|
||||||
|
|
||||||
#define SPI_CS_GPIO0 0
|
#define SPI_CS_GPIO0 0
|
||||||
|
|
|
@ -128,5 +128,5 @@ static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *argv[]
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
update_boot_eeprom, 1, 1, update_boot_eeprom,
|
update_boot_eeprom, 1, 1, update_boot_eeprom,
|
||||||
"update boot eeprom content",
|
"update boot eeprom content",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
|
@ -254,18 +254,18 @@ static int do_lcd_cur(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(lcd_test, 1, 1, do_lcd_test, "lcd test display", NULL);
|
U_BOOT_CMD(lcd_test, 1, 1, do_lcd_test, "lcd test display", "");
|
||||||
U_BOOT_CMD(lcd_cls, 1, 1, do_lcd_clear, "lcd clear display", NULL);
|
U_BOOT_CMD(lcd_cls, 1, 1, do_lcd_clear, "lcd clear display", "");
|
||||||
U_BOOT_CMD(lcd_puts, 2, 1, do_lcd_puts,
|
U_BOOT_CMD(lcd_puts, 2, 1, do_lcd_puts,
|
||||||
"display string on lcd",
|
"display string on lcd",
|
||||||
"<string> - <string> to be displayed\n");
|
"<string> - <string> to be displayed");
|
||||||
U_BOOT_CMD(lcd_putc, 2, 1, do_lcd_putc,
|
U_BOOT_CMD(lcd_putc, 2, 1, do_lcd_putc,
|
||||||
"display char on lcd",
|
"display char on lcd",
|
||||||
"<char> - <char> to be displayed\n");
|
"<char> - <char> to be displayed");
|
||||||
U_BOOT_CMD(lcd_cur, 3, 1, do_lcd_cur,
|
U_BOOT_CMD(lcd_cur, 3, 1, do_lcd_cur,
|
||||||
"shift cursor on lcd",
|
"shift cursor on lcd",
|
||||||
"<count> <dir>- shift cursor on lcd <count> times, direction is <dir> \n"
|
"<count> <dir>- shift cursor on lcd <count> times, direction is <dir> \n"
|
||||||
" <count> - 0~31\n" " <dir> - 0,backward; 1, forward\n");
|
" <count> - 0~31\n" " <dir> - 0,backward; 1, forward");
|
||||||
|
|
||||||
#if 0 /* test-only */
|
#if 0 /* test-only */
|
||||||
void set_phy_loopback_mode(void)
|
void set_phy_loopback_mode(void)
|
||||||
|
@ -373,8 +373,8 @@ static int do_led_test_on(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(ledon, 1, 1, do_led_test_on,
|
U_BOOT_CMD(ledon, 1, 1, do_led_test_on,
|
||||||
"led test light on", NULL);
|
"led test light on", "");
|
||||||
|
|
||||||
U_BOOT_CMD(ledoff, 1, 1, do_led_test_off,
|
U_BOOT_CMD(ledoff, 1, 1, do_led_test_off,
|
||||||
"led test light off", NULL);
|
"led test light off", "");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -168,7 +168,7 @@ int do_show_xbridge_info(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(xbriinfo, 1, 1, do_show_xbridge_info,
|
U_BOOT_CMD(xbriinfo, 1, 1, do_show_xbridge_info,
|
||||||
"Show PCIX bridge info", NULL);
|
"Show PCIX bridge info", "");
|
||||||
|
|
||||||
#define TAISHAN_PCI_DEV_ID0 0x800
|
#define TAISHAN_PCI_DEV_ID0 0x800
|
||||||
#define TAISHAN_PCI_DEV_ID1 0x1000
|
#define TAISHAN_PCI_DEV_ID1 0x1000
|
||||||
|
@ -222,7 +222,7 @@ int do_show_pcix_device_info(cmd_tbl_t * cmdtp, int flag, int argc,
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(xdevinfo, 1, 1, do_show_pcix_device_info,
|
U_BOOT_CMD(xdevinfo, 1, 1, do_show_pcix_device_info,
|
||||||
"Show PCIX Device info", NULL);
|
"Show PCIX Device info", "");
|
||||||
|
|
||||||
extern void show_reset_reg(void);
|
extern void show_reset_reg(void);
|
||||||
|
|
||||||
|
@ -233,4 +233,4 @@ int do_show_reset_reg_info(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(resetinfo, 1, 1, do_show_reset_reg_info,
|
U_BOOT_CMD(resetinfo, 1, 1, do_show_reset_reg_info,
|
||||||
"Show Reset REG info", NULL);
|
"Show Reset REG info", "");
|
||||||
|
|
|
@ -74,5 +74,5 @@ int do_update_boot_eeprom(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(update_boot_eeprom, 1, 1, do_update_boot_eeprom,
|
U_BOOT_CMD(update_boot_eeprom, 1, 1, do_update_boot_eeprom,
|
||||||
"update bootstrap eeprom content", NULL);
|
"update bootstrap eeprom content", "");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -282,5 +282,5 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
evb440spe, 3, 1, do_evb440spe,
|
evb440spe, 3, 1, do_evb440spe,
|
||||||
"program the serial device strap",
|
"program the serial device strap",
|
||||||
"wrclk [prom0|prom1] - program the serial device strap\n"
|
"wrclk [prom0|prom1] - program the serial device strap"
|
||||||
);
|
);
|
||||||
|
|
|
@ -670,14 +670,14 @@ U_BOOT_CMD (temp, 6, 0, do_temp_sensor,
|
||||||
" - Set config options.\n"
|
" - Set config options.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"All values can be decimal or hex (hex preceded with 0x).\n"
|
"All values can be decimal or hex (hex preceded with 0x).\n"
|
||||||
"Only whole numbers are supported for external limits.\n");
|
"Only whole numbers are supported for external limits.");
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
U_BOOT_CMD (loadace, 2, 0, do_loadace,
|
U_BOOT_CMD (loadace, 2, 0, do_loadace,
|
||||||
"load fpga configuration from System ACE compact flash",
|
"load fpga configuration from System ACE compact flash",
|
||||||
"N\n"
|
"N\n"
|
||||||
" - Load configuration N (0-7) from System ACE compact flash\n"
|
" - Load configuration N (0-7) from System ACE compact flash\n"
|
||||||
"loadace\n" " - loads default configuration\n");
|
"loadace\n" " - loads default configuration");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte,
|
U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte,
|
||||||
|
@ -685,19 +685,19 @@ U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte,
|
||||||
"N [ADDRESS]\n"
|
"N [ADDRESS]\n"
|
||||||
" - set software configuration byte to N, optionally use ADDRESS as\n"
|
" - set software configuration byte to N, optionally use ADDRESS as\n"
|
||||||
" location of buffer for flash copy\n"
|
" location of buffer for flash copy\n"
|
||||||
"swconfig\n" " - display software configuration byte\n");
|
"swconfig\n" " - display software configuration byte");
|
||||||
|
|
||||||
U_BOOT_CMD (pause, 2, 0, do_pause,
|
U_BOOT_CMD (pause, 2, 0, do_pause,
|
||||||
"sleep processor until any key is pressed with poll time of N seconds",
|
"sleep processor until any key is pressed with poll time of N seconds",
|
||||||
"N\n"
|
"N\n"
|
||||||
" - sleep processor until any key is pressed with poll time of N seconds\n"
|
" - sleep processor until any key is pressed with poll time of N seconds\n"
|
||||||
"pause\n"
|
"pause\n"
|
||||||
" - sleep processor until any key is pressed with poll time of 1 second\n");
|
" - sleep processor until any key is pressed with poll time of 1 second");
|
||||||
|
|
||||||
U_BOOT_CMD (swrecon, 1, 0, do_swreconfig,
|
U_BOOT_CMD (swrecon, 1, 0, do_swreconfig,
|
||||||
"trigger a board reconfigure to the software selected configuration",
|
"trigger a board reconfigure to the software selected configuration",
|
||||||
"\n"
|
"\n"
|
||||||
" - trigger a board reconfigure to the software selected configuration\n");
|
" - trigger a board reconfigure to the software selected configuration");
|
||||||
|
|
||||||
int board_eth_init(bd_t *bis)
|
int board_eth_init(bd_t *bis)
|
||||||
{
|
{
|
||||||
|
|
|
@ -487,7 +487,7 @@ U_BOOT_CMD (eeprom, 4, 0, do_eeprom,
|
||||||
" - store contents of eeprom at address ADD\n"
|
" - store contents of eeprom at address ADD\n"
|
||||||
"eeprom p ADD\n"
|
"eeprom p ADD\n"
|
||||||
" - put data stored at address ADD into the eeprom\n"
|
" - put data stored at address ADD into the eeprom\n"
|
||||||
"eeprom d\n" " - return eeprom to default contents\n");
|
"eeprom d\n" " - return eeprom to default contents");
|
||||||
|
|
||||||
unsigned int PowerSpanRead (unsigned int theOffset)
|
unsigned int PowerSpanRead (unsigned int theOffset)
|
||||||
{
|
{
|
||||||
|
|
|
@ -307,19 +307,19 @@ int barcobcd_boot_image (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
try_working, 1, 1, barcobcd_boot_image,
|
try_working, 1, 1, barcobcd_boot_image,
|
||||||
"check flash value and boot the appropriate image",
|
"check flash value and boot the appropriate image",
|
||||||
"\n"
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
boot_working, 1, 1, barcobcd_boot_image,
|
boot_working, 1, 1, barcobcd_boot_image,
|
||||||
"check flash value and boot the appropriate image",
|
"check flash value and boot the appropriate image",
|
||||||
"\n"
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
boot_default, 1, 1, barcobcd_boot_image,
|
boot_default, 1, 1, barcobcd_boot_image,
|
||||||
"check flash value and boot the appropriate image",
|
"check flash value and boot the appropriate image",
|
||||||
"\n"
|
""
|
||||||
);
|
);
|
||||||
/*
|
/*
|
||||||
* We are not using serial communication, so just provide empty functions
|
* We are not using serial communication, so just provide empty functions
|
||||||
|
|
|
@ -198,7 +198,7 @@ U_BOOT_CMD (dip, 1, 1, cmd_dip,
|
||||||
"\n"
|
"\n"
|
||||||
" - prints the state of the dip switch and/or\n"
|
" - prints the state of the dip switch and/or\n"
|
||||||
" external configuration inputs as hex value.\n"
|
" external configuration inputs as hex value.\n"
|
||||||
" - \"Config 1\" is the LSB\n");
|
" - \"Config 1\" is the LSB");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -229,7 +229,7 @@ static int cmd_buz (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (buz, 2, 1, cmd_buz,
|
U_BOOT_CMD (buz, 2, 1, cmd_buz,
|
||||||
"turns buzzer on/off",
|
"turns buzzer on/off",
|
||||||
"\n" "buz <on/off>\n" " - turns the buzzer on or off\n");
|
"\n" "buz <on/off>\n" " - turns the buzzer on or off");
|
||||||
#endif /* CONFIG_BC3450_BUZZER */
|
#endif /* CONFIG_BC3450_BUZZER */
|
||||||
|
|
||||||
|
|
||||||
|
@ -326,14 +326,14 @@ U_BOOT_CMD (fp, 3, 1, cmd_fp,
|
||||||
"\n"
|
"\n"
|
||||||
"fp bl <on/off>\n"
|
"fp bl <on/off>\n"
|
||||||
" - turns the CCFL backlight of the display on/off\n"
|
" - turns the CCFL backlight of the display on/off\n"
|
||||||
"fp <on/off>\n" " - turns the whole display on/off\n"
|
"fp <on/off>\n" " - turns the whole display on/off"
|
||||||
#ifdef CONFIG_BC3450_CRT
|
#ifdef CONFIG_BC3450_CRT
|
||||||
|
"\n"
|
||||||
"fp crt <on/off>\n"
|
"fp crt <on/off>\n"
|
||||||
" - enables/disables the crt output (debug only)\n"
|
" - enables/disables the crt output (debug only)"
|
||||||
#endif /* CONFIG_BC3450_CRT */
|
#endif /* CONFIG_BC3450_CRT */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* temp - DS1620 thermometer
|
* temp - DS1620 thermometer
|
||||||
*/
|
*/
|
||||||
|
@ -524,7 +524,7 @@ static int cmd_temp (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (temp, 3, 1, cmd_temp,
|
U_BOOT_CMD (temp, 3, 1, cmd_temp,
|
||||||
"print current temperature",
|
"print current temperature",
|
||||||
"\n" "temp\n" " - print current temperature\n");
|
"\n" "temp\n" " - print current temperature");
|
||||||
|
|
||||||
#ifdef CONFIG_BC3450_CAN
|
#ifdef CONFIG_BC3450_CAN
|
||||||
/*
|
/*
|
||||||
|
@ -823,5 +823,6 @@ U_BOOT_CMD (test, 2, 1, cmd_test, "unit test routines", "\n"
|
||||||
#endif /* CONFIG_BC3450_CAN */
|
#endif /* CONFIG_BC3450_CAN */
|
||||||
"test unit-off\n"
|
"test unit-off\n"
|
||||||
" - turns off the BC3450 unit\n"
|
" - turns off the BC3450 unit\n"
|
||||||
" WARNING: Unsaved environment variables will be lost!\n");
|
" WARNING: Unsaved environment variables will be lost!"
|
||||||
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"led <number> <action>\n" \
|
"led <number> <action>\n" \
|
||||||
" <number> - Index (0-5) of LED to change, or \"all\"\n" \
|
" <number> - Index (0-5) of LED to change, or \"all\"\n" \
|
||||||
" <action> - Must be one of:\n" \
|
" <action> - Must be one of:\n" \
|
||||||
" on off toggle\n"
|
" on off toggle"
|
||||||
|
|
||||||
/* Number of LEDs supported by the board */
|
/* Number of LEDs supported by the board */
|
||||||
#define NUMBER_LEDS 6
|
#define NUMBER_LEDS 6
|
||||||
|
@ -191,7 +191,7 @@ void set_led_state(int index, int state)
|
||||||
/* Display usage information */
|
/* Display usage information */
|
||||||
void show_cmd_usage()
|
void show_cmd_usage()
|
||||||
{
|
{
|
||||||
printf("Usage:\n%s", USAGE_LONG);
|
printf("Usage:\n%s\n", USAGE_LONG);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Register information for u-boot to find this command */
|
/* Register information for u-boot to find this command */
|
||||||
|
|
|
@ -443,6 +443,6 @@ U_BOOT_CMD(
|
||||||
"fkt rs232 number\n"
|
"fkt rs232 number\n"
|
||||||
" - Test RS232 (loopback plug(s) for RS232 required)\n"
|
" - Test RS232 (loopback plug(s) for RS232 required)\n"
|
||||||
"fkt usb\n"
|
"fkt usb\n"
|
||||||
" - Test USB communication\n"
|
" - Test USB communication"
|
||||||
);
|
);
|
||||||
#endif /* CONFIG_CMD_BSP */
|
#endif /* CONFIG_CMD_BSP */
|
||||||
|
|
|
@ -260,7 +260,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
kbd, 1, 1, do_kbd,
|
kbd, 1, 1, do_kbd,
|
||||||
"read keyboard status",
|
"read keyboard status",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif /* DELTA_CHECK_KEYBD */
|
#endif /* DELTA_CHECK_KEYBD */
|
||||||
|
|
|
@ -247,10 +247,9 @@ int do_digtest(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
digtest, 3, 1, do_digtest,
|
digtest, 3, 1, do_digtest,
|
||||||
"Test digital in-/output",
|
"Test digital in-/output",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
#define ERROR_DELTA 256
|
#define ERROR_DELTA 256
|
||||||
|
|
||||||
struct io {
|
struct io {
|
||||||
|
@ -341,7 +340,7 @@ int do_anatest(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
anatest, 2, 1, do_anatest,
|
anatest, 2, 1, do_anatest,
|
||||||
"Test analog in-/output",
|
"Test analog in-/output",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -408,6 +407,6 @@ int do_inctest(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
inctest, 3, 1, do_inctest,
|
inctest, 3, 1, do_inctest,
|
||||||
"Test incremental encoder inputs",
|
"Test incremental encoder inputs",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -190,7 +190,8 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
|
@ -551,6 +551,6 @@ int auto_update(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
autoupd, 1, 1, auto_update,
|
autoupd, 1, 1, auto_update,
|
||||||
"Automatically update images",
|
"Automatically update images",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif /* CONFIG_AUTO_UPDATE */
|
#endif /* CONFIG_AUTO_UPDATE */
|
||||||
|
|
|
@ -124,7 +124,7 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
loadpci, 1, 1, do_loadpci,
|
loadpci, 1, 1, do_loadpci,
|
||||||
"Wait for pci bootcmd and boot it",
|
"Wait for pci bootcmd and boot it",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -373,5 +373,5 @@ int do_esdbmp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
esdbmp, 2, 1, do_esdbmp,
|
esdbmp, 2, 1, do_esdbmp,
|
||||||
"display BMP image",
|
"display BMP image",
|
||||||
"<imageAddr> - display image\n"
|
"<imageAddr> - display image"
|
||||||
);
|
);
|
||||||
|
|
|
@ -183,6 +183,6 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
eepwren, 2, 0, do_eep_wren,
|
eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
|
@ -690,7 +690,7 @@ int do_onewire(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
onewire, 1, 1, do_onewire,
|
onewire, 1, 1, do_onewire,
|
||||||
"Read 1-write ID",
|
"Read 1-write ID",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#define CONFIG_SYS_I2C_EEPROM_ADDR_2 0x51 /* EEPROM CAT24WC32 */
|
#define CONFIG_SYS_I2C_EEPROM_ADDR_2 0x51 /* EEPROM CAT24WC32 */
|
||||||
|
@ -751,7 +751,7 @@ int do_get_bpip(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
getbpip, 1, 1, do_get_bpip,
|
getbpip, 1, 1, do_get_bpip,
|
||||||
"Update IP-Address with Backplane IP-Address",
|
"Update IP-Address with Backplane IP-Address",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -787,7 +787,7 @@ int do_set_bpip(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
setbpip, 2, 1, do_set_bpip,
|
setbpip, 2, 1, do_set_bpip,
|
||||||
"Write Backplane IP-Address",
|
"Write Backplane IP-Address",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif /* CONFIG_CPCI405AB */
|
#endif /* CONFIG_CPCI405AB */
|
||||||
|
|
|
@ -295,4 +295,6 @@ int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(writepci, 3, 1, do_writepci,
|
U_BOOT_CMD(writepci, 3, 1, do_writepci,
|
||||||
"Write some data to pcibus",
|
"Write some data to pcibus",
|
||||||
"<addr> <size>\n" " - Write some data to pcibus.\n");
|
"<addr> <size>\n"
|
||||||
|
""
|
||||||
|
);
|
||||||
|
|
|
@ -994,5 +994,5 @@ int do_show_config(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
show_config, 1, 1, do_show_config,
|
show_config, 1, 1, do_show_config,
|
||||||
"Show Marvell strapping register",
|
"Show Marvell strapping register",
|
||||||
"Show Marvell strapping register (ResetSampleLow ResetSampleHigh)\n"
|
"Show Marvell strapping register (ResetSampleLow ResetSampleHigh)"
|
||||||
);
|
);
|
||||||
|
|
|
@ -230,7 +230,7 @@ U_BOOT_CMD(
|
||||||
pci9054, 3, 1, do_pci9054,
|
pci9054, 3, 1, do_pci9054,
|
||||||
"PLX PCI9054 EEPROM access",
|
"PLX PCI9054 EEPROM access",
|
||||||
"pci9054 info - print EEPROM values\n"
|
"pci9054 info - print EEPROM values\n"
|
||||||
"pci9054 update - updates EEPROM with default values\n"
|
"pci9054 update - updates EEPROM with default values"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
|
@ -607,7 +607,7 @@ int do_dcf77(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dcf77, 1, 1, do_dcf77,
|
dcf77, 1, 1, do_dcf77,
|
||||||
"Check DCF77 receiver",
|
"Check DCF77 receiver",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -657,7 +657,7 @@ int do_hubinit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
hubinit, 1, 1, do_hubinit,
|
hubinit, 1, 1, do_hubinit,
|
||||||
"Initialize USB hub",
|
"Initialize USB hub",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif /* CONFIG_I2C_MULTI_BUS */
|
#endif /* CONFIG_I2C_MULTI_BUS */
|
||||||
|
|
||||||
|
@ -790,7 +790,7 @@ int do_setup_boot_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
sbe, 2, 0, do_setup_boot_eeprom,
|
sbe, 2, 0, do_setup_boot_eeprom,
|
||||||
"setup boot eeprom",
|
"setup boot eeprom",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_EEPROM_WREN)
|
#if defined(CONFIG_SYS_EEPROM_WREN)
|
||||||
|
@ -864,7 +864,8 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
||||||
static int got_pldirq;
|
static int got_pldirq;
|
||||||
|
@ -916,7 +917,7 @@ int do_waitpwrirq(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
wpi, 1, 1, do_waitpwrirq,
|
wpi, 1, 1, do_waitpwrirq,
|
||||||
"Wait for power change interrupt",
|
"Wait for power change interrupt",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -961,7 +962,7 @@ int do_dviinit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dviinit, 1, 1, do_dviinit,
|
dviinit, 1, 1, do_dviinit,
|
||||||
"Initialize DVI Panellink transmitter",
|
"Initialize DVI Panellink transmitter",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1001,7 +1002,7 @@ int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
time, CONFIG_SYS_MAXARGS, 1, do_time,
|
time, CONFIG_SYS_MAXARGS, 1, do_time,
|
||||||
"run command and output execution time",
|
"run command and output execution time",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
extern void video_hw_rectfill (
|
extern void video_hw_rectfill (
|
||||||
|
@ -1051,5 +1052,5 @@ int do_gfxdemo(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
gfxdemo, CONFIG_SYS_MAXARGS, 1, do_gfxdemo,
|
gfxdemo, CONFIG_SYS_MAXARGS, 1, do_gfxdemo,
|
||||||
"demo",
|
"demo",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
|
@ -770,7 +770,8 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ int do_setdevice(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
setdevice, 1, 1, do_setdevice,
|
setdevice, 1, 1, do_setdevice,
|
||||||
"Set device number on pci adapter boards",
|
"Set device number on pci adapter boards",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ int do_getdevice(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
getdevice, 1, 1, do_getdevice,
|
getdevice, 1, 1, do_getdevice,
|
||||||
"Get device number and set slot env variable",
|
"Get device number and set slot env variable",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -109,6 +109,6 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
loadpci, 1, 1, do_loadpci,
|
loadpci, 1, 1, do_loadpci,
|
||||||
"Wait for pci-image and boot it",
|
"Wait for pci-image and boot it",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -381,5 +381,5 @@ U_BOOT_CMD(
|
||||||
"wpeeprom 1\n"
|
"wpeeprom 1\n"
|
||||||
" - enable I2C EEPROM write protection\n"
|
" - enable I2C EEPROM write protection\n"
|
||||||
"wpeeprom 0\n"
|
"wpeeprom 0\n"
|
||||||
" - disable I2C EEPROM write protection\n"
|
" - disable I2C EEPROM write protection"
|
||||||
);
|
);
|
||||||
|
|
|
@ -294,7 +294,7 @@ int do_poweroff(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(poweroff, 1, 1, do_poweroff, "Switch off power", NULL);
|
U_BOOT_CMD(poweroff, 1, 1, do_poweroff, "Switch off power", "");
|
||||||
|
|
||||||
int phypower(int flag)
|
int phypower(int flag)
|
||||||
{
|
{
|
||||||
|
@ -338,7 +338,7 @@ int do_phypower(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(phypower, 2, 2, do_phypower,
|
U_BOOT_CMD(phypower, 2, 2, do_phypower,
|
||||||
"Switch power of ethernet phy", NULL);
|
"Switch power of ethernet phy", "");
|
||||||
|
|
||||||
int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
@ -370,4 +370,6 @@ int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(writepci, 3, 1, do_writepci,
|
U_BOOT_CMD(writepci, 3, 1, do_writepci,
|
||||||
"Write some data to pcibus",
|
"Write some data to pcibus",
|
||||||
"<addr> <size>\n" " - Write some data to pcibus.\n");
|
"<addr> <size>\n"
|
||||||
|
""
|
||||||
|
);
|
||||||
|
|
|
@ -334,5 +334,6 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
|
@ -99,7 +99,7 @@ int do_waithci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
waithci, 1, 1, do_waithci,
|
waithci, 1, 1, do_waithci,
|
||||||
"Wait for host control interrupt",
|
"Wait for host control interrupt",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
void dump_fifo(pmc440_fpga_t *fpga, int f, int *n)
|
void dump_fifo(pmc440_fpga_t *fpga, int f, int *n)
|
||||||
|
@ -266,7 +266,7 @@ U_BOOT_CMD(
|
||||||
" - with 'wait' argument: interrupt driven read from all fifos\n"
|
" - with 'wait' argument: interrupt driven read from all fifos\n"
|
||||||
" - with 'read' argument: read current contents from all fifos\n"
|
" - with 'read' argument: read current contents from all fifos\n"
|
||||||
" - with 'write' argument: write 'data' 'cnt' times to "
|
" - with 'write' argument: write 'data' 'cnt' times to "
|
||||||
"'fifo' or 'address'\n"
|
"'fifo' or 'address'"
|
||||||
);
|
);
|
||||||
|
|
||||||
int do_setup_bootstrap_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
int do_setup_bootstrap_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
@ -400,7 +400,7 @@ int do_painit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
painit, 1, 1, do_painit,
|
painit, 1, 1, do_painit,
|
||||||
"prepare PciAccess system",
|
"prepare PciAccess system",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif /* CONFIG_PRAM */
|
#endif /* CONFIG_PRAM */
|
||||||
|
|
||||||
|
@ -412,7 +412,7 @@ int do_selfreset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
selfreset, 1, 1, do_selfreset,
|
selfreset, 1, 1, do_selfreset,
|
||||||
"assert self-reset# signal",
|
"assert self-reset# signal",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
int do_resetout(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
int do_resetout(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
@ -449,7 +449,7 @@ int do_resetout(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
resetout, 2, 1, do_resetout,
|
resetout, 2, 1, do_resetout,
|
||||||
"assert PMC-RESETOUT# signal",
|
"assert PMC-RESETOUT# signal",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
int do_inta(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
int do_inta(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
@ -481,7 +481,7 @@ int do_inta(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
inta, 2, 1, do_inta,
|
inta, 2, 1, do_inta,
|
||||||
"Assert/Deassert or query INTA# state in non-monarch mode",
|
"Assert/Deassert or query INTA# state in non-monarch mode",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/* test-only */
|
/* test-only */
|
||||||
|
@ -514,7 +514,7 @@ int do_pmm(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
pmm, 2, 1, do_pmm,
|
pmm, 2, 1, do_pmm,
|
||||||
"Setup pmm[1] registers",
|
"Setup pmm[1] registers",
|
||||||
"<pciaddr> (pciaddr will be aligned to 256MB)\n"
|
"<pciaddr> (pciaddr will be aligned to 256MB)"
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_EEPROM_WREN)
|
#if defined(CONFIG_SYS_EEPROM_WREN)
|
||||||
|
@ -550,7 +550,8 @@ int do_eep_wren(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
||||||
#endif /* CONFIG_CMD_BSP */
|
#endif /* CONFIG_CMD_BSP */
|
||||||
|
|
|
@ -250,7 +250,7 @@ int do_iploop(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
iploop, 2, 1, do_iploop,
|
iploop, 2, 1, do_iploop,
|
||||||
"i2c probe loop <addr>",
|
"i2c probe loop <addr>",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -303,7 +303,7 @@ int do_codec(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
codec, 1, 1, do_codec,
|
codec, 1, 1, do_codec,
|
||||||
"Enable codec",
|
"Enable codec",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -336,7 +336,7 @@ int do_saa(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
saa, 5, 1, do_saa,
|
saa, 5, 1, do_saa,
|
||||||
"Write to SAA1064 <addr> <instr> <cntrl> <data>",
|
"Write to SAA1064 <addr> <instr> <cntrl> <data>",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -375,7 +375,7 @@ int do_iwrite(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
iwrite, 6, 1, do_iwrite,
|
iwrite, 6, 1, do_iwrite,
|
||||||
"Write n bytes to I2C-device",
|
"Write n bytes to I2C-device",
|
||||||
"addr cnt data0 ... datan\n"
|
"addr cnt data0 ... datan"
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -407,7 +407,7 @@ int do_iread(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
iread, 3, 1, do_iread,
|
iread, 3, 1, do_iread,
|
||||||
"Read from I2C <addr> <cnt>",
|
"Read from I2C <addr> <cnt>",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -445,6 +445,6 @@ int do_ireadl(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
ireadl, 2, 1, do_ireadl,
|
ireadl, 2, 1, do_ireadl,
|
||||||
"Read-loop from I2C <addr>",
|
"Read-loop from I2C <addr>",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -393,5 +393,6 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
|
||||||
"Enable / disable / query EEPROM write access",
|
"Enable / disable / query EEPROM write access",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
|
||||||
|
|
|
@ -204,19 +204,17 @@ U_BOOT_CMD(
|
||||||
zinit, 1, 0, do_zuma_init_pbb,
|
zinit, 1, 0, do_zuma_init_pbb,
|
||||||
"init zuma pbb",
|
"init zuma pbb",
|
||||||
"\n"
|
"\n"
|
||||||
" - init zuma pbb\n"
|
|
||||||
);
|
);
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
zdtest, 3, 1, do_zuma_test_dma,
|
zdtest, 3, 1, do_zuma_test_dma,
|
||||||
"run dma test",
|
"run dma test",
|
||||||
"[cmd [count]]\n"
|
"[cmd [count]]\n"
|
||||||
" - run dma cmd (w=0,v=1,cp=2,cmp=3,wi=4,vi=5), count bytes\n"
|
" - run dma cmd (w=0,v=1,cp=2,cmp=3,wi=4,vi=5), count bytes"
|
||||||
);
|
);
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
zminit, 1, 0, do_zuma_init_mbox,
|
zminit, 1, 0, do_zuma_init_mbox,
|
||||||
"init zuma mbox",
|
"init zuma mbox",
|
||||||
"\n"
|
"\n"
|
||||||
" - init zuma mbox\n"
|
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -281,7 +281,8 @@ int pixis_disable_watchdog_cmd(cmd_tbl_t *cmdtp,
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
diswd, 1, 0, pixis_disable_watchdog_cmd,
|
diswd, 1, 0, pixis_disable_watchdog_cmd,
|
||||||
"Disable watchdog timer",
|
"Disable watchdog timer",
|
||||||
NULL);
|
""
|
||||||
|
);
|
||||||
|
|
||||||
#ifdef CONFIG_PIXIS_SGMII_CMD
|
#ifdef CONFIG_PIXIS_SGMII_CMD
|
||||||
int pixis_set_sgmii(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
int pixis_set_sgmii(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
@ -350,7 +351,8 @@ U_BOOT_CMD(
|
||||||
" TSEC num: 1,2,3,4 or 'all'. 'all' is default.\n"
|
" TSEC num: 1,2,3,4 or 'all'. 'all' is default.\n"
|
||||||
" on - enables SGMII\n"
|
" on - enables SGMII\n"
|
||||||
" off - disables SGMII\n"
|
" off - disables SGMII\n"
|
||||||
" switch - use switch settings\n");
|
" switch - use switch settings"
|
||||||
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -544,5 +546,5 @@ U_BOOT_CMD(
|
||||||
" pixis_reset [altbank]\n"
|
" pixis_reset [altbank]\n"
|
||||||
" pixis_reset altbank wd\n"
|
" pixis_reset altbank wd\n"
|
||||||
" pixis_reset altbank cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
|
" pixis_reset altbank cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
|
||||||
" pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
|
" pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>"
|
||||||
);
|
);
|
||||||
|
|
|
@ -140,7 +140,7 @@ U_BOOT_CMD(
|
||||||
diufb, CONFIG_SYS_MAXARGS, 1, mpc8610diu_init_show_bmp,
|
diufb, CONFIG_SYS_MAXARGS, 1, mpc8610diu_init_show_bmp,
|
||||||
"Init or Display BMP file",
|
"Init or Display BMP file",
|
||||||
"init\n - initialize DIU\n"
|
"init\n - initialize DIU\n"
|
||||||
"addr\n - display bmp at address 'addr'\n"
|
"addr\n - display bmp at address 'addr'"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ int do_dumpebc(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dumpebc, 1, 1, do_dumpebc,
|
dumpebc, 1, 1, do_dumpebc,
|
||||||
"Dump all EBC registers",
|
"Dump all EBC registers",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ int do_dumpdcr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dumpdcr, 1, 1, do_dumpdcr,
|
dumpdcr, 1, 1, do_dumpdcr,
|
||||||
"Dump all DCR registers",
|
"Dump all DCR registers",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -272,6 +272,6 @@ int do_dumpspr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dumpspr, 1, 1, do_dumpspr,
|
dumpspr, 1, 1, do_dumpspr,
|
||||||
"Dump all SPR registers",
|
"Dump all SPR registers",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -297,7 +297,7 @@ U_BOOT_CMD(
|
||||||
"fpga info\n"
|
"fpga info\n"
|
||||||
" - print information about the Hymod FPGA, namely the\n"
|
" - print information about the Hymod FPGA, namely the\n"
|
||||||
" memory addresses at which the four FPGA local bus\n"
|
" memory addresses at which the four FPGA local bus\n"
|
||||||
" address spaces appear in the physical address space\n"
|
" address spaces appear in the physical address space"
|
||||||
);
|
);
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
int
|
int
|
||||||
|
@ -340,7 +340,7 @@ U_BOOT_CMD(
|
||||||
"[type]\n"
|
"[type]\n"
|
||||||
" - write zeroes into the EEPROM on the board of type `type'\n"
|
" - write zeroes into the EEPROM on the board of type `type'\n"
|
||||||
" (`type' is either `main' or `mezz' - default `main')\n"
|
" (`type' is either `main' or `mezz' - default `main')\n"
|
||||||
" Note: the EEPROM write enable jumper must be installed\n"
|
" Note: the EEPROM write enable jumper must be installed"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
|
@ -439,14 +439,14 @@ static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
|
||||||
|
|
||||||
cmd_tbl_t cmd_inkadiag_sub[] = {
|
cmd_tbl_t cmd_inkadiag_sub[] = {
|
||||||
U_BOOT_CMD_MKENT(io, 1, 1, do_inkadiag_io, "read digital input",
|
U_BOOT_CMD_MKENT(io, 1, 1, do_inkadiag_io, "read digital input",
|
||||||
"<drawer1|drawer2|other> [value] - get or set specified signal\n"),
|
"<drawer1|drawer2|other> [value] - get or set specified signal"),
|
||||||
U_BOOT_CMD_MKENT(serial, 4, 1, do_inkadiag_serial, "test serial port",
|
U_BOOT_CMD_MKENT(serial, 4, 1, do_inkadiag_serial, "test serial port",
|
||||||
"<num> <mode> <baudrate> <msg> - test uart num [0..11] in mode\n"
|
"<num> <mode> <baudrate> <msg> - test uart num [0..11] in mode\n"
|
||||||
"and baudrate with msg\n"),
|
"and baudrate with msg"),
|
||||||
U_BOOT_CMD_MKENT(buzzer, 2, 1, do_inkadiag_buzzer, "activate buzzer",
|
U_BOOT_CMD_MKENT(buzzer, 2, 1, do_inkadiag_buzzer, "activate buzzer",
|
||||||
"<period> <freq> - turn buzzer on for period ms with freq hz\n"),
|
"<period> <freq> - turn buzzer on for period ms with freq hz"),
|
||||||
U_BOOT_CMD_MKENT(help, 4, 1, do_inkadiag_help, "get help",
|
U_BOOT_CMD_MKENT(help, 4, 1, do_inkadiag_help, "get help",
|
||||||
"[command] - get help for command\n"),
|
"[command] - get help for command"),
|
||||||
};
|
};
|
||||||
|
|
||||||
static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag,
|
static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag,
|
||||||
|
@ -483,7 +483,7 @@ U_BOOT_CMD(inkadiag, 6, 1, do_inkadiag,
|
||||||
"inkadiag - inka diagnosis\n",
|
"inkadiag - inka diagnosis\n",
|
||||||
"[inkadiag what ...]\n"
|
"[inkadiag what ...]\n"
|
||||||
" - perform a diagnosis on inka hardware\n"
|
" - perform a diagnosis on inka hardware\n"
|
||||||
"'inkadiag' performs hardware tests.\n\n");
|
"'inkadiag' performs hardware tests.");
|
||||||
|
|
||||||
/* Relocate the command table function pointers when running in RAM */
|
/* Relocate the command table function pointers when running in RAM */
|
||||||
int inkadiag_init_r (void) {
|
int inkadiag_init_r (void) {
|
||||||
|
|
|
@ -591,7 +591,7 @@ int hdlc_enet_stest(struct cmd_tbl_s *a, int b, int c, char **d)
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
stest, 1, 1, hdlc_enet_stest,
|
stest, 1, 1, hdlc_enet_stest,
|
||||||
"simple send test for hdlc_enet",
|
"simple send test for hdlc_enet",
|
||||||
"no arguments\n"
|
""
|
||||||
);
|
);
|
||||||
/* simple receive test routine */
|
/* simple receive test routine */
|
||||||
int hdlc_enet_rtest(struct cmd_tbl_s *a, int b, int c, char **d)
|
int hdlc_enet_rtest(struct cmd_tbl_s *a, int b, int c, char **d)
|
||||||
|
@ -613,7 +613,7 @@ int hdlc_enet_rtest(struct cmd_tbl_s *a, int b, int c, char **d)
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
rtest, 1, 1, hdlc_enet_rtest,
|
rtest, 1, 1, hdlc_enet_rtest,
|
||||||
"simple receive test for hdlc_enet",
|
"simple receive test for hdlc_enet",
|
||||||
"no arguments\n"
|
""
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -853,7 +853,7 @@ U_BOOT_CMD(
|
||||||
pic, 4, 1, do_pic,
|
pic, 4, 1, do_pic,
|
||||||
"read and write PIC registers",
|
"read and write PIC registers",
|
||||||
"read reg - read PIC register `reg'\n"
|
"read reg - read PIC register `reg'\n"
|
||||||
"pic write reg val - write value `val' to PIC register `reg'\n"
|
"pic write reg val - write value `val' to PIC register `reg'"
|
||||||
);
|
);
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
@ -911,7 +911,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
kbd, 1, 1, do_kbd,
|
kbd, 1, 1, do_kbd,
|
||||||
"read keyboard status",
|
"read keyboard status",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Read and set LSB switch */
|
/* Read and set LSB switch */
|
||||||
|
@ -985,7 +985,7 @@ U_BOOT_CMD(
|
||||||
"check and set LSB switch",
|
"check and set LSB switch",
|
||||||
"on - switch LSB on\n"
|
"on - switch LSB on\n"
|
||||||
"lsb off - switch LSB off\n"
|
"lsb off - switch LSB off\n"
|
||||||
"lsb - print current setting\n"
|
"lsb - print current setting"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -433,7 +433,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
kbd, 1, 1, do_kbd,
|
kbd, 1, 1, do_kbd,
|
||||||
"read keyboard status",
|
"read keyboard status",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/*----------------------------- Utilities -----------------------------*/
|
/*----------------------------- Utilities -----------------------------*/
|
||||||
|
|
|
@ -487,7 +487,7 @@ int do_eeprom_wp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
eepromwp, 2, 0, do_eeprom_wp,
|
eepromwp, 2, 0, do_eeprom_wp,
|
||||||
"eeprom write protect off/on",
|
"eeprom write protect off/on",
|
||||||
"<on|off> - enable (on) or disable (off) I2C EEPROM write protect\n"
|
"<on|off> - enable (on) or disable (off) I2C EEPROM write protect"
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(CONFIG_VIDEO)
|
#if defined(CONFIG_VIDEO)
|
||||||
|
|
|
@ -384,11 +384,11 @@ static int do_eeprom_save_mac(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(smcee, 1, 0, do_eeprom_erase_all,
|
U_BOOT_CMD(smcee, 1, 0, do_eeprom_erase_all,
|
||||||
"smcee - Erase content of SMC EEPROM\n",);
|
"smcee - Erase content of SMC EEPROM",);
|
||||||
|
|
||||||
U_BOOT_CMD(smced, 1, 0, do_eeprom_dump,
|
U_BOOT_CMD(smced, 1, 0, do_eeprom_dump,
|
||||||
"smced - Dump content of SMC EEPROM\n",);
|
"smced - Dump content of SMC EEPROM",);
|
||||||
|
|
||||||
U_BOOT_CMD(smcew, 2, 0, do_eeprom_save_mac,
|
U_BOOT_CMD(smcew, 2, 0, do_eeprom_save_mac,
|
||||||
"smcew - Write MAC address to SMC EEPROM\n",
|
"smcew - Write MAC address to SMC EEPROM\n",
|
||||||
"aa:bb:cc:dd:ee:ff new mac address\n");
|
"aa:bb:cc:dd:ee:ff new mac address");
|
||||||
|
|
|
@ -60,7 +60,7 @@ U_BOOT_CMD(
|
||||||
"mip405 flash mps - updates U-Boot with image from MPS\n"
|
"mip405 flash mps - updates U-Boot with image from MPS\n"
|
||||||
"mip405 info - displays board information\n"
|
"mip405 info - displays board information\n"
|
||||||
"mip405 led <on> - switches LED on (on=1) or off (on=0)\n"
|
"mip405 led <on> - switches LED on (on=1) or off (on=0)\n"
|
||||||
"mip405 mem [cnt] - Memory Test <cnt>-times, <cnt> = -1 loop forever\n"
|
"mip405 mem [cnt] - Memory Test <cnt>-times, <cnt> = -1 loop forever"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
|
@ -443,7 +443,7 @@ U_BOOT_CMD(
|
||||||
" era - erase PCI EEPROM (write all word to 0xffff)\n"
|
" era - erase PCI EEPROM (write all word to 0xffff)\n"
|
||||||
" reload- Reload PCI Bridge with EEPROM Values\n"
|
" reload- Reload PCI Bridge with EEPROM Values\n"
|
||||||
" NOTE: <addr> must start on word boundary\n"
|
" NOTE: <addr> must start on word boundary\n"
|
||||||
" <offset> and <size> must be even byte values\n"
|
" <offset> and <size> must be even byte values"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
|
@ -63,7 +63,7 @@ U_BOOT_CMD(
|
||||||
"PIP405 specific Cmds",
|
"PIP405 specific Cmds",
|
||||||
"flash mem [SrcAddr] - updates U-Boot with image in memory\n"
|
"flash mem [SrcAddr] - updates U-Boot with image in memory\n"
|
||||||
"pip405 flash floppy [SrcAddr] - updates U-Boot with image from floppy\n"
|
"pip405 flash floppy [SrcAddr] - updates U-Boot with image from floppy\n"
|
||||||
"pip405 flash mps - updates U-Boot with image from MPS\n"
|
"pip405 flash mps - updates U-Boot with image from MPS"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
|
@ -174,5 +174,5 @@ int do_vcma9(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
vcma9, 6, 1, do_vcma9,
|
vcma9, 6, 1, do_vcma9,
|
||||||
"VCMA9 specific commands",
|
"VCMA9 specific commands",
|
||||||
"flash mem [SrcAddr]\n - updates U-Boot with image in memory\n"
|
"flash mem [SrcAddr]\n - updates U-Boot with image in memory"
|
||||||
);
|
);
|
||||||
|
|
|
@ -239,7 +239,7 @@ U_BOOT_CMD(
|
||||||
"check and set watchdog",
|
"check and set watchdog",
|
||||||
"on - switch watchDog on\n"
|
"on - switch watchDog on\n"
|
||||||
"wd off - switch watchdog off\n"
|
"wd off - switch watchdog off\n"
|
||||||
"wd - print current status\n"
|
"wd - print current status"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -763,7 +763,7 @@ U_BOOT_CMD(
|
||||||
" 0x02 = DIAG 2 on\n"
|
" 0x02 = DIAG 2 on\n"
|
||||||
" 0x04 = DIAG 3 on\n"
|
" 0x04 = DIAG 3 on\n"
|
||||||
" 0x08 = DIAG 4 on\n"
|
" 0x08 = DIAG 4 on\n"
|
||||||
" > 0x100 set the LED, who are on, to state blinking\n"
|
" > 0x100 set the LED, who are on, to state blinking"
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(CONFIG_SHA1_CHECK_UB_IMG)
|
#if defined(CONFIG_SHA1_CHECK_UB_IMG)
|
||||||
|
@ -823,7 +823,7 @@ U_BOOT_CMD(
|
||||||
"calculate the SHA1 Sum",
|
"calculate the SHA1 Sum",
|
||||||
"address len [addr] calculate the SHA1 sum [save at addr]\n"
|
"address len [addr] calculate the SHA1 sum [save at addr]\n"
|
||||||
" -p calculate the SHA1 sum from the U-Boot image in flash and print\n"
|
" -p calculate the SHA1 sum from the U-Boot image in flash and print\n"
|
||||||
" -c check the U-Boot image in flash\n"
|
" -c check the U-Boot image in flash"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
led , 3, 1, do_led,
|
led , 3, 1, do_led,
|
||||||
"set LED 0..11 on the PN62 board",
|
"set LED 0..11 on the PN62 board",
|
||||||
"i fun\n"
|
"i fun"
|
||||||
" - set 'i'th LED to function 'fun'\n"
|
" - set 'i'th LED to function 'fun'"
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -177,7 +177,7 @@ U_BOOT_CMD(
|
||||||
loadpci, 2, 1, do_loadpci,
|
loadpci, 2, 1, do_loadpci,
|
||||||
"load binary file over PCI",
|
"load binary file over PCI",
|
||||||
"[addr]\n"
|
"[addr]\n"
|
||||||
" - load binary file over PCI to address 'addr'\n"
|
" - load binary file over PCI to address 'addr'"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -228,7 +228,7 @@ int do_fpga(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
fpga, 2, 0, do_fpga,
|
fpga, 2, 0, do_fpga,
|
||||||
"boot FPGA",
|
"boot FPGA",
|
||||||
"address size\n - boot FPGA with gzipped image at <address>\n"
|
"address size\n - boot FPGA with gzipped image at <address>"
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
|
#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
|
||||||
|
|
|
@ -129,7 +129,7 @@ int do_idpcmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(idpcmd, CONFIG_SYS_MAXARGS, 0, do_idpcmd,
|
U_BOOT_CMD(idpcmd, CONFIG_SYS_MAXARGS, 0, do_idpcmd,
|
||||||
"custom IDP command",
|
"custom IDP command",
|
||||||
"no args at this time\n"
|
"no args at this time"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -415,5 +415,5 @@ int do_kbd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
kbd, 1, 1, do_kbd,
|
kbd, 1, 1, do_kbd,
|
||||||
"read keyboard status",
|
"read keyboard status",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
|
@ -325,7 +325,7 @@ U_BOOT_CMD(
|
||||||
setmac, 2, 1, do_set_mac,
|
setmac, 2, 1, do_set_mac,
|
||||||
"write MAC address for RTL8110SCL",
|
"write MAC address for RTL8110SCL",
|
||||||
"\n"
|
"\n"
|
||||||
"setmac <mac address> - write MAC address for RTL8110SCL\n"
|
"setmac <mac address> - write MAC address for RTL8110SCL"
|
||||||
);
|
);
|
||||||
|
|
||||||
int do_print_mac(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
int do_print_mac(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
@ -344,5 +344,5 @@ U_BOOT_CMD(
|
||||||
printmac, 1, 1, do_print_mac,
|
printmac, 1, 1, do_print_mac,
|
||||||
"print MAC address for RTL8110",
|
"print MAC address for RTL8110",
|
||||||
"\n"
|
"\n"
|
||||||
" - print MAC address for RTL8110\n"
|
" - print MAC address for RTL8110"
|
||||||
);
|
);
|
||||||
|
|
|
@ -168,5 +168,5 @@ U_BOOT_CMD(
|
||||||
"hwtest sm107 - output SM107 version\n"
|
"hwtest sm107 - output SM107 version\n"
|
||||||
"hwtest net - check RTL8110 ID\n"
|
"hwtest net - check RTL8110 ID\n"
|
||||||
"hwtest sata - check SiI3512 ID\n"
|
"hwtest sata - check SiI3512 ID\n"
|
||||||
"hwtest pci - output PCI slot device ID\n"
|
"hwtest pci - output PCI slot device ID"
|
||||||
);
|
);
|
||||||
|
|
|
@ -82,6 +82,6 @@ U_BOOT_CMD(
|
||||||
pmb, 1, 1, do_pmb,
|
pmb, 1, 1, do_pmb,
|
||||||
"pmb - PMB setting\n",
|
"pmb - PMB setting\n",
|
||||||
"\n"
|
"\n"
|
||||||
" - PMB setting for all SDRAM mapping\n"
|
" - PMB setting for all SDRAM mapping"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -501,7 +501,7 @@ int do_i2c1_probe(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
iprobe1, 1, 1, do_i2c1_probe,
|
iprobe1, 1, 1, do_i2c1_probe,
|
||||||
"probe to discover valid I2C chip addresses",
|
"probe to discover valid I2C chip addresses",
|
||||||
"\n -discover valid I2C chip addresses\n"
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif /* CONFIG_I2C_BUS1 */
|
#endif /* CONFIG_I2C_BUS1 */
|
||||||
|
|
|
@ -611,7 +611,7 @@ int karefRecover(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(kasetup, 1, 1, karefSetupVars,
|
U_BOOT_CMD(kasetup, 1, 1, karefSetupVars,
|
||||||
"Set environment to factory defaults", NULL);
|
"Set environment to factory defaults", "");
|
||||||
|
|
||||||
U_BOOT_CMD(karecover, 1, 1, karefRecover,
|
U_BOOT_CMD(karecover, 1, 1, karefRecover,
|
||||||
"Set environment to allow for fs recovery", NULL);
|
"Set environment to allow for fs recovery", "");
|
||||||
|
|
|
@ -577,7 +577,7 @@ int metroboxRecover(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(mbsetup, 1, 1, metroboxSetupVars,
|
U_BOOT_CMD(mbsetup, 1, 1, metroboxSetupVars,
|
||||||
"Set environment to factory defaults", NULL);
|
"Set environment to factory defaults", "");
|
||||||
|
|
||||||
U_BOOT_CMD(mbrecover, 1, 1, metroboxRecover,
|
U_BOOT_CMD(mbrecover, 1, 1, metroboxRecover,
|
||||||
"Set environment to allow for fs recovery", NULL);
|
"Set environment to allow for fs recovery", "");
|
||||||
|
|
|
@ -295,7 +295,7 @@ U_BOOT_CMD(
|
||||||
"access FPGA(s)",
|
"access FPGA(s)",
|
||||||
"fpga status [name] - print FPGA status\n"
|
"fpga status [name] - print FPGA status\n"
|
||||||
"fpga reset [name] - reset FPGA\n"
|
"fpga reset [name] - reset FPGA\n"
|
||||||
"fpga load [name] addr - load FPGA configuration data\n"
|
"fpga load [name] addr - load FPGA configuration data"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -406,8 +406,8 @@ int do_puma (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD (puma, 4, 1, do_puma,
|
U_BOOT_CMD (puma, 4, 1, do_puma,
|
||||||
"access PUMA FPGA",
|
"access PUMA FPGA",
|
||||||
"status - print PUMA status\n"
|
"status - print PUMA status\n"
|
||||||
"puma load addr len - load PUMA configuration data\n");
|
"puma load addr len - load PUMA configuration data"
|
||||||
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
|
/* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
|
||||||
|
|
|
@ -157,6 +157,6 @@ int do_sled (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (sled, 3, 0, do_sled,
|
U_BOOT_CMD (sled, 3, 0, do_sled,
|
||||||
"check and set status led",
|
"check and set status led",
|
||||||
"sled [name [state]]\n" __NAME_STR " - state: on|off|blink\n");
|
"sled [name [state]]\n" __NAME_STR " - state: on|off|blink");
|
||||||
#endif
|
#endif
|
||||||
#endif /* CONFIG_STATUS_LED */
|
#endif /* CONFIG_STATUS_LED */
|
||||||
|
|
|
@ -154,7 +154,7 @@ U_BOOT_CMD(
|
||||||
"check and set watchdog",
|
"check and set watchdog",
|
||||||
"on - switch watchDog on\n"
|
"on - switch watchDog on\n"
|
||||||
"wd off - switch watchdog off\n"
|
"wd off - switch watchdog off\n"
|
||||||
"wd - print current status\n"
|
"wd - print current status"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
#endif /* CONFIG_HW_WATCHDOG */
|
#endif /* CONFIG_HW_WATCHDOG */
|
||||||
|
|
|
@ -1201,21 +1201,21 @@ U_BOOT_CMD(
|
||||||
"sound square [duration] [freq] [channel]\n"
|
"sound square [duration] [freq] [channel]\n"
|
||||||
" - generate squarewave for 'duration' ms with frequency 'freq'\n"
|
" - generate squarewave for 'duration' ms with frequency 'freq'\n"
|
||||||
" on left \"l\" or right \"r\" channel\n"
|
" on left \"l\" or right \"r\" channel\n"
|
||||||
"pcm1772 reg val\n"
|
"pcm1772 reg val"
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
wav , 3, 1, cmd_wav,
|
wav , 3, 1, cmd_wav,
|
||||||
"play wav file",
|
"play wav file",
|
||||||
"[addr] [bytes]\n"
|
"[addr] [bytes]\n"
|
||||||
" - play wav file at address 'addr' with length 'bytes'\n"
|
" - play wav file at address 'addr' with length 'bytes'"
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
beep , 2, 1, cmd_beep,
|
beep , 2, 1, cmd_beep,
|
||||||
"play short beep",
|
"play short beep",
|
||||||
"[channel]\n"
|
"[channel]\n"
|
||||||
" - play short beep on \"l\"eft or \"r\"ight channel\n"
|
" - play short beep on \"l\"eft or \"r\"ight channel"
|
||||||
);
|
);
|
||||||
#endif /* CONFIG_STK52XX || CONFIG_FO300 */
|
#endif /* CONFIG_STK52XX || CONFIG_FO300 */
|
||||||
|
|
||||||
|
@ -1228,10 +1228,11 @@ U_BOOT_CMD(
|
||||||
"fkt can\n"
|
"fkt can\n"
|
||||||
" - loopback plug for X83 required\n"
|
" - loopback plug for X83 required\n"
|
||||||
"fkt rs232 number\n"
|
"fkt rs232 number\n"
|
||||||
" - loopback plug(s) for X2 required\n"
|
" - loopback plug(s) for X2 required"
|
||||||
#ifndef CONFIG_TQM5200S
|
#ifndef CONFIG_TQM5200S
|
||||||
|
"\n"
|
||||||
"fkt backlight on/off\n"
|
"fkt backlight on/off\n"
|
||||||
" - switch backlight on or off\n"
|
" - switch backlight on or off"
|
||||||
#endif /* !CONFIG_TQM5200S */
|
#endif /* !CONFIG_TQM5200S */
|
||||||
);
|
);
|
||||||
#elif defined(CONFIG_FO300)
|
#elif defined(CONFIG_FO300)
|
||||||
|
@ -1241,7 +1242,7 @@ U_BOOT_CMD(
|
||||||
"fkt can\n"
|
"fkt can\n"
|
||||||
" - loopback plug for X16/X29 required\n"
|
" - loopback plug for X16/X29 required\n"
|
||||||
"fkt rs232 number\n"
|
"fkt rs232 number\n"
|
||||||
" - loopback plug(s) for X21/X22 required\n"
|
" - loopback plug(s) for X21/X22 required"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -91,13 +91,13 @@ int cmd_backlight(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
led , 2, 1, cmd_led,
|
led , 2, 1, cmd_led,
|
||||||
"switch status LED on or off",
|
"switch status LED on or off",
|
||||||
"on/off\n"
|
"on/off"
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
backlight , 2, 1, cmd_backlight,
|
backlight , 2, 1, cmd_backlight,
|
||||||
"switch backlight on or off",
|
"switch backlight on or off",
|
||||||
"on/off\n"
|
"on/off"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif /* CONFIG_STK52XX */
|
#endif /* CONFIG_STK52XX */
|
||||||
|
|
|
@ -867,7 +867,7 @@ int do_hwib_dump (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
hwib, 1, 1, do_hwib_dump,
|
hwib, 1, 1, do_hwib_dump,
|
||||||
"dump HWIB'",
|
"dump HWIB'",
|
||||||
"\n"
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_UPDATE_FLASH_SIZE
|
#ifdef CONFIG_SYS_UPDATE_FLASH_SIZE
|
||||||
|
|
|
@ -262,7 +262,7 @@ U_BOOT_CMD(
|
||||||
"\n"
|
"\n"
|
||||||
" - start burn-in test application\n"
|
" - start burn-in test application\n"
|
||||||
" The burn-in test could took a while to finish!\n"
|
" The burn-in test could took a while to finish!\n"
|
||||||
" The content of the onboard EEPROM is modified!\n"
|
" The content of the onboard EEPROM is modified!"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ U_BOOT_CMD(
|
||||||
"read dip switch on TRAB",
|
"read dip switch on TRAB",
|
||||||
"\n"
|
"\n"
|
||||||
" - read state of dip switch (S1) on TRAB board\n"
|
" - read state of dip switch (S1) on TRAB board\n"
|
||||||
" read sequence: 1-2-3-4; ON=1; OFF=0; e.g.: \"0100\"\n"
|
" read sequence: 1-2-3-4; ON=1; OFF=0; e.g.: \"0100\""
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ U_BOOT_CMD(
|
||||||
vcc5v, 1, 1, do_vcc5v,
|
vcc5v, 1, 1, do_vcc5v,
|
||||||
"read VCC5V on TRAB",
|
"read VCC5V on TRAB",
|
||||||
"\n"
|
"\n"
|
||||||
" - read actual value of voltage VCC5V\n"
|
" - read actual value of voltage VCC5V"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@ int do_contact_temp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
c_temp, 1, 1, do_contact_temp,
|
c_temp, 1, 1, do_contact_temp,
|
||||||
"read contact temperature on TRAB",
|
"read contact temperature on TRAB",
|
||||||
"\n"
|
""
|
||||||
" - reads the onboard temperature (=contact temperature)\n"
|
" - reads the onboard temperature (=contact temperature)\n"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -401,7 +401,7 @@ U_BOOT_CMD(
|
||||||
"print burn in status on TRAB",
|
"print burn in status on TRAB",
|
||||||
"\n"
|
"\n"
|
||||||
" - prints the status variables of the last burn in test\n"
|
" - prints the status variables of the last burn in test\n"
|
||||||
" stored in the onboard EEPROM on TRAB board\n"
|
" stored in the onboard EEPROM on TRAB board"
|
||||||
);
|
);
|
||||||
|
|
||||||
static int read_dip (void)
|
static int read_dip (void)
|
||||||
|
@ -890,7 +890,7 @@ U_BOOT_CMD(
|
||||||
"delay\n"
|
"delay\n"
|
||||||
" - contact temperature [1/100 C] is printed endlessly to console\n"
|
" - contact temperature [1/100 C] is printed endlessly to console\n"
|
||||||
" <delay> specifies the seconds to wait between two measurements\n"
|
" <delay> specifies the seconds to wait between two measurements\n"
|
||||||
" For each measurment a timestamp is printeted\n"
|
" For each measurment a timestamp is printeted"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -323,7 +323,7 @@ int do_kbd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
kbd, 1, 1, do_kbd,
|
kbd, 1, 1, do_kbd,
|
||||||
"read keyboard status",
|
"read keyboard status",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#ifdef CONFIG_MODEM_SUPPORT
|
#ifdef CONFIG_MODEM_SUPPORT
|
||||||
|
|
|
@ -81,4 +81,5 @@ U_BOOT_CMD(
|
||||||
"\tdm9000ee read \n"
|
"\tdm9000ee read \n"
|
||||||
"\tword:\t\t00-02 : MAC Address\n"
|
"\tword:\t\t00-02 : MAC Address\n"
|
||||||
"\t\t\t03-07 : DM9000 Configuration\n"
|
"\t\t\t03-07 : DM9000 Configuration\n"
|
||||||
"\t\t\t08-63 : User data\n");
|
"\t\t\t08-63 : User data"
|
||||||
|
);
|
||||||
|
|
|
@ -60,7 +60,7 @@ U_BOOT_CMD(
|
||||||
vpd, 2, 1, do_vpd,
|
vpd, 2, 1, do_vpd,
|
||||||
"Read Vital Product Data",
|
"Read Vital Product Data",
|
||||||
"[dev_addr]\n"
|
"[dev_addr]\n"
|
||||||
" - Read VPD Data from default address, or device address 'dev_addr'.\n"
|
" - Read VPD Data from default address, or device address 'dev_addr'."
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -99,7 +99,7 @@ int do_update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char* argv[])
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
update_boot_eeprom, 1, 1, do_update_boot_eeprom,
|
update_boot_eeprom, 1, 1, do_update_boot_eeprom,
|
||||||
"update boot eeprom content",
|
"update boot eeprom content",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -328,7 +328,7 @@ int do_set_default(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
setdef, 4, 1, do_set_default,
|
setdef, 4, 1, do_set_default,
|
||||||
"write board-specific values to EEPROM (ethaddr...)",
|
"write board-specific values to EEPROM (ethaddr...)",
|
||||||
"ethaddr eth1addr serial#\n - write board-specific values to EEPROM\n"
|
"ethaddr eth1addr serial#\n - write board-specific values to EEPROM"
|
||||||
);
|
);
|
||||||
|
|
||||||
static inline int sw_reset_pressed(void)
|
static inline int sw_reset_pressed(void)
|
||||||
|
@ -419,7 +419,7 @@ int do_chkreset(cmd_tbl_t* cmdtp, int flag, int argc, char* argv[])
|
||||||
U_BOOT_CMD (
|
U_BOOT_CMD (
|
||||||
chkreset, 1, 1, do_chkreset,
|
chkreset, 1, 1, do_chkreset,
|
||||||
"Check for status of SW-reset button and act accordingly",
|
"Check for status of SW-reset button and act accordingly",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#if defined(CONFIG_POST)
|
#if defined(CONFIG_POST)
|
||||||
|
|
|
@ -275,4 +275,5 @@ int ambapp_init_reloc(void)
|
||||||
U_BOOT_CMD(ambapp, 1, 1, do_ambapp_print,
|
U_BOOT_CMD(ambapp, 1, 1, do_ambapp_print,
|
||||||
"list AMBA Plug&Play information",
|
"list AMBA Plug&Play information",
|
||||||
"ambapp\n"
|
"ambapp\n"
|
||||||
" - lists AMBA (AHB & APB) Plug&Play devices present on the system\n");
|
" - lists AMBA (AHB & APB) Plug&Play devices present on the system"
|
||||||
|
);
|
||||||
|
|
|
@ -384,5 +384,5 @@ static void print_str(const char *name, const char *str)
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
bdinfo, 1, 1, do_bdinfo,
|
bdinfo, 1, 1, do_bdinfo,
|
||||||
"print Board Info structure",
|
"print Board Info structure",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
|
@ -108,7 +108,7 @@ int do_bedbug_dis (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (ds, 3, 1, do_bedbug_dis,
|
U_BOOT_CMD (ds, 3, 1, do_bedbug_dis,
|
||||||
"disassemble memory",
|
"disassemble memory",
|
||||||
"ds <address> [# instructions]\n");
|
"ds <address> [# instructions]");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Entry point from the interpreter to the assembler. Assembles
|
* Entry point from the interpreter to the assembler. Assembles
|
||||||
|
@ -160,7 +160,7 @@ int do_bedbug_asm (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
} /* do_bedbug_asm */
|
} /* do_bedbug_asm */
|
||||||
|
|
||||||
U_BOOT_CMD (as, 2, 0, do_bedbug_asm,
|
U_BOOT_CMD (as, 2, 0, do_bedbug_asm,
|
||||||
"assemble memory", "as <address>\n");
|
"assemble memory", "as <address>");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Used to set a break point from the interpreter. Simply calls into the
|
* Used to set a break point from the interpreter. Simply calls into the
|
||||||
|
@ -181,7 +181,7 @@ U_BOOT_CMD (break, 3, 0, do_bedbug_break,
|
||||||
" - Set or clear a breakpoint\n"
|
" - Set or clear a breakpoint\n"
|
||||||
"break <address> - Break at an address\n"
|
"break <address> - Break at an address\n"
|
||||||
"break off <bp#> - Disable breakpoint.\n"
|
"break off <bp#> - Disable breakpoint.\n"
|
||||||
"break show - List breakpoints.\n");
|
"break show - List breakpoints.");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Called from the debug interrupt routine. Simply calls the CPU-specific
|
* Called from the debug interrupt routine. Simply calls the CPU-specific
|
||||||
|
@ -278,7 +278,7 @@ int do_bedbug_continue (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (continue, 1, 0, do_bedbug_continue,
|
U_BOOT_CMD (continue, 1, 0, do_bedbug_continue,
|
||||||
"continue from a breakpoint",
|
"continue from a breakpoint",
|
||||||
" - continue from a breakpoint.\n");
|
"");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Interpreter command to continue to the next instruction, stepping into
|
* Interpreter command to continue to the next instruction, stepping into
|
||||||
|
@ -309,7 +309,7 @@ int do_bedbug_step (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (step, 1, 1, do_bedbug_step,
|
U_BOOT_CMD (step, 1, 1, do_bedbug_step,
|
||||||
"single step execution.",
|
"single step execution.",
|
||||||
" - single step execution.\n");
|
"");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Interpreter command to continue to the next instruction, stepping over
|
* Interpreter command to continue to the next instruction, stepping over
|
||||||
|
@ -340,7 +340,7 @@ int do_bedbug_next (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (next, 1, 1, do_bedbug_next,
|
U_BOOT_CMD (next, 1, 1, do_bedbug_next,
|
||||||
"single step execution, stepping over subroutines.",
|
"single step execution, stepping over subroutines.",
|
||||||
" - single step execution, stepping over subroutines.\n");
|
"");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Interpreter command to print the current stack. This assumes an EABI
|
* Interpreter command to print the current stack. This assumes an EABI
|
||||||
|
@ -385,7 +385,7 @@ int do_bedbug_stack (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD (where, 1, 1, do_bedbug_stack,
|
U_BOOT_CMD (where, 1, 1, do_bedbug_stack,
|
||||||
"Print the running stack.",
|
"Print the running stack.",
|
||||||
" - Print the running stack.\n");
|
"");
|
||||||
|
|
||||||
/* ======================================================================
|
/* ======================================================================
|
||||||
* Interpreter command to dump the registers. Calls the CPU-specific
|
* Interpreter command to dump the registers. Calls the CPU-specific
|
||||||
|
@ -405,7 +405,7 @@ int do_bedbug_rdump (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
} /* do_bedbug_rdump */
|
} /* do_bedbug_rdump */
|
||||||
|
|
||||||
U_BOOT_CMD (rdump, 1, 1, do_bedbug_rdump,
|
U_BOOT_CMD (rdump, 1, 1, do_bedbug_rdump,
|
||||||
"Show registers.", " - Show registers.\n");
|
"Show registers.", "");
|
||||||
/* ====================================================================== */
|
/* ====================================================================== */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ U_BOOT_CMD(
|
||||||
bmp, 5, 1, do_bmp,
|
bmp, 5, 1, do_bmp,
|
||||||
"manipulate BMP image data",
|
"manipulate BMP image data",
|
||||||
"info <imageAddr> - display image info\n"
|
"info <imageAddr> - display image info\n"
|
||||||
"bmp display <imageAddr> [x y] - display image at x,y\n"
|
"bmp display <imageAddr> [x y] - display image at x,y"
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -66,7 +66,7 @@ U_BOOT_CMD(
|
||||||
go, CONFIG_SYS_MAXARGS, 1, do_go,
|
go, CONFIG_SYS_MAXARGS, 1, do_go,
|
||||||
"start application at address 'addr'",
|
"start application at address 'addr'",
|
||||||
"addr [arg ...]\n - start application at address 'addr'\n"
|
"addr [arg ...]\n - start application at address 'addr'\n"
|
||||||
" passing 'arg' as arguments\n"
|
" passing 'arg' as arguments"
|
||||||
);
|
);
|
||||||
|
|
||||||
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
|
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
|
||||||
|
@ -74,5 +74,5 @@ extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
reset, 1, 0, do_reset,
|
reset, 1, 0, do_reset,
|
||||||
"Perform RESET of the CPU",
|
"Perform RESET of the CPU",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
|
@ -170,4 +170,5 @@ int do_bootldr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(bootldr, 2, 0, do_bootldr,
|
U_BOOT_CMD(bootldr, 2, 0, do_bootldr,
|
||||||
"boot ldr image from memory",
|
"boot ldr image from memory",
|
||||||
"[addr]\n"
|
"[addr]\n"
|
||||||
" - boot ldr image stored in memory\n");
|
""
|
||||||
|
);
|
||||||
|
|
|
@ -948,7 +948,7 @@ U_BOOT_CMD(
|
||||||
"\tbdt - OS specific bd_t processing\n"
|
"\tbdt - OS specific bd_t processing\n"
|
||||||
"\tcmdline - OS specific command line processing/setup\n"
|
"\tcmdline - OS specific command line processing/setup\n"
|
||||||
"\tprep - OS specific prep before relocation or go\n"
|
"\tprep - OS specific prep before relocation or go\n"
|
||||||
"\tgo - start OS\n"
|
"\tgo - start OS"
|
||||||
);
|
);
|
||||||
|
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
|
@ -973,14 +973,14 @@ int do_bootd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
boot, 1, 1, do_bootd,
|
boot, 1, 1, do_bootd,
|
||||||
"boot default, i.e., run 'bootcmd'",
|
"boot default, i.e., run 'bootcmd'",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
/* keep old command name "bootd" for backward compatibility */
|
/* keep old command name "bootd" for backward compatibility */
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
bootd, 1, 1, do_bootd,
|
bootd, 1, 1, do_bootd,
|
||||||
"boot default, i.e., run 'bootcmd'",
|
"boot default, i.e., run 'bootcmd'",
|
||||||
NULL
|
""
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1068,7 +1068,7 @@ U_BOOT_CMD(
|
||||||
"addr [addr ...]\n"
|
"addr [addr ...]\n"
|
||||||
" - print header information for application image starting at\n"
|
" - print header information for application image starting at\n"
|
||||||
" address 'addr' in memory; this includes verification of the\n"
|
" address 'addr' in memory; this includes verification of the\n"
|
||||||
" image contents (magic number, header and payload checksums)\n"
|
" image contents (magic number, header and payload checksums)"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1135,7 +1135,7 @@ U_BOOT_CMD(
|
||||||
"list all images found in flash",
|
"list all images found in flash",
|
||||||
"\n"
|
"\n"
|
||||||
" - Prints information about all images found at sector\n"
|
" - Prints information about all images found at sector\n"
|
||||||
" boundaries in flash.\n"
|
" boundaries in flash."
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -99,14 +99,14 @@ U_BOOT_CMD(
|
||||||
icache, 2, 1, do_icache,
|
icache, 2, 1, do_icache,
|
||||||
"enable or disable instruction cache",
|
"enable or disable instruction cache",
|
||||||
"[on, off]\n"
|
"[on, off]\n"
|
||||||
" - enable or disable instruction cache\n"
|
" - enable or disable instruction cache"
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dcache, 2, 1, do_dcache,
|
dcache, 2, 1, do_dcache,
|
||||||
"enable or disable data cache",
|
"enable or disable data cache",
|
||||||
"[on, off]\n"
|
"[on, off]\n"
|
||||||
" - enable or disable data (writethrough) cache\n"
|
" - enable or disable data (writethrough) cache"
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -55,5 +55,5 @@ int do_cplbinfo(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(cplbinfo, 1, 0, do_cplbinfo,
|
U_BOOT_CMD(cplbinfo, 1, 0, do_cplbinfo,
|
||||||
"display current CPLB tables",
|
"display current CPLB tables",
|
||||||
"\n"
|
""
|
||||||
" - display current CPLB tables\n");
|
);
|
||||||
|
|
|
@ -61,5 +61,5 @@ U_BOOT_CMD(
|
||||||
dataflash_mmc_mux, 2, 1, do_dataflash_mmc_mux,
|
dataflash_mmc_mux, 2, 1, do_dataflash_mmc_mux,
|
||||||
"dataflash_mmc_mux\t- enable or disable MMC or SPI\n",
|
"dataflash_mmc_mux\t- enable or disable MMC or SPI\n",
|
||||||
"[mmc, spi]\n"
|
"[mmc, spi]\n"
|
||||||
" - enable or disable MMC or SPI\n"
|
" - enable or disable MMC or SPI"
|
||||||
);
|
);
|
||||||
|
|
|
@ -218,5 +218,5 @@ U_BOOT_CMD(
|
||||||
"[MMDDhhmm[[CC]YY][.ss]]\ndate reset\n"
|
"[MMDDhhmm[[CC]YY][.ss]]\ndate reset\n"
|
||||||
" - without arguments: print date & time\n"
|
" - without arguments: print date & time\n"
|
||||||
" - with numeric argument: set the system date & time\n"
|
" - with numeric argument: set the system date & time\n"
|
||||||
" - with 'reset' argument: reset the RTC\n"
|
" - with 'reset' argument: reset the RTC"
|
||||||
);
|
);
|
||||||
|
|
|
@ -224,22 +224,22 @@ int do_setidcr (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
getdcr, 2, 1, do_getdcr,
|
getdcr, 2, 1, do_getdcr,
|
||||||
"Get an AMCC PPC 4xx DCR's value",
|
"Get an AMCC PPC 4xx DCR's value",
|
||||||
"dcrn - return a DCR's value.\n"
|
"dcrn - return a DCR's value."
|
||||||
);
|
);
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
setdcr, 2, 1, do_setdcr,
|
setdcr, 2, 1, do_setdcr,
|
||||||
"Set an AMCC PPC 4xx DCR's value",
|
"Set an AMCC PPC 4xx DCR's value",
|
||||||
"dcrn - set a DCR's value.\n"
|
"dcrn - set a DCR's value."
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
getidcr, 3, 1, do_getidcr,
|
getidcr, 3, 1, do_getidcr,
|
||||||
"Get a register value via indirect DCR addressing",
|
"Get a register value via indirect DCR addressing",
|
||||||
"adr_dcrn[.dat_dcrn] offset - write offset to adr_dcrn, read value from dat_dcrn.\n"
|
"adr_dcrn[.dat_dcrn] offset - write offset to adr_dcrn, read value from dat_dcrn."
|
||||||
);
|
);
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
setidcr, 4, 1, do_setidcr,
|
setidcr, 4, 1, do_setidcr,
|
||||||
"Set a register value via indirect DCR addressing",
|
"Set a register value via indirect DCR addressing",
|
||||||
"adr_dcrn[.dat_dcrn] offset value - write offset to adr_dcrn, write value to dat_dcrn.\n"
|
"adr_dcrn[.dat_dcrn] offset value - write offset to adr_dcrn, write value to dat_dcrn."
|
||||||
);
|
);
|
||||||
|
|
|
@ -34,4 +34,4 @@ usage:
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
sf, 2, 1, do_serial_flash,
|
sf, 2, 1, do_serial_flash,
|
||||||
"Serial flash sub-system",
|
"Serial flash sub-system",
|
||||||
"probe [bus:]cs - init flash device on given SPI bus and CS\n")
|
"probe [bus:]cs - init flash device on given SPI bus and CS")
|
||||||
|
|
|
@ -72,5 +72,5 @@ U_BOOT_CMD(
|
||||||
" - print information about specified tests\n"
|
" - print information about specified tests\n"
|
||||||
"diag run - run all available tests\n"
|
"diag run - run all available tests\n"
|
||||||
"diag run [test1 [test2]]\n"
|
"diag run [test1 [test2]]\n"
|
||||||
" - run specified tests\n"
|
" - run specified tests"
|
||||||
);
|
);
|
||||||
|
|
|
@ -74,5 +74,5 @@ U_BOOT_CMD(
|
||||||
"display string on dot matrix display",
|
"display string on dot matrix display",
|
||||||
"[<string>]\n"
|
"[<string>]\n"
|
||||||
" - with <string> argument: display <string> on dot matrix display\n"
|
" - with <string> argument: display <string> on dot matrix display\n"
|
||||||
" - without arguments: clear dot matrix display\n"
|
" - without arguments: clear dot matrix display"
|
||||||
);
|
);
|
||||||
|
|
|
@ -202,7 +202,7 @@ U_BOOT_CMD(
|
||||||
"doc write addr off size - read/write `size'"
|
"doc write addr off size - read/write `size'"
|
||||||
" bytes starting at offset `off'\n"
|
" bytes starting at offset `off'\n"
|
||||||
" to/from memory address `addr'\n"
|
" to/from memory address `addr'\n"
|
||||||
"doc erase off size - erase `size' bytes of DOC from offset `off'\n"
|
"doc erase off size - erase `size' bytes of DOC from offset `off'"
|
||||||
);
|
);
|
||||||
|
|
||||||
int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
|
@ -342,7 +342,7 @@ int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
docboot, 4, 1, do_docboot,
|
docboot, 4, 1, do_docboot,
|
||||||
"boot from DOC device",
|
"boot from DOC device",
|
||||||
"loadAddr dev\n"
|
"loadAddr dev"
|
||||||
);
|
);
|
||||||
|
|
||||||
int doc_rw (struct DiskOnChip* this, int cmd,
|
int doc_rw (struct DiskOnChip* this, int cmd,
|
||||||
|
|
|
@ -55,6 +55,6 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
dtt, 1, 1, do_dtt,
|
dtt, 1, 1, do_dtt,
|
||||||
"Digital Thermometer and Thermostat",
|
"Read temperature from Digital Thermometer and Thermostat",
|
||||||
" - Read temperature from digital thermometer and thermostat.\n"
|
""
|
||||||
);
|
);
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue