1. 10 Jun, 2014 1 commit
  2. 05 Jun, 2014 3 commits
  3. 27 May, 2014 1 commit
  4. 25 May, 2014 1 commit
  5. 23 May, 2014 1 commit
  6. 15 May, 2014 1 commit
    • Masahiro Yamada's avatar
      build: support a new image u-boot-dtb.img · 2405d09c
      Masahiro Yamada authored
      In SPL framework, SPL uses u-boot.img to load u-boot.bin.
      Here,
          u-boot.img = uImage header + u-boot.bin
      
      To use OF control with a separate devicetree,
      u-boot.dtb must be placed right after u-boot.bin.
      In this case, u-boot-dtb.bin is generally used.
      Here,
          u-boot-dtb.bin = u-boot.bin + u-boot.dtb
      
      We need u-boot-dtb.img to use both SPL framework
      and separate OF control at the same time.
          u-boot-dtb.img = uImage header + u-boot-dtb.bin
      
      For example, Zynq boards already define all of
        - CONFIG_SPL
        - CONFIG_OF_CONTROL
        - CONFIG_OF_SEPARATE
      
      So, the support of u-boot-dtb.img is urgent.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      2405d09c
  7. 13 May, 2014 1 commit
    • Christian Riesch's avatar
      arm, davinci: Use CONFIG_SPL_PAD_TO for padding the SPL in an ais image · 532d5318
      Christian Riesch authored
      The commits
      
      commit b7b5f1a1
      Author: Albert ARIBAUD <albert.u.boot@aribaud.net>
      da850evm, da850_am18xxevm: convert to CONFIG_SPL_MAX_FOOTPRINT
      
      and
      
      commit e7497891
      Author: Albert ARIBAUD <albert.u.boot@aribaud.net>
      cam_enc_4xx: convert to CONFIG_SPL_MAX_FOOTPRINT
      
      replaced CONFIG_SPL_MAX_SIZE by CONFIG_SPL_MAX_FOOTPRINT. However,
      CONFIG_SPL_MAX_SIZE is used in the Makefile for padding the SPL
      when preparing an u-boot.ais image. By removing CONFIG_SPL_MAX_SIZE
      said commits broke the ais image of the da850evm and cam_enc_4xx
      configurations.
      
      This patch converts the u-boot.ais target to use CONFIG_SPL_PAD_TO
      instead of CONFIG_SPL_MAX_SIZE for padding the SPL and adds
      a #define CONFIG_SPL_PAD_TO where it is required.
      Signed-off-by: default avatarChristian Riesch <christian.riesch@omicron.at>
      Reported-by: default avatarTom Taylor <ttaylor.tampa@gmail.com>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      532d5318
  8. 12 May, 2014 3 commits
  9. 23 Apr, 2014 2 commits
    • Masahiro Yamada's avatar
      Revert "build: Use filechk rules to create and update u-boot.lds" · 794d5f55
      Masahiro Yamada authored
      This reverts commit a8b993eb.
      
      Commit a8b993eb claims it fixes u-boot.lds rule by replacing
      $(call if_changed) with $(call filechk).
      
      But the problem had already been fixed by commit 395e60cd
      a few days before commit a8b993eb was posted.
      
      There is no reason to apply commit a8b993eb. What is worse is
      $(call filechk) is too strong to fix the problem and looks weird.
      
      Date of the two patches:
      
      [1] commit 395e60cd
          Author:     Masahiro Yamada <yamada.m@jp.panasonic.com>
          AuthorDate: Wed Apr 9 20:10:43 2014 +0900
          Commit:     Tom Rini <trini@ti.com>
          CommitDate: Fri Apr 11 10:08:42 2014 -0400
      replaces $(call if_changed) -> $(call if_changed_dep)
      
      [2] commit a8b993eb
          Author:     Jon Loeliger <jon.loeliger@oracle.com>
          AuthorDate: Tue Apr 15 16:09:37 2014 -0500
          Commit:     Tom Rini <trini@ti.com>
          CommitDate: Fri Apr 18 16:14:16 2014 -0400
      replaces $(call if_changed) -> $(call filechk)
      
      A conflict must have happened when applying [2], but somehow it was
      applied, sadly.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Jon Loeliger <jon.loeliger@oracle.com>
      Cc: Andreas Bießmann <andreas.devel@googlemail.com>
      Cc: Tom Rini <trini@ti.com>
      794d5f55
    • Prabhakar Kushwaha's avatar
      Makefile: Add support of CONFIG_SPL_FSL_PBL · 89ad7be8
      Prabhakar Kushwaha authored
      Objective of this target to have concatenate binary having
       - SPL binary in PBL command format
       - U-boot binary
      Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
      Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
      89ad7be8
  10. 18 Apr, 2014 3 commits
    • Jon Loeliger's avatar
      build: Use filechk rules to create and update u-boot.lds · a8b993eb
      Jon Loeliger authored
      Prior to this patch, the top-level linker script u-boot.lds
      used a simple $(call if_changed) check when generated.
      That mechanism misses cases where a possible include file
      change induces a change in the u-boot.lds too.
      
      This patch converts it to a stronger check using ($call filechk)
      that will also notice differences in file contents and
      will catch changes due to pre-processing as well.
      Signed-off-by: default avatarJon Loeliger <jon.loeliger@oracle.com>
      a8b993eb
    • Masahiro Yamada's avatar
      kbuild: add user-supplied CPPFLAGS, AFLAGS and CFLAGS · 0e6256d0
      Masahiro Yamada authored
      Like Linux Kernel, this commit provides environment variables
      KCPPFLAGS, KAFLAGS and KCFLAGS, which are useful to pass
      additional options.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      0e6256d0
    • Masahiro Yamada's avatar
      kbuild: sync with Linux Kernel v3.15-rc1 · 598e2d33
      Masahiro Yamada authored
      This commit imports Kbuild-related updates
      from v3.14 to v3.15-rc1.
      
       - commit 3d3d6b8474204b6819688c9800774d52d370a538
          kbuild: LLVMLinux: Adapt warnings for compilation with clang
       - commit 61163efae02040f66a95c8ed17f4407951ba58fa
          kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
       - commit 79192ca8ebd9a25c583aa46024a250fef1e7766f
          scripts: objdiff: detect object code changes between two commits
       - commit 1c9e70a55b088d97a59241744fe459409d0c3582
          kbuild: create a build directory automatically for out-of-tree build
       - commit a03fcb50e816a69acffb13b5e56db75063aeba8a
          kbuild: remove redundant '.*.cmd' pattern from make distclean
       - commit 13338935f1574a2dcd1c891461b0dcc42f8cff42
          kbuild: move "quote" to Kbuild.include to be consistent
       - commit bfdfaeae500a3b194b73b01e92a8034791a58b7f
          kbuild: specify build_docproc as a phony target
       - commit f4d4ffc03efc864645b990e1d579bbe1b8e358a4
          kbuild: dtbs_install: new make target
       - commit 1e64ff42ea3d8d2fc8aa71f9717b3c1cb6c2f893
          Kbuild, lto: Disable LTO for asm-offsets.c
       - commit ccbef1674a1579842c7dbdf554efca85d2cd245a
          Kbuild, lto: add ld-version and ld-ifversion macros
       - commit ae63b2d7bdd9bd66b88843be0daf8e37d8f0b574
          scripts/tags.sh: Ignore *.mod.c
       - commit e36aaea28972c57a32a3ba5365e61633739719b9
          kbuild: Fix silent builds with make-4
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      598e2d33
  11. 17 Apr, 2014 1 commit
  12. 14 Apr, 2014 1 commit
  13. 11 Apr, 2014 1 commit
  14. 04 Apr, 2014 2 commits
    • Marek Vasut's avatar
      arm: mxs: Add support for generating signed BootStream · 1a9df13d
      Marek Vasut authored
      This patch adds the groundwork for generating signed BootStream, which
      can be used by the HAB library in i.MX28. We are adding a new target,
      u-boot-signed.sb , since the process for generating regular non-signed
      BootStream is much easier. Moreover, the signed bootstream depends on
      external _proprietary_ _binary-only_ tool from Freescale called 'cst',
      which is available only under NDA.
      
      To make things even uglier, the CST or HAB mandates a kind-of circular
      dependency. The problem is, unlike the regular IVT, which is generated
      by mxsimage, the IVT for signed boot must be generated by hand here due
      to special demands of the CST. The U-Boot binary (or SPL binary) and IVT
      are then signed by the CST as a one block. But here is the problem. The
      size of the entire image (U-Boot, IVT, CST blocks) must be appended at
      the end of IVT. But the size of the entire image is not known until the
      CST has finished signing the U-Boot and IVT. We solve this by expecting
      the CST block to be always 3904B (which it is in case two files, U-Boot
      and the hand-made IVT, are signed in the CST block).
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      1a9df13d
    • Stefano Babic's avatar
      Revert "arm: mxs: Add support for generating signed BootStream" · 5dd73bc0
      Stefano Babic authored
      This reverts commit 53e6b14e.
      
      Patch does not merge anymore with u-boot-arm and must be rebased.
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      5dd73bc0
  15. 02 Apr, 2014 1 commit
  16. 31 Mar, 2014 3 commits
    • Tom Rini's avatar
      Prepare v2014.04-rc3 · c494eaf4
      Tom Rini authored
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      c494eaf4
    • Marek Vasut's avatar
      arm: mxs: Add support for generating signed BootStream · 53e6b14e
      Marek Vasut authored
      This patch adds the groundwork for generating signed BootStream, which
      can be used by the HAB library in i.MX28. We are adding a new target,
      u-boot-signed.sb , since the process for generating regular non-signed
      BootStream is much easier. Moreover, the signed bootstream depends on
      external _proprietary_ _binary-only_ tool from Freescale called 'cst',
      which is available only under NDA.
      
      To make things even uglier, the CST or HAB mandates a kind-of circular
      dependency. The problem is, unlike the regular IVT, which is generated
      by mxsimage, the IVT for signed boot must be generated by hand here due
      to special demands of the CST. The U-Boot binary (or SPL binary) and IVT
      are then signed by the CST as a one block. But here is the problem. The
      size of the entire image (U-Boot, IVT, CST blocks) must be appended at
      the end of IVT. But the size of the entire image is not known until the
      CST has finished signing the U-Boot and IVT. We solve this by expecting
      the CST block to be always 3904B (which it is in case two files, U-Boot
      and the hand-made IVT, are signed in the CST block).
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      53e6b14e
    • Masahiro Yamada's avatar
      Kbuild: allow building tools without board configuration · 4642e002
      Masahiro Yamada authored
      Prior to Kbuild, U-Boot could build under tools/ directory
      withour configuring for a specific board.
      
      That feature was lost when switching to Kbuild.
      
      This patch revives it again by adding a make target "tools-only".
      
      Usage:
        $ make tools-only
      
      Neither board configuration nor cross compiler are required to
      build host tools.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: default avatarAlexey Brodkin <Alexey.Brodkin@synopsys.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@ti.com>
      Acked-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      4642e002
  17. 28 Mar, 2014 3 commits
  18. 12 Mar, 2014 9 commits
  19. 10 Mar, 2014 2 commits