1. 12 6月, 2014 9 次提交
    • S
      fdt: Add DEV_TREE_BIN option to specify a device tree binary file · 63b4b5ba
      Simon Glass 提交于
      In some cases, an externally-built device tree binary is required to be
      attached to U-Boot. An example is when using image signing, since in that
      case the .dtb file must include the public keys.
      
      Add a DEV_TREE_BIN option to the Makefile, and update the documentation.
      
      Usage is something like:
      
      	make DEV_TREE_BIN=boot/am335x-boneblack-pubkey.dtb
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      63b4b5ba
    • S
      hash: Export the function to show a hash · 31890ae2
      Simon Glass 提交于
      This function is useful for displaying a hash value, so export it.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      31890ae2
    • S
      am33xx/omap: Allow cache enable for all Sitara/OMAP · 7e4154a5
      Simon Glass 提交于
      Enable the cache for all devices, unless CONFIG_SYS_DCACHE_OFF is defined.
      This speeds up the Beaglebone Black boot considerable.
      
      (Tested only on Beaglebone Black with SD card boot)
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      7e4154a5
    • S
      Check that u-boot.bin size looks correct · 89742924
      Simon Glass 提交于
      Check that the image size matches the size we get from u-boot.bin. If it
      doesn't, that generally means that some extra sections are being added to
      u-boot.bin, meaning that it is not possible to access data appended to
      the U-Boot binary. This is used for device tree, so needs to work.
      
      This problem was introduced by commit b02bfc4d. By adding a test we can
      prevent a reccurence.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      89742924
    • S
      mx31ads: Fix the U-Boot binary output · 6469a346
      Simon Glass 提交于
      Correct the binary output so that image_binary_size is really at the
      end of the image.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      6469a346
    • S
      cm_t335: Fix the U-Boot binary output · b8f91eb8
      Simon Glass 提交于
      Correct the binary output so that image_binary_size is really at the
      end of the image.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      b8f91eb8
    • S
      ti: am335x: Fix the U-Boot binary output · ad3cd07f
      Simon Glass 提交于
      This should include the hash so that image_binary_size is really at the
      end of the image, and not some 300 bytes earlier.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      ad3cd07f
    • J
      tools: include u-boot version of sha256.h · 18b06652
      Jeroen Hofstee 提交于
      When building tools the u-boot specific sha256.h is required, but the
      host version of sha256.h is used when present. This leads to build errors
      on FreeBSD which does have a system sha256.h include. Like libfdt_env.h
      explicitly include u-boot's sha256.h.
      
      cc: Simon Glass <sjg@chromium.org>
      Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      Acked-by: NSimon Glass <sjg@chromium.org>
      18b06652
    • J
      Makefile: fix clang warnings due to clang support · 9262233a
      Jeroen Hofstee 提交于
      Building u-boot tools with clang as a host compiler e.g. on
      FreeBSD with `gmake HOSTCC=clang CONFIG_USE_PRIVATE_LIBGCC=y tools`
      leads to many warnings [1] for every compiler invocation since
      commit 598e2d33. Part of mentioned commit imports linux patches:
      
       - kbuild: LLVMLinux: Adapt warnings for compilation with clang
       - kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
      
      No version of clang supports the gcc fno-delete-null-pointer-checks
      though, but it is only passed to clang. Gcc does not have the clang
      specific Qunused-arguments for the target. Furthermore several
      warnings are disabled which aren't encountered in u-boot. Since such
      a build has worked for quite some time and works after removing these
      changes, just remove the clang specific handling to restore normal
      building with clang as hostcc.
      
      [1] Actual warnings
      -------------------
        GEN     include/autoconf.mk.dep
      arm-freebsd-gcc: unrecognized option '-Qunused-arguments'
      
        HOSTCC  scripts/basic/fixdep
      clang: warning: argument unused during compilation:
                      '-fno-delete-null-pointer-checks'
      
      cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      9262233a
  2. 11 6月, 2014 8 次提交
  3. 10 6月, 2014 4 次提交
  4. 09 6月, 2014 3 次提交
  5. 08 6月, 2014 2 次提交
  6. 07 6月, 2014 14 次提交