summaryrefslogtreecommitdiffstats
path: root/common/hush.c
Commit message (Collapse)AuthorAgeFilesLines
* shell info addedJuergen Beisert2007-10-191-20/+24
|
* hush doc addedJuergen Beisert2007-10-191-36/+73
|
* hush.c: split high-density "if(x) something"; into two linesSascha Hauer2007-10-011-27/+57
|
* hush.c: get_local_var() is used only once, put it into the functionSascha Hauer2007-10-011-18/+3
| | | | where it is called
* fix indention in hush.cSascha Hauer2007-10-011-3/+3
|
* remove comment about glob in hush.c. We do not use globSascha Hauer2007-10-011-8/+0
|
* fix indention in hush.cSascha Hauer2007-10-011-64/+66
|
* fix indention in hush.cSascha Hauer2007-10-011-1/+3
|
* fix indention in hush.cSascha Hauer2007-10-011-25/+25
|
* set last_return_code to rcode and not 1 or 0Sascha Hauer2007-09-271-1/+1
|
* pass file size from read_fileSascha Hauer2007-09-271-1/+1
|
* hush.c: use xrealloc instead of realloc to save some bytesSascha Hauer2007-09-261-2/+1
|
* hush.c: use xzalloc instead of xmalloc to save some bytesSascha Hauer2007-09-261-8/+1
|
* hush.c: Remove wrong free() of ctx->pipe->progs. After breaking outSascha Hauer2007-09-261-3/+0
| | | | | of the while loop ctx->pipe is invalid, so we cannot dereference ctx->pipe->progs.
* remove extern declaration of console_bufferSascha Hauer2007-09-261-1/+0
|
* fix indentionSascha Hauer2007-09-251-2/+3
|
* remove hack from hush which did the wrong thingSascha Hauer2007-09-251-5/+0
|
* add $# handling for hushSascha Hauer2007-09-251-0/+28
|
* remove debug printfSascha Hauer2007-09-241-1/+0
|
* remove u-boot command paramter flagSascha Hauer2007-09-241-19/+6
|
* - add 'source' commandSascha Hauer2007-09-241-4/+44
| | | | - add help text for 'source' and 'sh'
* - teach hush to honour PATH variableSascha Hauer2007-09-241-27/+46
| | | | - remove common/main.c. This is now handled in the different shells.
* fix indentionSascha Hauer2007-09-231-27/+27
|
* allow arguments to be passed to scriptsSascha Hauer2007-09-231-52/+100
|
* unifdef __U_BOOT__ in hush.cSascha Hauer2007-09-221-1936/+0
|
* svn_rev_481Sascha Hauer2007-07-051-6/+7
| | | | make more char * const, fix compiler warnings
* svn_rev_424Sascha Hauer2007-07-051-1/+0
|
* svn_rev_392Sascha Hauer2007-07-051-204/+35
| | | | | | | - remove u_boot_hush_start() - remove u_boot_hush_reloc() - remove repeatable commands - do not use local variable handling anymore
* svn_rev_353Sascha Hauer2007-07-051-11/+19
|
* svn_rev_283Sascha Hauer2007-07-051-25/+2
| | | | add xfuncs
* svn_rev_270Sascha Hauer2007-07-051-1/+3
| | | | WIP FS support
* svn_rev_207Sascha Hauer2007-07-051-7/+7
| | | | move several config options to kconfig
* svn_rev_152Sascha Hauer2007-07-051-1/+9
| | | | remove global data gd_t and board info bd_t entirely for arm
* svn_rev_003Sascha Hauer2007-07-051-48/+0
| | | | remove all #if 0 and #if 1
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-311-1/+2
|
* Cleanup for GCC-4.xWolfgang Denk2005-10-131-8/+8
|
* Fix uninitialized variable problem in hush shellWolfgang Denk2005-09-281-0/+1
| | | | Patch by Lars Rostock, 26 Sep 2005
* Make bootretry feature work with hush shell.Wolfgang Denk2005-08-121-0/+18
| | | | | Caveat: this currently *requires* CONFIG_RESET_TO_RETRY to be set, too. Patch by Andreas Engel, 19 Jul 2005
* Patches by Pantelis Antoniou, 16 Apr 2004:wdenk2004-04-181-7/+78
| | | | | | | | | | | | | | | | | - add support for a new version of an Intracom board and fix various other things on others. - add verify support to the crc32 command (define CONFIG_CRC32_VERIFY to enable it) - fix FEC driver for MPC8xx systems: 1. fix compilation problems for boards that use dynamic allocation of DPRAM 2. shut down FEC after network transfers - HUSH parser fixes: 1. A new test command was added. This is a simplified version of the one in the bourne shell. 2. A new exit command was added which terminates the current executing script. 3. Fixed handing of $? (exit code of last executed command)
* Fix if / elif handling bug in HUSH shellwdenk2004-04-121-1/+1
|
* * Patch by Thomas Elste, 10 Feb 2004:wdenk2004-02-231-1/+1
| | | | | | | | | | | | | | Add support for NET+50 CPU and ModNET50 board * Patch by Sam Song, 10 Feb 2004: Fix typos in cfi_flash.c * Patch by Leon Kukovec, 10 Feb 2004 Fixed long dir entry slot id calculation in get_vfatname * Patch by Robin Gilks, 10 Feb 2004: add "itest" command (operators: -eq, -ne, -lt, -gt, -le, -ge, ==, !=, <>, <, >, <=, >=)
* * Make sure HUSH is initialized for running auto-update scriptswdenk2003-10-141-8/+10
| | | | | | | | | | | * Make 5200 reset command _really_ reset the board, without running any other code after it * Fix flash mapping and display on P3G4 board * Patch by Kyle Harris, 15 Jul 2003: - add support for Intel IXP425 CPU - add support for IXDP425 eval board
* * Code cleanup:wdenk2003-06-271-28/+38
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* * Patch by Arun Dharankar, 4 Apr 2003:wdenk2003-04-051-24/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IDMA example code (tested on 8260 only) * Add support for Purple Board (MIPS64 5Kc) * Add support for MIPS64 5Kc CPUs * Fix missing setting of "loadaddr" and "bootfile" on ARM and MIPS * Patch by Denis Peter, 04 Apr 2003: - update MIP405-4 board * Patches by Denis Peter, 03 April 2003: - fix PCI IRQs on MPL boards - fix two more un-relocated pointer problems * Fix behaviour of "run" command: - print error message iv variable does not exist - terminate processing of arguments in case of error * Patches by Peter Figuli, 10 Mar 2003 - Add support for BTUART on PXA platform - Add support for WEP EP250 (PXA) board * Fix flash problems on INCA-IP; add tool to allow bruning images to flash using a BDI2000 * Implement fix for I2C Edge Conditions problem for all boards that use the bit-banging driver (common/soft_i2c.c) * Add patches by Robert Schwebel, 31 Mar 2003: - csb226 board: bring in sync with innokom/memsetup.S - csb226 board: fix MDREFR handling - misc doc fixes / extensions - innokom board: cleanup, MDREFR fix in memsetup.S, config update - add BOOT_PROGRESS to armlinux.c
* * Restrict baudrate settings on LWMON to higher speedswdenk2003-01-111-18/+34
| | | | | | | | | | | | when watchdog is on * Update baudrate in bd_info when it gets changed * Add watchdog trigger points while waiting for serial port (so far only 8xx -- needed on LWMON with 100ms watchdog) * Improve command line tool to access the U-Boot's environment (figuration of the utility, using a config file)
* * Patch by Thomas Frieden, 13 Nov 2002:wdenk2002-11-191-5/+0
| | | | | | | | | | | | | Add code for AmigaOne board (preliminary merge to U-Boot, still WIP) * Patch by Jon Diekema, 12 Nov 2002: - Adding URL for IEEE OUI lookup - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED being defined. - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and root-on-nfs macros are designed to switch how the default boot method gets defined.
* Initial revisionwdenk2002-11-031-0/+3461