21 Feb, 2014

1 commit


04 Feb, 2014

1 commit


28 Apr, 2013

1 commit


12 Mar, 2013

1 commit

  • The "mtest" command is of little practical use (if any), and
    experience has shown that a large number of board configurations
    define useless or even dangerous start and end addresses. If not even
    the board maintainers are able to figure out which memory range can be
    reliably tested, how can we expect such from the end users? As this
    problem comes up repeatedly, we rather do not enable this command by
    default, so only people who know what they are doing will be
    confronted with it.

    As this changes the user interface, we allow for a grace period
    before this change takes effect. For now, we make "mtest"
    configurable through the CONFIG_CMD_MEMTEST variable, which is defined
    in include/config_cmd_default.h; we also add an entry to
    doc/feature-removal-schedule.txt which announces the removal of this
    default setting in two releases from now, i. e. with v2013.07.

    Signed-off-by: Wolfgang Denk
    Cc: Tom Rini

    Wolfgang Denk
     

05 Mar, 2013

1 commit


11 Jan, 2013

1 commit

  • Some boards want to report more than just memory size. For example, it
    might be useful to display the memory type (DDR2, DDR3) or manufacturer.

    Add a weak function to support this requirement, accessed through a new
    'meminfo' command.

    Any example of the DRAM: output is below, just for illustration:

    SMDK5250 # meminfo
    DRAM: 2 GiB Elpida DDR3 @ 800MHz

    Signed-off-by: Simon Glass

    Simon Glass
     

12 Dec, 2012

4 commits

  • Provide u-boot console functions to access IO space registers. A no
    thrills implementation, accessing one register at a time.

    For example:
    boot > iod 80
    0080: 00000094
    boot > iod.w 80
    0080: 0094
    boot > iod.b 80
    0080: 94
    boot > iow.b 0x80 12
    boot > iod 0x80
    0080: 00000012

    Signed-off-by: Vadim Bendebury
    Signed-off-by: Simon Glass

    Vadim Bendebury
     
  • This new command supports hashing SHA1 and SHA256. It could be extended
    to others such as MD5 and the CRC algorithms. The syntax is modeled on
    those:

    hash

    [* | ]

    to calculate a hash, and:

    hash -v

    [* | ]

    to verify a hash.

    Use CONFIG_CMD_HASH to enable the command, CONFIG_SHA1 to enable SHA1 and
    CONFIG_SHA256 to enable SHA256.

    The existing sha1sum command remains.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Sometimes data is on a block device and within a partition, but not in a
    particular filesystem.

    This commands permits reading raw data from a partition.

    Signed-off-by: Kenneth Waters
    Signed-off-by: Simon Glass

    Kenneth Waters
     
  • Gettime returns the current timer value. If CONFIG_SYS_HZ is defined
    then the timer value is also converted to seconds.

    Tegra20 (SeaBoard) # gettime
    Timer val: 7754
    Seconds : 7
    Remainder : 754
    sys_hz = 1000

    There has been some discussion about whether this is useful enough to
    be included in U-Boot. The following boards do not have CONFIG_SYS_HZ
    defined:

    M52277EVB
    M52277EVB_stmicro
    M53017EVB
    M54418TWR
    M54418TWR_nand_mii
    M54418TWR_nand_rmii
    M54418TWR_nand_rmii_lowfreq
    M54418TWR_serial_mii
    M54418TWR_serial_rmii

    Signed-off-by: Anton Staaf
    Signed-off-by: Simon Glass

    Anton Staaf
     

10 Aug, 2012

1 commit

  • U-Boot port is based on sources forked from GRUB-0.97 by Sun in 2004,
    which can be found here:
    http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/zfs-include/zfs.h

    Released by Sun for GRUB under the license:
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.

    GRUB official releases include ZFS in version:
    ftp://alpha.gnu.org/gnu/grub/grub-1.99~rc1.tar.gz

    And patched against GRUB Bazaar repository for ashift fixes (4KB HDDs)
    more conveniently found at github:
    https://github.com/pendor/grub-zfs/commit/e7b6ef3ac3b9685ac4c394c897b1d4221b7381f1

    Signed-off-by: Jorgen Lundman

    Jorgen Lundman
     

22 Jun, 2012

1 commit


20 Apr, 2012

1 commit


31 Mar, 2012

1 commit

  • This command boots Linux zImage from where the zImage is loaded to. Passing
    initrd and fdt is supported.

    Tested on i.MX28 based DENX M28EVK
    Tested on PXA270 based Voipac PXA270.

    NOTE: This currently only supports ARM, but other architectures can be easily
    added by defining bootz_setup().

    Signed-off-by: Marek Vasut
    Cc: Tom Warren
    Cc: albert.u.boot@aribaud.net
    Cc: afleming@gmail.com,
    Cc: Simon Glass ,
    Cc: Stephen Warren
    Cc: Nicolas Pitre
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut
     

