1. 22 1月, 2014 1 次提交
  2. 13 1月, 2014 1 次提交
  3. 03 1月, 2014 2 次提交
    • P
      powerpc/mpc85xx: Add support for single source clocking · b135991a
      Priyanka Jain 提交于
      Single-source clocking is new feature introduced in T1040.
      In this mode, a single differential clock is supplied to the
      DIFF_SYSCLK_P/N inputs to the processor, which in turn is
      used to supply clocks to the sysclock, ddrclock and usbclock.
      
      So, both ddrclock and syclock are driven by same differential
      sysclock in single-source clocking mode whereas in normal clocking
      mode, generally separate DDRCLK and SYSCLK pins provides
      reference clock for sysclock and ddrclock
      
      DDR_REFCLK_SEL rcw bit is used to determine DDR clock source
      -If DDR_REFCLK_SEL rcw bit is 0, then DDR PLLs are driven in
       normal clocking mode by DDR_Reference clock
      
      -If DDR_REFCLK_SEL rcw bit is 1, then DDR PLLs are driven in
       single source clocking mode by DIFF_SYSCLK
      
      Add code to determine ddrclock based on DDR_REFCLK_SEL rcw bit.
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      b135991a
    • P
      board/freescale:Remove use of CONFIG_SPL_NAND_MINIMAL · fbe76ae4
      Prabhakar Kushwaha 提交于
      CONFIG_SPL_NAND_MINIMAL should not be used as it was defined for temporary
      review purpose.
      
      So, use CONFIG_SPL_NAND_BOOT config.
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      fbe76ae4
  4. 13 12月, 2013 1 次提交
    • G
      Add dumpimage, a tool to extract data from U-Boot images · a804b5ce
      Guilherme Maciel Ferreira 提交于
      Given a multi-file image created through the mkimage's -d option:
      
        $ mkimage -A x86 -O linux -T multi -n x86 -d vmlinuz:initrd.img:System.map \
        multi.img
      
        Image Name:   x86
        Created:      Thu Jul 25 10:29:13 2013
        Image Type:   Intel x86 Linux Multi-File Image (gzip compressed)
        Data Size:    13722956 Bytes = 13401.32 kB = 13.09 MB
        Load Address: 00000000
        Entry Point:  00000000
        Contents:
           Image 0: 4040128 Bytes = 3945.44 kB = 3.85 MB
           Image 1: 7991719 Bytes = 7804.41 kB = 7.62 MB
           Image 2: 1691092 Bytes = 1651.46 kB = 1.61 MB
      
      It is possible to perform the innverse operation -- extracting any file from
      the image -- by using the dumpimage's -i option:
      
        $ dumpimage -i multi.img -p 2 System.map
      
      Although it's feasible to retrieve "data files" from image through scripting,
      the requirement to embed tools such 'dd', 'awk' and 'sed' for this sole purpose
      is cumbersome and unreliable -- once you must keep track of file sizes inside
      the image. Furthermore, extracting data files using "dumpimage" tool is faster
      than through scripting.
      Signed-off-by: NGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a804b5ce
  5. 06 12月, 2013 1 次提交
  6. 26 11月, 2013 2 次提交
  7. 25 11月, 2013 2 次提交
  8. 13 11月, 2013 3 次提交
  9. 12 11月, 2013 2 次提交
    • H
      arm, am33x: make RTC32K OSC enable configurable · 16678eb4
      Heiko Schocher 提交于
      As
      http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast
      states:
      "Initialize devices only when they are needed within U-Boot"
      
      enable the RTC32K OSC only, if CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC is
      enabled. Enable this in ti_am335x_common.h, so all boards in mainline
      should work as before.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Tom Rini <trini@ti.com>
      16678eb4
    • H
      bootcount: store bootcount var in environment · eda0ba38
      Heiko Schocher 提交于
      If no softreset save registers are found on the hardware
      "bootcount" is stored in the environment. To prevent a
      saveenv on all reboots, the environment variable
      "upgrade_available" is introduced. If "upgrade_available" is
      0, "bootcount" is always 0 therefore no need to save the
      environment on u-boot boot, if "upgrade_available" is 1 "bootcount"
      is incremented in the environment and environment gets written
      on u-boot start.
      So the Userspace Applikation must set the "upgrade_available"
      and "bootcount" variable to 0 (for example with fw_setenv),
      if a boot was successfully.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      eda0ba38
  10. 09 11月, 2013 1 次提交
  11. 08 11月, 2013 2 次提交
    • I
      README: remove wrong config name · 39d9abfa
      Igor Grinberg 提交于
      There is no CONFIG_PCA953X_INFO symbol.
      U-Boot uses CONFIG_CMD_PCA953X_INFO instead, which is described in
      "Monitor Functions" section and thus no need to be repeated in the
      "GPIO Support" section.
      Remove the whole line.
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      39d9abfa
    • A
      cmd_nvedit.c: Add env exists command · 88733e2c
      Andrew Ruder 提交于
      env exists is a way to test (in hush) if an environment variable
      exists.  A workaround existed using printenv but this new command
      doesn't require all the stdout/stderr redirection to prevent
      printing information to the screen.
      
      Example:
      $ set testexists 1
      $ env exists testexists && echo "yes"
      yes
      $ env exists testexists || echo "no"
      $ set testexists
      $ env exists testexists && echo "yes"
      $ env exists testexists || echo "no"
      no
      $
      Signed-off-by: NAndrew Ruder <andrew.ruder@elecsyscorp.com>
      88733e2c
  12. 30 10月, 2013 1 次提交
  13. 17 10月, 2013 3 次提交
  14. 15 10月, 2013 1 次提交
  15. 08 10月, 2013 1 次提交
  16. 24 9月, 2013 2 次提交
    • A
      dfu: ram support · a9479f04
      Afzal Mohammed 提交于
      DFU spec mentions it as a method to upgrade firmware (software stored
      in writable non-volatile memory). It also says other potential uses of
      DFU is beyond scope of the spec.
      
      Here such a beyond the scope use is being attempted - directly pumping
      binary images from host via USB to RAM. This facility is a developer
      centric one in that it gives advantage over upgrading non-volatile
      memory for testing new images every time during development and/or
      testing.
      
      Directly putting image onto RAM would speed up upgrade process. This and
      convenience was the initial thoughts that led to doing this, speed
      improvement over MMC was only 1 second though - 6 sec on RAM as opposed
      to 7 sec on MMC in beagle bone, perhaps enabling cache and/or optimizing
      DFU framework to avoid multiple copy for ram (if worth) may help, and
      on other platforms and other boot media like NAND maybe improvement
      would be higher.
      
      And for a platform that doesn't yet have proper DFU suppport for
      non-volatile media's, DFU to RAM can be used.
      
      Another minor advantage would be to increase life of mmc/nand as it
      would be less used during development/testing.
      
      usage: <image name> ram <start address> <size>
      eg. kernel ram 0x81000000 0x1000000
      
      Downloading images to RAM using DFU is not something new, this is
      acheived in openmoko also.
      
      DFU on RAM can be used for extracting RAM contents to host using dfu
      upload. Perhaps this can be extended to io for squeezing out register
      dump through usb, if it is worth.
      Signed-off-by: NAfzal Mohammed <afzal.mohd.ma@gmail.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Gerhard Sittig <gsi@denx.de>
      Acked-by: NMarek Vasut <marex@denx.de>
      Acked-by: NLukasz Majewski <l.majewski@samsung.com>
      Acked-by: NHeiko Schocher <hs@denx.de>
      a9479f04
    • J
      README: update ARM register usage · 12eba1b4
      Jeroen Hofstee 提交于
      Besides the change of this patchset it also updates the
      README to reflect that GOT-generated relocations are no
      longer supported on ARM.
      
      cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      12eba1b4
  17. 20 9月, 2013 2 次提交
  18. 19 9月, 2013 1 次提交
  19. 12 9月, 2013 1 次提交
  20. 04 9月, 2013 1 次提交
  21. 21 8月, 2013 3 次提交
  22. 17 8月, 2013 1 次提交
    • S
      RFC: bootm: Add silent_linux environment variable · 8d51aacd
      Simon Glass 提交于
      At present the console for linux is silent if the U-Boot console is silent,
      unless CONFIG_SILENT_U_BOOT_ONLY is set. I wonder if a better way would be
      to have an environment variable to control this? Then we can control the
      verbosity from scripts, and set the variable to 'no' for those boards that
      want Linux to boot with console output.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      8d51aacd
  23. 10 8月, 2013 2 次提交
  24. 27 7月, 2013 1 次提交
  25. 24 7月, 2013 1 次提交
    • W
      Licenses: introduce SPDX Unique Lincense Identifiers · eca3aeb3
      Wolfgang Denk 提交于
      Like many other projects, U-Boot has a tradition of including big
      blocks of License headers in all files.  This not only blows up the
      source code with mostly redundant information, but also makes it very
      difficult to generate License Clearing Reports.  An additional problem
      is that even the same lincenses are referred to by a number of
      slightly varying text blocks (full, abbreviated, different
      indentation, line wrapping and/or white space, with obsolete address
      information, ...) which makes automatic processing a nightmare.
      
      To make this easier, such license headers in the source files will be
      replaced with a single line reference to Unique Lincense Identifiers
      as defined by the Linux Foundation's SPDX project [1].  For example,
      in a source file the full "GPL v2.0 or later" header text will be
      replaced by a single line:
      
              SPDX-License-Identifier:        GPL-2.0+
      
      We use the SPDX Unique Lincense Identifiers here; these are available
      at [2].
      
      Note: From the legal point of view, this patch is supposed to be only
      a change to the textual representation of the license information,
      but in no way any change to the actual license terms. With this patch
      applied, all files will still be licensed under the same terms they
      were before.
      
      Note 2: The apparent difference between the old "COPYING" and the new
      "Licenses/gpl-2.0.txt" only results from switching to the upstream
      version of the license which is differently formatted; there are not
      any actual changes to the content.
      
      Note 3: There are some recurring questions about linense issues, such
      as:
          - Is a "All Rights Reserved" clause a problem in GPL code?
          - Are files without any license header a problem?
          - Do we need license headers at all?
      
      The following excerpt from an e-mail by Daniel B. Ravicher should help
      with these:
      
      | Message-ID: <4ADF8CAA.5030808@softwarefreedom.org>
      | Date: Wed, 21 Oct 2009 18:35:22 -0400
      | From: "Daniel B. Ravicher" <ravicher@softwarefreedom.org>
      | To: Wolfgang Denk <wd@denx.de>
      | Subject: Re: GPL and license cleanup questions
      |
      | Mr. Denk,
      |
      | Wolfgang Denk wrote:
      | > - There are a number of files which do not include any specific
      | > license information at all. Is it correct to assume that these files
      | > are automatically covered by the "GPL v2 or later" clause as
      | > specified by the COPYING file in the top level directory of the
      | > U-Boot source tree?
      |
      | That is a very fact specific analysis and could be different across the
      | various files.  However, if the contributor could reasonably be expected
      | to have known that the project was licensed GPLv2 or later at the time
      | she made her contribution, then a reasonably implication is that she
      | consented to her contributions being distributed under those terms.
      |
      | > - Do such files need any clean up, for example should we add GPL
      | > headers to them, or is this not needed?
      |
      | If the project as a whole is licensed under clear terms, you need not
      | identify those same terms in each file, although there is no harm in
      | doing so.
      |
      | > - There are other files, which include both a GPL license header
      | > _plus_ some copyright note with an "All Rights Reserved" clause. It
      | > has been my understanding that this is a conflict, and me must ask
      | > the copyright holders to remove such "All Rights Reserved" clauses.
      | > But then, some people claim that "All Rights Reserved" is a no-op
      | > nowadays. License checking tools (like OSLC) seem to indicate this is
      | > a problem, but then we see quite a lot of "All rights reserved" in
      | > BSD-licensed files in gcc and glibc. So what is the correct way to
      | > deal with such files?
      |
      | It is not a conflict to grant a license and also reserve all rights, as
      | implicit in that language is that you are reserving all "other" rights
      | not granted in the license.  Thus, a file with "Licensed under GPL, All
      | Rights Reserved" would mean that it is licensed under the GPL, but no
      | other rights are given to copy, modify or redistribute it.
      |
      | Warm regards,
      | --Dan
      |
      | Daniel B. Ravicher, Legal Director
      | Software Freedom Law Center (SFLC) and Moglen Ravicher LLC
      | 1995 Broadway, 17th Fl., New York, NY 10023
      | (212) 461-1902 direct  (212) 580-0800 main  (212) 580-0898 fax
      | ravicher@softwarefreedom.org   www.softwarefreedom.org
      
      [1] http://spdx.org/
      [2] http://spdx.org/licenses/Signed-off-by: NWolfgang Denk <wd@denx.de>
      eca3aeb3
  26. 23 7月, 2013 1 次提交