1. 29 6月, 2013 1 次提交
  2. 26 6月, 2013 2 次提交
    • S
      image: Add RSA support for image signing · 19c402af
      Simon Glass 提交于
      RSA provides a public key encryption facility which is ideal for image
      signing and verification.
      
      Images are signed using a private key by mkimage. Then at run-time, the
      images are verified using a private key.
      
      This implementation uses openssl for the host part (mkimage). To avoid
      bringing large libraries into the U-Boot binary, the RSA public key
      is encoded using a simple numeric representation in the device tree.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      19c402af
    • S
      Add proftool to decode profile data · 6c887b2a
      Simon Glass 提交于
      This tool provides the facility to decode U-Boot trace data and write out
      a text file in Linux ftrace format for use with pytimechart.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      6c887b2a
  3. 22 6月, 2013 1 次提交
  4. 14 6月, 2013 1 次提交
  5. 03 6月, 2013 1 次提交
  6. 29 5月, 2013 1 次提交
  7. 06 5月, 2013 1 次提交
    • M
      arm: mxs: Preprocess u-boot.bd so they contain full path · 714dc001
      Marek Vasut 提交于
      The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise
      they have issues with out-of-tree build where elftosb tool couldn't sometimes
      find the u-boot.bin and spl/u-boot-spl.bin .
      
      Preprocess these .bd files with sed and insert full path to u-boot.bin and
      spl/u-boot-spl.bin to prevent this issue. Moreover, to avoid adding more
      churn into main Makefile, move all this preprocessing and u-boot.sb generation
      into CPU directory instead.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Acked-by: NOtavio Salvador <otavio@ossystems.com.br>
      714dc001
  8. 01 5月, 2013 1 次提交
    • S
      Trigger generic board error only when building · fada9e20
      Simon Glass 提交于
      At present the generic board error can occur when configuring U-Boot, or
      during distclean, but this is incorrect. The existing autoconf.mk may come
      from an earlier U-Boot configuration which is about to be overwritten.
      
      Make the error conditional so that it will only be triggered when we are
      actually building U-Boot.
      
      This avoids a problem where the system is being reconfigured to remove
      CONFIG_SYS_GENERIC_BOARD on an architecture that does not support it.
      Currently this will print an error and require the manual removal of
      include/autoconf.mk.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      fada9e20
  9. 22 4月, 2013 2 次提交
    • S
      imx: Move some i.MX common functions into the imx-common directory · 8870e459
      Stefan Roese 提交于
      This patch moves the following functions into the imx-common
      directory:
      
      - mxs_wait_mask_set()
      - mxs_wait_mask_clr()
      - mxs_reset_block()
      
      These are currently used by i.MX28. But the upcoming GPMI NAND port
      for i.MX6 will also use these functions. So lets move them to a
      common location to re-use them.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      8870e459
    • S
      Makefile: Add target for combined u-boot.img & spl/u-boot.bin · ecddccd0
      Stefan Roese 提交于
      This new make target "u-boot-img-spl-at-end.bin" consists of the
      the real, full-blown U-Boot image and the U-Boot SPL binary
      directly attached to it. The full-blown U-Boot image has the
      mkimage header included, with its load-address and entry-point.
      
      This will be used by the upcoming lwmon5 PPC440EPx derivate board
      port.
      Signed-off-by: NStefan Roese <sr@denx.de>
      ecddccd0
  10. 19 4月, 2013 1 次提交
  11. 15 4月, 2013 1 次提交
  12. 13 4月, 2013 1 次提交
  13. 12 4月, 2013 5 次提交
  14. 04 4月, 2013 1 次提交
  15. 03 4月, 2013 1 次提交
    • V
      build: Fix make errors generated when building 'distclean' · b343bbb5
      Vadim Bendebury 提交于
      It was noticed that when `make distclean' is run, the make process
      terminates with error reporting something like:
      
      rm: cannot remove '/tmp/foobar/': Is a directory
      make: *** [clobber] Error 1
      
      The problem is that the list of files targeted for removal includes a
      directory in case CONFIG_SPL_TARGET is not set.
      
      The fix has been tested as follows:
      
       Ran several times the following sequence of commands:
      
           CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar smdk5250_config
           CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar distclean
      
       it did not cause an error, it used to before this change.
      Signed-off-by: NVadim Bendebury <vbendeb@chromium.org>
      Acked-by: NSimon Glass <sjg@chromium.org>
      b343bbb5
  16. 29 3月, 2013 1 次提交
  17. 25 3月, 2013 1 次提交
  18. 13 3月, 2013 1 次提交
    • A
      Refactor linker-generated arrays · ef123c52
      Albert ARIBAUD 提交于
      Refactor linker-generated array code so that symbols
      which were previously linker-generated are now compiler-
      generated. This causes relocation records of type
      R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
      code which uses LGA able to run before relocation as
      well as after.
      
      Note: this affects more than ARM targets, as linker-
      lists span possibly all target architectures, notably
      PowerPC.
      
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
      	arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
      	arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
      	board/ait/cam_enc_4xx/u-boot-spl.lds
      	board/davinci/da8xxevm/u-boot-spl-da850evm.lds
      	board/davinci/da8xxevm/u-boot-spl-hawk.lds
      	board/vpac270/u-boot-spl.lds
      Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      ef123c52
  19. 05 3月, 2013 2 次提交
  20. 15 2月, 2013 1 次提交
  21. 13 2月, 2013 1 次提交
    • O
      build: imx: Fix 'u-boot.imx' build without full OBJTREE reference · 291b3dcd
      Otavio Salvador 提交于
      When calling 'make u-boot.imx' the build were failing as it were
      expecting the full path for the file; this regression has been
      included by commit 71a988aa (imximage.cfg: run files through C
      preprocessor).
      
      The direct references for u-boot.imx were replaced by $(obj) as
      config.mk handles the proper setting of it making it set to $(OBJTREE)
      when required.
      
      The build has been test using:
      
       - ./MAKEALL -s mx5 -s mx6
       - make u-boot.imx
       - make O=/tmp/build
      Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
      291b3dcd
  22. 22 1月, 2013 1 次提交
  23. 21 1月, 2013 1 次提交
  24. 17 1月, 2013 1 次提交
  25. 16 1月, 2013 1 次提交
  26. 11 1月, 2013 2 次提交
  27. 20 12月, 2012 1 次提交
  28. 15 12月, 2012 1 次提交
  29. 07 12月, 2012 1 次提交
  30. 06 12月, 2012 2 次提交
    • S
      Makefile: Add target for combined spl/u-boot.bin & u-boot.img · fb3d2b8a
      Stefan Roese 提交于
      This new make target "u-boot-img.bin" consists of the U-Boot
      SPL image with the real, full-blown U-Boot image directly
      attached to it. The full-blown U-Boot image has the mkimage
      header included, with its load-address and entry-point.
      
      This will be used by the upcoming a3m071 MPC5200 board port.
      Signed-off-by: NStefan Roese <sr@denx.de>
      fb3d2b8a
    • S
      Makefile: Add possibility to set entry-point for u-boot.img · b40bda6b
      Stefan Roese 提交于
      This patch enabled boards using the SPL framework to set
      an entry point in the U-Boot mkimage image "u-boot.img".
      Until now the entry point in the header has been set to 0.
      By setting CONFIG_SYS_UBOOT_START in the board header, boards
      can override this default location.
      
      This will be used by the upcoming a3m071 MPC5200 board port.
      Signed-off-by: NStefan Roese <sr@denx.de>
      b40bda6b
  31. 04 12月, 2012 1 次提交