1. 21 Mar, 2014 2 commits
    • Heiko Schocher's avatar
      tools, fit_check_sign: verify a signed fit image · 29a23f9d
      Heiko Schocher authored
      add host tool "fit_check_sign" which verifies, if a fit image is
      signed correct.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
    • Heiko Schocher's avatar
      rsa: add sha256-rsa2048 algorithm · 646257d1
      Heiko Schocher authored
      based on patch from andreas@oetken.name:
      commit message:
      I currently need support for rsa-sha256 signatures in u-boot and found out that
      the code for signatures is not very generic. Thus adding of different
      hash-algorithms for rsa-signatures is not easy to do without copy-pasting the
      rsa-code. I attached a patch for how I think it could be better and included
      support for rsa-sha256. This is a fast first shot.
      aditionally work:
      - removed checkpatch warnings
      - removed compiler warnings
      - rebased against current head
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: andreas@oetken.name
      Cc: Simon Glass <sjg@chromium.org>
  2. 18 Mar, 2014 1 commit
  3. 12 Mar, 2014 3 commits
    • Masahiro Yamada's avatar
      kbuild: rename TOPDIR to stctree · 4379ac61
      Masahiro Yamada authored
      Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for
      pointing to the top of source directory.
      (No difference between the two.)
      In Kbuild style, $(srctree) is used instead.
      This commit renames TOPDIR to srctree and delete the
      defition of TOPDIR.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
    • Masahiro Yamada's avatar
      kirkwood: kwbimage: refactor CONFIG_SYS_KWD_CONFIG · 4ab3fc5e
      Masahiro Yamada authored
      Pull out "$(SRCTREE)/" from CONFIG_SYS_KWD_CONFIG
      and push it into the top Makefile.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Michael Walle <michael@walle.cc>
      Cc: Simon Guinot <simon.guinot@sequanux.org>
      Cc: Dave Purdy <david.c.purdy@gmail.com>
      Cc: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
      Cc: Luka Perkov <luka@openwrt.org>
      Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
      Cc: Jason Cooper <u-boot@lakedaemon.net>
      Cc: Siddarth Gore <gores@marvell.com>
      Cc: Prafulla Wadaskar <prafulla@marvell.com>
      Cc: Eric Cooper <ecc@cmu.edu>
      Cc: Suriyan Ramasami <suriyan.r@gmail.com>
    • Gerhard Sittig's avatar
      usb: net: update README.usb to list all USB ethernet options · dd11acaa
      Gerhard Sittig authored
      - extend the discussion of USB network related config options such that
        all available adapter drivers are listed, and that the 'usb' command
        for the interactive prompt and scripting becomes available
      - suggest to *not* put individual IP configuration parameters into the
        exectuable, but instead to put them into external environment or fetch
        them from network
      Signed-off-by: default avatarGerhard Sittig <gsi@denx.de>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
  4. 10 Mar, 2014 1 commit
    • Masahiro Yamada's avatar
      m68k: Remove M5271EVB and idmr board support · ba650e9b
      Masahiro Yamada authored
      CONFIG_SYS_HZ must be always 1000, but M5271EVB.h defines it
      as 1000000 and idmr.h defines it as (50000000 / 64).
      When compiling these two boards, a warning message is displayed:
        time.c:14:2: warning: #warning "CONFIG_SYS_HZ must be 1000
        and should not be defined by platforms" [-Wcpp]
      There are no board maintainers for them so this commit just
      deletes them.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Jason Jin <Jason.jin@freescale.com>
  5. 04 Mar, 2014 3 commits
  6. 26 Feb, 2014 1 commit
    • Tom Rini's avatar
      arm: Switch to -mno-unaligned-access when supported by the compiler · 1551df35
      Tom Rini authored
      When we tell the compiler to optimize for ARMv7 (and ARMv6 for that
      matter) it assumes a default of SCTRL.A being cleared and unaligned
      accesses being allowed and fast at the hardware level.  We set this bit
      and must pass along -mno-unaligned-access so that the compiler will
      still breakdown accesses and not trigger a data abort.
      To better help understand the requirements of the project with respect
      to unaligned memory access, the
      Documentation/unaligned-memory-access.txt file has been added as
      doc/README.unaligned-memory-access.txt and is taken from the v3.14-rc1
      tag of the kernel.
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Mans Rullgard <mans@mansr.com>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
  7. 25 Feb, 2014 1 commit
    • Masahiro Yamada's avatar
      kbuild: consolidate version and timestamp headers generation · 7424145f
      Masahiro Yamada authored
      - Generate include/generated/{timestamp.h, version.h}
         more simply by using filechk rule.
       - Add $(UBOOTRELEASE) variable and re-write u-boot.imx rule
         more simply.
       - Rename U_BOOT_VERSION in Makefile to UBOOTVERSION
         Before this commit, the same variable name, "U_BOOT_VERSION"
         was used for two different strings.
         One of them was defined in Makefile.
         It takes the form like "2014.01-rc1" and used in
         makefiles and script files.
         The other is defined in include/generated/version.h
         It takes the form like "U-Boot 2014.01-rc1-00010-gbe6d4266-dirty"
         and used in C and Aseembler.
         It is confusing when grepping the source tree. So, this commit
         renames the former to UBOOTVERSION.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
  8. 19 Feb, 2014 5 commits
    • Masahiro Yamada's avatar
      kernel-doc: fix some errors · babb4440
      Masahiro Yamada authored
      - Delete fs.xml from DOCBOOKS to fix an error.
           Commit e3ff797c added fs.xml to DOCBOOKS
           but missed to add doc/DocBook/fs.tmpl.
        - Fix the location of include guard in include/linker_lists.h.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Reported-by: default avatarAbraham Varricatt <abraham.varricatt@vvdntech.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
    • Masahiro Yamada's avatar
    • Masahiro Yamada's avatar
      kernel-doc: move kernel-doc tools to scripts/ · 8fac9c7b
      Masahiro Yamada authored
      tools/kernel-doc/docproc.c and tools/kernel-doc/kernel-doc are
      files imported from Linux Kernel.
      They originally resided under scripts/ directory in Linux Kernel.
      This commit moves them to the original location.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
    • Masahiro Yamada's avatar
      kbuild: use Linux Kernel build scripts · 6825a95b
      Masahiro Yamada authored
      Now we are ready to switch over to real Kbuild.
      This commit disables temporary scripts:
        scripts/{Makefile.build.tmp, Makefile.host.tmp}
      and enables real Kbuild scripts:
      This switch is triggered by the line in scripts/Kbuild.include
        -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
        +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
      We need to adjust some build scripts for U-Boot.
      But smaller amount of modification is preferable.
      Additionally, we need to fix compiler flags which are
      locally added or removed.
      In Kbuild, it is not allowed to change CFLAGS locally.
      Instead, ccflags-y, asflags-y, cppflags-y,
      CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
      are prepared for that purpose.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
    • Masahiro Yamada's avatar
      kbuild: change out-of-tree build · 9e414032
      Masahiro Yamada authored
      This commit changes the working directory
      where the build process occurs.
      Before this commit, build process occurred under the source
      tree for both in-tree and out-of-tree build.
      That's why we needed to add $(obj) prefix to all generated
      files in makefiles like follows:
        $(obj)u-boot.bin:  $(obj)u-boot
      Here, $(obj) is empty for in-tree build, whereas it points
      to the output directory for out-of-tree build.
      And our old build system changes the current working directory
      with "make -C <sub-dir>" syntax when descending into the
      On the other hand, Kbuild uses a different idea
      to handle out-of-tree build and directory descending.
      The build process of Kbuild always occurs under the output tree.
      When "O=dir/to/store/output/files" is given, the build system
      changes the current working directory to that directory and
      restarts the make.
      Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
      syntax for descending into sub-directories.
      (We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
      This means the current working directory is always the top
      of the output directory.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
  9. 18 Feb, 2014 1 commit
  10. 07 Feb, 2014 2 commits
    • Alexey Brodkin's avatar
      net/designware - switch driver to phylib usage · 92a190aa
      Alexey Brodkin authored
      With this change driver will benefit from existing phylib and thus
      custom phy functionality implemented in the driver will go away:
       * Instantiation of the driver is now much shorter - 2 parameters
      instead of 4.
       * Simplified phy management/functoinality in driver is replaced with
      rich functionality of phylib.
       * Support of custom phy initialization is now done with existing
      Note that after this change some previously used config options
      (driver-specific PHY configuration) will be obsolete and they are simply
      substituted with similar options of phylib.
      For example:
       * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
      by default.
       * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
      explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
      automatically the first discovered on MDIO bus phy will be used
      I believe there's no need now in "doc/README.designware_eth" because
      user only needs to instantiate the driver with "designware_initialize"
      whose prototype exists in "include/netdev.h".
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Vipin Kumar <vipin.kumar@st.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mischa Jonker <mjonker@synopsys.com>
      Cc: Shiraz Hashim <shiraz.hashim@st.com>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Amit Virdi <amit.virdi@st.com>
      Cc: Sonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    • Alexey Brodkin's avatar
      arc: add README for architecture · bde23736
      Alexey Brodkin authored
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Francois Bedard <fbedard@synopsys.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
  11. 06 Feb, 2014 7 commits
  12. 03 Feb, 2014 1 commit
  13. 24 Jan, 2014 1 commit
  14. 21 Jan, 2014 2 commits
  15. 17 Jan, 2014 1 commit
  16. 14 Jan, 2014 2 commits
  17. 12 Jan, 2014 3 commits
  18. 11 Jan, 2014 1 commit
  19. 10 Jan, 2014 2 commits