1. 13 2月, 2018 1 次提交
  2. 30 1月, 2018 1 次提交
  3. 26 1月, 2018 1 次提交
  4. 13 1月, 2018 1 次提交
  5. 12 1月, 2018 1 次提交
  6. 09 1月, 2018 1 次提交
  7. 02 1月, 2018 1 次提交
  8. 19 12月, 2017 1 次提交
  9. 13 12月, 2017 1 次提交
    • S
      binman: tegra: Convert to use binman · f2faffec
      Simon Glass 提交于
      Update tegra to use binman for image creation. This still includes the
      current Makefile logic, but a later patch will remove this. Three output
      files are created, all of which combine
      SPL and U-Boot:
      
         u-boot-tegra.bin        - standard image
         u-boot-dtb-tegra.bin    - same as u-boot-tegra.bin
         u-boot-nodtb-target.bin - includes U-Boot without the appended device tree
      
      The latter is useful for build systems where the device is appended later,
      perhaps after being modified.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      f2faffec
  10. 05 12月, 2017 1 次提交
  11. 21 11月, 2017 3 次提交
    • S
      envtools: make sure version/timestamp header file are available · ded84f90
      Stefan Agner 提交于
      With commit 84d46e7e ("tools: env: allow to print U-Boot version")
      the fw_env utilities need the version.h header file. Building only
      the envtools in a pristine build directory will fail due to missing
      header files.
      
      Make sure the header files are a dependency of the envtools target.
      
      Fixes: 84d46e7e ("tools: env: allow to print U-Boot version")
      Signed-off-by: NStefan Agner <stefan.agner@toradex.com>
      Tested-by: NPeter Robinson <pbrobinson@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      ded84f90
    • M
      Makefile: Correct SPL/TPL/DTB build race condition · dd2081a8
      M. Vefa Bicakci 提交于
      When building on a multi-core machine for an SPL-enabled board that
      also uses CONFIG_OF_EMBED, the following error can be encountered
      due to a race condition:
      
        make[3]: *** No rule to make target 'spl/dts/dt.dtb.o', needed by
          'spl/dts/built-in.o'.  Stop.
        ../scripts/Makefile.spl:364: recipe for target 'spl/dts' failed
        make[2]: *** [spl/dts] Error 2
        make[2]: *** Waiting for unfinished jobs....
      
      A reliable way to trigger this race condition is to add "sleep 60" to
      the end of the "arch-dtbs" rule's recipe in "dts/Makefile" and to build
      U-Boot against a board which uses the CONFIG_OF_EMBED and CONFIG_SPL
      options using "make -j8" or a similar command.
      
      This commit corrects this race condition via the use of CONFIG_OF_EMBED
      in the same way that commit 3c00a2c8 ("Makefile: Correct dependency
      race condition with TPL") and commit 054b3a1e ("dm: Makefile: Build
      of-platdata before SPL") use CONFIG_OF_SEPARATE.
      Signed-off-by: NM. Vefa Bicakci <m.v.b@runbox.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      dd2081a8
    • H
      Makefile: add coccicheck target · 8a28caf0
      Heinrich Schuchardt 提交于
      Coccinelle is a program for static code analysis.
      For details on Coccinelle see
      
      	http://coccinelle.lip6.fr/
      
      Add scripts/coccicheck copied from Linux kernel v4.14.
      
      The coccicheck script executes the tests *.cocci in
      directory scripts/coccinelle by calling spatch.
      
      In Makefile add a coccicheck target. You can use it with
      
      	make coccicheck MODE=<mode>
      
      	where mode in patch, report, context, org.
      
      Add a copy of Linux v4.14 file Documentation/dev-tools/coccinelle.rst
      as doc/README.coccinelle.
      
      Cc: Simon Glass <sjg@chromium.org>
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      8a28caf0
  12. 17 11月, 2017 2 次提交
    • M
      pylibfdt: compile pylibfdt only when dtoc/binman is necessary · d6a0c78a
      Masahiro Yamada 提交于
      Currently, pylibfdt is always compiled if swig is installed on your
      machine.  It is really annoying because most of targets (excepts
      x86, sunxi, rockchip) do not use dtoc or binman.
      
      "checkbinman" and "checkdtoc" are wrong.  It is odd that the final
      build stage checks if we have built necessary tools.  If your platform
      depends on dtoc/binman, you must be able to build pylibfdt.  If swig
      is not installed, it should fail immediately.
      
      I added PYLIBFDT, DTOC, BINMAN entries to Kconfig.  They should be
      property select:ed by platforms that need them.  Kbuild will descend
      into scripts/dtc/pylibfdt/ only when CONFIG_PYLIBFDT is enabled.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      d6a0c78a
    • M
      pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile · 15b97f5c
      Masahiro Yamada 提交于
      The pylibfdt is used by dtoc (and, indirectly by binman), but there
      is no reason why it must be generated in the tools/ directory.
      
      Recently, U-Boot switched over to the bundled DTC, and the directory
      structure under scripts/dtc/ now mirrors the upstream DTC project.
      So, scripts/dtc/pylibfdt is the best location.
      
      I also rewrote the Makefile in a cleaner Kbuild style.
      
      The scripts from the upstream have been moved as follows:
      
        lib/libfdt/pylibfdt/setup.py -> scripts/dtc/pylibfdt/setup.py
        lib/libfdt/pylibfdt/libfdt.i -> scripts/dtc/pylibfdt/libfdt.i_shipped
      
      The .i_shipped is coped to .i during building because the .i must be
      located in the objtree when we build it out of tree.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      15b97f5c
  13. 14 11月, 2017 1 次提交
  14. 07 11月, 2017 1 次提交
  15. 31 10月, 2017 1 次提交
  16. 19 10月, 2017 1 次提交
    • H
      x86: provide CONFIG_BUILD_ROM · 871aa41d
      Heinrich Schuchardt 提交于
      Up to now we depended on an exported variable to build u-boot.rom.
      We should be able to specify it in the configuration file, too.
      
      With this patch this becomes possible using the new Kconfig option
      CONFIG_BUILD_ROM.
      
      This option depends on CONFIG_X86 and is selected in
      qemu-x86_defconfig and qemu-x86_64_defconfig.
      
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      871aa41d
  17. 17 10月, 2017 1 次提交
  18. 06 10月, 2017 1 次提交
  19. 03 10月, 2017 1 次提交
  20. 24 9月, 2017 1 次提交
  21. 22 9月, 2017 1 次提交
  22. 13 9月, 2017 1 次提交
  23. 12 9月, 2017 1 次提交
  24. 06 9月, 2017 3 次提交
  25. 04 9月, 2017 1 次提交
  26. 29 8月, 2017 1 次提交
  27. 20 8月, 2017 1 次提交
    • C
      Makefile: honor PYTHON configuration properly · 3809e302
      Clément Bœsch 提交于
      On some systems `python` is `python3` (for instance, Archlinux). The
      `PYTHON` variable can be used to point to `python2` to have a successful
      build.
      
      The use of `PYTHON` is currently limited in the Makefile and needs to be
      extended in other places:
      
      First, pylibfdt is required to be a Python 2 binding (binman imports
      pylibfdt and is only compatible Python 2), so its setup.py needs to be
      called accordingly. An alternative would be to change the libfdt
      setup.py shebang to python2, but the binding is actually portable. Also,
      it would break on system where there is no such thing as `python2`.
      
      Secondly, the libfdt import checks need to be done against Python 2 as
      well since the Python 2 compiled modules (in this case _libdft.so) can
      not be imported from Python 3.
      
      Note on the libfdt imports: "@if ! PYTHONPATH=tools $(PYTHON) -c 'import
      libfdt'; then..." is probably simpler than the currently sub-optimal
      pipe.
      Reviewed-by: NJonathan Gray <jsg@jsg.id.au>
      3809e302
  28. 15 8月, 2017 3 次提交
  29. 13 8月, 2017 1 次提交
  30. 01 8月, 2017 1 次提交
  31. 30 7月, 2017 1 次提交
  32. 26 7月, 2017 1 次提交
  33. 23 7月, 2017 1 次提交