23 Jun, 2011

1 commit

  • The 'trab' board configuration is broken, and there is nobody who is
    interested and willing to fix it. Drop it.

    This includes support for VFD displays which have always been used by
    this board only.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

12 Oct, 2010

1 commit


11 Apr, 2010

2 commits


28 Oct, 2009

1 commit

  • The editenv command can be used to edit an environment variable.
    Editing an environment variable is useful when one wants to tweak an
    existing variable, for example fix a typo or change the baudrate in the
    'bootargs' environment variable.

    Signed-off-by: Peter Tyser

    Peter Tyser
     

04 Apr, 2009

2 commits

  • Mflash is fusion memory device mainly targeted consumer eletronic and
    mobile phone.
    Internally, it have nand flash and other hardware logics and supports
    some different operation (ATA, IO, XIP) modes.

    IO mode is custom mode for the host that doesn't have IDE interface.
    (Many mobile targeted SoC doesn't have IDE bus)

    This driver support mflash IO mode.

    Followings are brief descriptions about IO mode.

    1. IO mode based on ATA protocol and uses some custom command. (read
    confirm, write confirm)
    2. IO mode uses SRAM bus interface.

    Signed-off-by: unsik Kim

    unsik Kim
     
  • According to the doc/feature-removal-schedule.txt, the "autoscr"
    command will be replaced by the "source" command in approximately 6
    months from now.

    This patch prepares this change and starts a 6 month transition
    period as follows:

    - The new "source" command has been added, which implements exactly
    the same functionlaity as the old "autoscr" command before
    - The old "autoscr" command name is kept as an alias for compatibility
    - Command sequences, script files atc. have been adapted to use the
    new "source" command
    - Related environment variables ("autoscript", "autoscript_uname")
    have *not* been adapted yet; these will be renamed resp. removed in
    a separate patch when the support for the "autoscr" command get's
    finally dropped.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

21 Mar, 2009

1 commit

  • Currently the mtdparts commands are included in the jffs2 command support.
    This doesn't make sense anymore since other commands (e.g. UBI) use this
    infrastructure as well now. This patch separates the mtdparts commands from
    the jffs2 commands making it possible to only select mtdparts when no JFFS2
    support is needed.

    Signed-off-by: Stefan Roese
    Signed-off-by: Kyungmin Park

    Stefan Roese
     

18 Feb, 2009

1 commit


19 Aug, 2008

2 commits

  • 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: Harald Welte

    Harald Welte
     
  • [PATCH] add new 'unzip' command to u-boot commandline

    common/cmd_mem.c: new command "unzip srcaddr dstaddr [dstsize]" to unzip from
    memory to memory, and option CONFIG_CMD_UNZIP to enable it

    Signed-off-by: Werner Almesberger
    Signed-off-by: Harald Welte

    Harald Welte
     

21 May, 2008

1 commit

  • This commit gets rid of a huge amount of silly white-space issues.
    Especially, all sequences of SPACEs followed by TAB characters get
    removed (unless they appear in print statements).

    Also remove all embedded "vim:" and "vi:" statements which hide
    indentation problems.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

08 Apr, 2008

1 commit


26 Mar, 2008

1 commit

  • Add a simple expr style command that will set an env variable as the result
    of the command. This allows us to do simple math in shell. The following
    operations are supported: &, |, ^, +, -, *, /.

    Signed-off-by: Kumar Gala

    Kumar Gala
     

09 Jan, 2008

1 commit

  • This patch adds a 'cu' like serial terminal command to u-boot
    using which you can access other serial ports from the system console.

    OpenMoko uses this in their Neo1973 phones to get access to the GSM
    Modem and GPS chip from the bootloader.

    Signed-off-by: Harald Welte

    Harald Welte
     

14 Oct, 2007

1 commit


17 Sep, 2007

1 commit


11 Sep, 2007

1 commit


04 Sep, 2007

1 commit


14 Aug, 2007

1 commit

  • Merge to two at45.c files into a common file, split to at45.c and spi.c
    Fix spelling error in DM9161 PHY Support.
    Initialize at91rm9200 board (and set LED).
    Add PIO control for at91rm9200dk LEDs and Mux.
    Change dataflash partition boundaries to be compatible with Linux 2.6.

    Signed-off-by: Peter Pearse
    Signed-off-by: Ulf Samuelsson

    Peter Pearse
     

04 Jul, 2007

1 commit

  • Derive three new files from cmd_confdefs.h:
    config_bootp.h - Has BOOTP related config options, not commands
    config_cmd_all.h - Has a CONFIG_CMD_* definition for every command
    config_cmd_default.h - Has a CONFIG_CMD_* definition for default cmds.

    For now, include "config_bootp.h" for compatability until all
    users of it directly include it properly.

    Signed-off-by: Jon Loeliger

    Jon Loeliger