24 Nov, 2016

1 commit


24 Jul, 2013

1 commit


05 Jan, 2012

1 commit


07 Dec, 2011

1 commit

  • When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set,
    the environment.h file does not get included resulting in unrecognized
    env_t type.
    Fix this by moving the include directive.

    Reported-by: Mike Frysinger
    Signed-off-by: Igor Grinberg
    Tested-by: Mike Frysinger

    Igor Grinberg
     

22 Nov, 2011

1 commit


26 Jul, 2011

1 commit


28 Oct, 2009

1 commit


19 Oct, 2009

2 commits

  • Newer toolchains will often complain about unchecked fwrite():
    envcrc.c:117: warning: ignoring return value of `fwrite´, declared
    with attribute warn_unused_result

    So check the return value to silence the warnings.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     
  • The env code is protected by the ENV_IS_EMBEDDED define, so attempting to
    compile the code when this isn't defined is pointless. Now that the env
    headers have unified around CONFIG_ENV_IS_EMBEDDED, convert the build
    system to only build the env objects when this is enabled. And now that
    the env code is conditionally compiled, we can drop the source code checks.

    For people who want to extract the environment manually, add a new option
    CONFIG_BUILD_ENVCRC that only enables the envcrc utility.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

13 Jun, 2009

1 commit


19 Oct, 2008

1 commit


11 Sep, 2008

2 commits


24 Apr, 2008

1 commit

  • The envcrc.c does sizeof(unsigned long) when calculating the crc, but
    this is done with the build toolchain instead of the target tool
    chain, so if the build is a 64bit system but the target is 32bits,
    the size will obviously be wrong. This converts all unsigned long
    stuff related to crc32 to uint32_t types. Compile tested only: output
    of ./tools/envcrc when run on a 32bit build system matches that of a
    64bit build system.

    Signed-off-by: Mike Frysinger
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD

    Mike Frysinger
     

04 Aug, 2005

1 commit


28 Jun, 2003

1 commit

  • - 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)

    wdenk
     

06 Mar, 2003

1 commit

  • - Add support for Innokom board
    - Don't complain if "install" fails
    - README cleanup (remove duplicated lines)
    - Update PXA header files

    * Add documentation for existing POST code (doc/README.POST)

    * Patch by Laudney Ren, 15 Jan 2003:
    Fix handling of redundand environment in "tools/envcrc.c"

    * Patch by Detlev Zundel, 28 Feb 2003:
    Add bedbug support for 824x systems

    * Add support for 16 MB flash configuration of TRAB board

    * Patch by Erwin Rol, 27 Feb 2003:
    Add support for RTEMS

    * Add image information to README

    * Fix dual PCMCIA slot support (when running with just one
    slot populated)

    * Add VFD type detection to trab board

    * extend drivers/cs8900.c driver to synchronize ethaddr environment
    variable with value in the EEPROM

    wdenk
     

18 Sep, 2002

1 commit