1. 25 3月, 2013 1 次提交
  2. 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
  3. 05 3月, 2013 2 次提交
  4. 15 2月, 2013 1 次提交
  5. 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
  6. 22 1月, 2013 1 次提交
  7. 21 1月, 2013 1 次提交
  8. 17 1月, 2013 1 次提交
  9. 16 1月, 2013 1 次提交
  10. 11 1月, 2013 2 次提交
  11. 20 12月, 2012 1 次提交
  12. 15 12月, 2012 1 次提交
  13. 07 12月, 2012 1 次提交
  14. 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
  15. 04 12月, 2012 1 次提交
  16. 29 11月, 2012 1 次提交
  17. 27 11月, 2012 4 次提交
  18. 20 11月, 2012 1 次提交
    • I
      musb-new: port of Linux musb driver · eb81955b
      Ilya Yanok 提交于
      Existing U-Boot musb driver has no support for the new gadget framework
      and also seems to have other limitations. As gadget framework is ported
      from Linux it seems pretty natural to port musb gadget driver as well.
      
      This driver supports both host and peripheral modes.
      
      This is not a replacement for current musb driver (at least now) as
      there are still some consumers of the old UDC interface.
      
      No DMA operation support included, CONFIG_MUSB_PIO_ONLY should be
      defined.
      
      Virtual root hub device is not implemented.
      
      Known problems: with no devices connected usb_lowlevel_start() fails.
      Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com>
      eb81955b
  19. 15 11月, 2012 1 次提交
  20. 14 11月, 2012 4 次提交
  21. 05 11月, 2012 2 次提交
  22. 30 10月, 2012 2 次提交
  23. 27 10月, 2012 1 次提交
  24. 26 10月, 2012 1 次提交
  25. 22 10月, 2012 3 次提交
    • G
      fs: Add a Coreboot Filesystem (CBFS) driver and commands · 84cd9327
      Gabe Black 提交于
      This change adds CBFS support and some commands to use it to u-boot. These
      commands are:
      
      cbfsinit - Initialize CBFS support and pull all metadata into RAM. The end of
      the ROM is an optional parameter which defaults to the standard 0xffffffff and
      can be used to support multiple CBFSes in a system. The last one set up with
      cbfsinit is the one that will be used.
      
      cbfsinfo - Print information from the CBFS header.
      
      cbfsls - Print out the size, type, and name of all the files in the current
      CBFS. Recognized types are translated into symbolic names.
      
      cbfsload - Load a file from CBFS into memory. Like the similar command for fat
      filesystems, you can optionally provide a maximum size.
      
      Support for CBFS is compiled in when the CONFIG_CMD_CBFS option is specified.
      
      The CBFS driver can also be used programmatically from within u-boot.
      
      If u-boot needs something out of CBFS very early before the heap is
      configured, it won't be able to use the normal CBFS support which caches some
      information in memory it allocates from the heap. The
      cbfs_file_find_uncached function searches a CBFS instance without touching
      the heap.
      Signed-off-by: NGabe Black <gabeblack@google.com>
      Signed-off-by: NStefan Reinauer <reinauer@chromium.org>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      84cd9327
    • M
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut 提交于
      The command declaration now uses the new LG-array method to generate
      list of commands. Thus the __u_boot_cmd section is now superseded and
      redundant and therefore can be removed. Also, remove externed symbols
      associated with this section from include/command.h .
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      8b493a52
    • M
      common: Add symbol handling for generic lists into Makefile · 97b24d3d
      Marek Vasut 提交于
      This patch adds essential components for generation of the contents of
      the linker section that is used by the linker-generated array. All of
      the contents is held in a separate file, u-boot.lst, which is generated
      at runtime just before U-Boot is linked.
      
      The purpose of this code is to especially generate the appropriate
      boundary symbols around each subsection in the section carrying the
      linker-generated arrays. Obviously, the interim linker code for actual
      placement of the variables into the section is generated too. The
      generated file, u-boot.lst, is included into u-boot.lds via the linker
      INCLUDE directive in u-boot.lds .
      
      Adjustments are made in the Makefile and spl/Makefile so that the
      u-boot.lds and u-boot-spl.lds depend on their respective .lst files.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      Tested-by: NJoe Hershberger <joe.hershberger@ni.com>
      97b24d3d
  26. 16 10月, 2012 2 次提交
    • M
      kerneldoc: Implant DocBook from Linux kernel · 30ff8918
      Marek Vasut 提交于
      Pull slightly modified version of Documentation/DocBook, the related perl
      script scripts/kernel-doc and the scripts/docproc.c from Linux kernel and
      implant it into U-Boot. This will allow smooth generation of kerneldoc
      style documentation.
      
      It was necessary to modify the DocBook/Makefile to work with U-Boot build
      system. The changes were only minor though and involved replacing the kbuild
      specific parts.
      
      It was also necessary to replace use of variables like KERNEL_VERSION with
      U_BOOT_VERSION, strings like Linux kernel with U-Boot Bootloader etc. so
      the generated result actually matches.
      
      Finally, it was necessary to adjust docproc.c, since the documentation in
      U-Boot is located in doc/DocBook instead of Documentation/DocBook as is in
      case of the Linux kernel.
      
      Some parts of the DocBook Makefile are unused, but to allow easier sync with
      Linux kernel, these parts are still left in. The targets enabled now are
      "htmldocs" "pdfdocs" "psdocs" "xmldocs" and "cleandocs" to remove the results
      of documentation build.
      
      Linux scripts/docproc.c:
      commit f0f3ca8d967462dafb815412b14ca3339b9817a6
      Date:   Wed Jun 15 11:53:13 2011 +0200
      
      Linux scripts/kernel-doc:
      commit 1b40c1944db445c1de1c47ffd8cd426167f488e8
      Date:   Sun Aug 12 10:46:15 2012 +0200
      
      Linux Documentation/DocBook:
      commit bb8187d35f820671d6dd76700d77a6b55f95e2c5
      Date:   Thu May 17 19:06:13 2012 -0400
      Signed-off-by: NMarek Vasut <marex@denx.de>
      30ff8918
    • T
      Tegra20: Move some code files to common directories for upcoming Tegra30 patches. · 3064f322
      Tom Warren 提交于
      Move files that are going to be common between T20 and T30 into 'tegra-common'
      subdirs in AVP (arm720t), CPU (armv7), and shared (arch/arm/cpu/.) areas. Any
      files that are left behind in '/tegra20' will be copied to '/tegra30' subdirs
      and modified for that SoC. The 'common' files should need only minor changes.
      
      Include files (arch/arm/include/asm/arch-tegra/tegra20) will be done in a
      follow-on patch.
      
      Builds fine w/MAKEALL -s tegra20. Checkpatch.pl is clean.
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      3064f322