1. 24 Sep, 2014 1 commit
  2. 30 Jul, 2014 1 commit
    • Masahiro Yamada's avatar
      kconfig: switch to Kconfig · 51148790
      Masahiro Yamada authored
      
      
      This commit enables Kconfig.
      Going forward, we use Kconfig for the board configuration.
      mkconfig will never be used. Nor will include/config.mk be generated.
      
      Kconfig must be adjusted for U-Boot because our situation is
      a little more complicated than Linux Kernel.
      We have to generate multiple boot images (Normal, SPL, TPL)
      from one source tree.
      Each image needs its own configuration input.
      
      Usage:
      
      Run "make <board>_defconfig" to do the board configuration.
      
      It will create the .config file and additionally spl/.config, tpl/.config
      if SPL, TPL is enabled, respectively.
      
      You can use "make config", "make menuconfig" etc. to create
      a new .config or modify the existing one.
      
      Use "make spl/config", "make spl/menuconfig" etc. for spl/.config
      and do likewise for tpl/.config file.
      
      The generic syntax of configuration targets for SPL, TPL is:
      
        <target_image>/<config_command>
      
      Here, <target_image> is either 'spl' or 'tpl'
            <config_command> is 'config', 'menuconfig', 'xconfig', etc.
      
      When the configuration is done, run "make".
      (Or "make <board>_defconfig all" will do the configuration and build
      in one time.)
      
      For futher information of how Kconfig works in U-Boot,
      please read the comment block of scripts/multiconfig.py.
      
      By the way, there is another item worth remarking here:
      coexistence of Kconfig and board herder files.
      
      Prior to Kconfig, we used C headers to define a set of configs.
      
      We expect a very long term to migrate from C headers to Kconfig.
      Two different infractructure must coexist in the interim.
      
      In our former configuration scheme, include/autoconf.mk was generated
      for use in makefiles.
      It is still generated under include/, spl/include/, tpl/include/ directory
      for the Normal, SPL, TPL image, respectively.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      51148790
  3. 21 Mar, 2014 1 commit
    • Marek Vasut's avatar
      env: Implement support for AES encryption into fw_* tools · a8a752c0
      Marek Vasut authored
      
      
      Implement support for encrypting/decrypting the environment block
      into the tools/env/fw_* tools. The cipher used is AES 128 CBC and
      the implementation depends solely on components internal to U-Boot.
      
      To allow building against the internal AES library, the library did
      need minor adjustments to not include U-Boot's headers which are not
      wanted to be included and define missing types.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      a8a752c0
  4. 12 Mar, 2014 1 commit
    • Masahiro Yamada's avatar
      kbuild: rename SRCTREE to srctree · 01286329
      Masahiro Yamada authored
      
      
      Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for
      pointing to the top of source directory.
      (No difference between the two.)
      
      In Kbuild style, $(srctree) is used for instead.
      This commit renames SRCTREE to srctree and deletes the
      defition of SRCTREE.
      
      Note that SRCTREE in scripts/kernel-doc, scripts/docproc.c,
      doc/DocBook/Makefile should be keep.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      01286329
  5. 19 Feb, 2014 3 commits
  6. 08 Nov, 2013 1 commit
  7. 24 Jul, 2013 1 commit
  8. 20 Dec, 2012 1 commit
  9. 19 Dec, 2012 1 commit
  10. 13 Dec, 2012 1 commit
    • Joe Hershberger's avatar
      tools/env: Add environment variable flags support · 30fd4fad
      Joe Hershberger authored
      
      
      Currently just validates variable types as decimal, hexidecimal,
      boolean, ip address, and mac address.  Call
      env_acl_validate_setenv_params() from setenv() in fw_env.c.
      
      If the entry is not found in the env .flags, then look in the static
      one. This allows the env to override the static definitions, but prevents
      the need to have every definition in the environment distracting you.
      
      Need to build in _ctype for isdigit for Linux.
      Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      30fd4fad
  11. 15 Oct, 2012 1 commit
    • Joe Hershberger's avatar
      tools/env: Use a board-specific default env · 497f2053
      Joe Hershberger authored
      Originally added in aa701b94
      
      
      
      Before this patch, there was a hard-coded env that was used as default
      if the env in flash is detected as invalid.  Now this tool (compiled
      for a given board) will share the default env with the u-boot for the
      board.
      
      Fix include of config.h
      
      Need to define "TEXT_BASE" when building the fw_env tool so that the
      default env will be correct for environments which use it.
      
      Define __ASSEMBLY__ when calling #include <config.h> so that we only
      get #defines (all we're interested in).
      Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      497f2053
  12. 21 Jun, 2012 1 commit
  13. 22 Nov, 2011 1 commit
  14. 27 Nov, 2010 1 commit
  15. 14 Nov, 2010 1 commit
  16. 19 Sep, 2010 1 commit
  17. 13 Apr, 2010 1 commit
  18. 09 May, 2008 1 commit
    • Grant Erickson's avatar
      Fix Compilation Errors with 'tools/env/fw_printenv' · f3b6d528
      Grant Erickson authored
      
      
      In the current top-of-tree, 1.3.3.-rc2, the optional tool
      'tools/env/fw_printenv' fails to compile for two reasons:
      
      1) The header watchdog.h cannot be found.
      2) The header zlib.h is picked up from the tool chain rather than the
         project causing a prototype conflict for crc32.
      
      This patch addresses both of these issues.
      
      Platforms Tested On:
      - AMCC "Kilauea"
      Signed-off-by: default avatarGrant Erickson <gerickson@nuovations.com>
      f3b6d528
  19. 09 Jan, 2008 1 commit
    • Markus Klotzbücher's avatar
      tools: fix fw_printenv tool to compile again · 64b3727b
      Markus Klotzbücher authored
      
      
      This patch updates the fw_printenv/fw_setenv userspace tool to include
      the correct MTD header in order to compile against current kernel
      headers. Backward compatibility is preserved by introducing an option
      MTD_VERSION which can be set to "old" for compilation using the old MTD
      headers. Along with this a number of warnings are fixed.
      Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
      64b3727b
  20. 08 Jan, 2008 1 commit
    • Markus Klotzbücher's avatar
      tools: fix fw_printenv tool to compile again · 6de66b35
      Markus Klotzbücher authored
      
      
      This patch updates the fw_printenv/fw_setenv userspace tool to include
      the correct MTD header in order to compile against current kernel
      headers. Backward compatibility is preserved by introducing an option
      MTD_VERSION which can be set to "old" for compilation using the old MTD
      headers. Along with this a number of warnings are fixed.
      Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
      6de66b35
  21. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  22. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - 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)
      8bde7f77
  23. 17 Dec, 2002 1 commit
  24. 06 Aug, 2002 1 commit
  25. 08 Mar, 2002 1 commit
  26. 22 Jan, 2001 1 commit
  27. 11 Jan, 2001 1 commit
  28. 14 Dec, 2000 1 commit
  29. 10 Jul, 2000 1 commit