- 09 8月, 2010 1 次提交
-
-
由 Frans Meulenbroeks 提交于
Most of the files have U_BOOT_CMD on a separate line, but a few didn't and had the first line on the same line as U_BOOT_CMD. This changes these files by adding a line break and a tab Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
-
- 05 7月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
The hush shell dynamically allocates (and re-allocates) memory for the argument strings in the "char *argv[]" argument vector passed to commands. Any code that modifies these pointers will cause serious corruption of the malloc data structures and crash U-Boot, so make sure the compiler can check that no such modifications are being done by changing the code into "char * const argv[]". This modification is the result of debugging a strange crash caused after adding a new command, which used the following argument processing code which has been working perfectly fine in all Unix systems since version 6 - but not so in U-Boot: int main (int argc, char **argv) { while (--argc > 0 && **++argv == '-') { /* ====> */ while (*++*argv) { switch (**argv) { case 'd': debug++; break; ... default: usage (); } } } ... } The line marked "====>" will corrupt the malloc data structures and usually cause U-Boot to crash when the next command gets executed by the shell. With the modification, the compiler will prevent this with an error: increment of read-only location '*argv' N.B.: The code above can be trivially rewritten like this: while (--argc > 0 && **++argv == '-') { char *arg = *argv; while (*++arg) { switch (*arg) { ... Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 22 12月, 2009 1 次提交
-
-
由 Wolfgang Wegner 提交于
Prototype for gunzip/zunzip was only in lib_generic/gunzip.c and thus repeated in every file using it. This patch moves the prototypes to common.h and removes all prototypes distributed anywhere else. Signed-off-by: NWolfgang Wegner <w.wegner@astro-kom.de>
-
- 03 12月, 2009 1 次提交
-
-
由 Peter Tyser 提交于
cmd_license is already conditionally compiled at the Makefile-level. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
- 13 6月, 2009 1 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 28 1月, 2009 1 次提交
-
-
由 Peter Tyser 提交于
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
- 19 8月, 2008 1 次提交
-
-
由 Harald Welte 提交于
The 'license' command includes the U-Boot license (GPLv2) into the actual bootloader binary. The license text can be shown interactively at the U-Boot commandline. For products where the commandline can actually be accessed by the end user, this helps to prevent inadvertent GPL violations, since the GPLv2 license text can no longer be 'forgotten' to be included into the product. The 'license' command can be enabled by CONFIG_CMD_LICENSE. Signed-off-by: NHarald Welte <laforge@openmoko.org>
-
- 28 3月, 2008 1 次提交
-
-
由 Nobuhiro Iwamatsu 提交于
Add support SH4 cache control and flash_cache function Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- 27 12月, 2007 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 23 9月, 2007 1 次提交
-
-
由 Nobuhiro Iwamatsu 提交于
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- 13 5月, 2007 1 次提交
-
-
由 Nobuhiro Iwamatsu 提交于
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- 02 7月, 2003 1 次提交
-
-
由 wdenk 提交于
get rid of MK_CMD_ENTRY macro; update doc/README.command
-
- 30 6月, 2003 1 次提交
-
-
由 wdenk 提交于
(autoscript, bmp, bsp, fat, mmc, nand, portio, ...)
-
- 16 6月, 2003 1 次提交
-
-
由 wdenk 提交于
* Patches by Kyle Harris, 13 Mar 2003: - Add FAT partition support - Add command support for FAT - Add command support for MMC ---- - Add Intel PXA support for video - Add Intel PXA support for MMC ---- - Enable MMC and FAT for lubbock board - Other misc changes for lubbock board
-
- 27 3月, 2003 1 次提交
-
-
由 wdenk 提交于
* Add support for INCA-IP Board
-
- 14 12月, 2000 1 次提交
-
-
由 wdenk 提交于
-
- 13 11月, 2000 1 次提交
-
-
由 wdenk 提交于
-