1. 11 7月, 2017 2 次提交
  2. 04 7月, 2017 1 次提交
  3. 20 6月, 2017 1 次提交
  4. 06 6月, 2017 1 次提交
  5. 03 6月, 2017 1 次提交
    • S
      fdt: Makefile: Build python libfdt library if needed · e38ffc42
      Simon Glass 提交于
      This is needed by binman and dtoc, so if those are being used, check that
      the library is present and complain if not. Make sure that any error
      appears on stderr so that buildman notices it.
      
      This means that the fallback library (which uses fdtget) will not be used
      anymore and swig will need to be installed to use binman / dtoc.
      
      This affects any board which uses binman (currently sunxi and x86) or dtoc
      (anything that uses CONFIG_SPL_OF_PLATDATA, currently some rockchip
      boards).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e38ffc42
  6. 18 5月, 2017 1 次提交
    • A
      Makefile: add rules to generate SPL FIT images · 1a12fdc4
      Andre Przywara 提交于
      Some platforms require more complex U-Boot images than we can easily
      generate via the mkimage command line, for instance to load additional
      image files.
      Introduce a CONFIG_SPL_FIT_SOURCE and CONFIG_SPL_FIT_GENERATOR symbol,
      which can either hold an .its source file describing the image layout,
      or, in the second case, a generator tool (script) to create such
      a source file. This script gets passed the list of device tree files
      from the CONFIG_OF_LIST variable.
      A platform or board can define either of those in their defconfig file
      to allow an easy building of such an image.
      Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
      Reviewed-by: NJagan Teki <jagan@openedev.com>
      1a12fdc4
  7. 15 5月, 2017 1 次提交
  8. 10 5月, 2017 3 次提交
  9. 08 5月, 2017 1 次提交
  10. 02 5月, 2017 1 次提交
  11. 18 4月, 2017 1 次提交
  12. 14 4月, 2017 1 次提交
  13. 10 4月, 2017 1 次提交
  14. 07 4月, 2017 1 次提交
  15. 05 4月, 2017 2 次提交
  16. 19 3月, 2017 1 次提交
  17. 14 3月, 2017 1 次提交
  18. 10 3月, 2017 1 次提交
  19. 28 2月, 2017 1 次提交
  20. 14 2月, 2017 1 次提交
  21. 09 2月, 2017 3 次提交
    • M
      kbuild: beautify the log of config whitelist check · 1bdd942b
      Masahiro Yamada 提交于
      Use the kbuild style log.
      
      Prior to this commit:
      
      ./scripts/check-config.sh u-boot.cfg \
      	./scripts/config_whitelist.txt . 1>&2
      
      With this commit:
      
        CFGCHK  u-boot.cfg
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      1bdd942b
    • M
      cmd: rework "license" command · d726f225
      Masahiro Yamada 提交于
      The previous commit ("add a new command to show .config contents")
      improves the basic infrastructure of "embed a compressed file into
      the U-Boot image, and print it by a command".  The same pattern for
      the "license" command.
      
      This commit reworks the command to improve the following:
      
      [1] Improve log style
      
      Kbuild style log
      
        GZIP    cmd/license_data.gz
        CHK     cmd/license_data_gz.h
        UPD     cmd/license_data_gz.h
        CHK     cmd/license_data_size.h
        UPD     cmd/license_data_size.h
      
      instead of the bare Make log:
      
      cat ./Licenses/gpl-2.0.txt | gzip -9 -c | \
      		tools/bin2header license_gzip > ./include/license.h
      
      [2] Collect related code into the "cmd" directory
      
      Prior to this commit, the license.h was created by tools/Makefile,
      placed under the "include" directory, included from cmd/license.c,
      and deleted by the top-level Makefile.  It is not a good idea to
      scatter related code.
      
      [3] Drop the fixed-malloc size LICENSE_MAX
      
      Just allocate the minimum required size of buffer because we know
      the size of the original gpl-2.0.txt.
      
      [4] Fix more issues
      
      Terminate the buffer with zero to prevent puts() from over-running.
      Add "static" to do_license.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      d726f225
    • M
      cmd: add a new command "config" to show .config contents · 61304dbe
      Masahiro Yamada 提交于
      This feature is inspired by /proc/config.gz of Linux.  In Linux,
      if CONFIG_IKCONFIG is enabled, the ".config" file contents are
      embedded in the kernel image.  If CONFIG_IKCONFIG_PROC is also
      enabled, the ".config" contents are exposed to /proc/config.gz.
      Users can do "zcat /proc/config.gz" to check which config options
      are enabled on the running kernel image.
      
      The idea is almost the same here; if CONFIG_CMD_CONFIG is enabled,
      the ".config" contents are compressed and saved in the U-Boot image,
      then printed by the new command "config".
      
      The usage is quite simple.  Enable CONFIG_CMD_CONFIG, then run
       > config
      from the command line interface.  The ".config" contents will be
      printed on the console.
      
      This feature increases the U-Boot image size by about 4KB (this is
      mostly due to the gzip-compressed .config file).  By default, it is
      enabled only for Sandbox because we do not care about the memory
      footprint on it.  Of course, this feature is architecture agnostic,
      so you can enable it on any board if the image size increase is
      acceptable for you.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      61304dbe
  22. 06 2月, 2017 1 次提交
  23. 01 2月, 2017 1 次提交
  24. 31 1月, 2017 1 次提交
  25. 10 1月, 2017 1 次提交
  26. 03 1月, 2017 3 次提交
  27. 20 12月, 2016 4 次提交
  28. 06 12月, 2016 1 次提交
  29. 03 12月, 2016 1 次提交
    • S
      Makefile: Add a target to create the .cfg files · 1bd87630
      Simon Glass 提交于
      A common requirement when converting CONFIG options to Kconfig is to check
      that the effective configuration has not changed due to the conversion. Add
      a target which creates this configuration (in the form of u-boot.cfg) but
      does not build U-Boot. This speeds up the checking.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      1bd87630