Skip to content
Snippets Groups Projects
  1. Feb 26, 2014
    • 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>
      1551df35
    • Albert ARIBAUD's avatar
      arm: remove unneeded symbol offsets and _TEXT_BASE · b60eff31
      Albert ARIBAUD authored
      
      Remove the last uses of symbol offsets in ARM U-Boot.
      Remove some needless uses of _TEXT_BASE.
      Remove all _TEXT_BASE definitions.
      
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      b60eff31
  2. Feb 21, 2014
  3. Feb 20, 2014
  4. Feb 19, 2014
  5. Feb 06, 2014
  6. Feb 04, 2014
  7. Feb 03, 2014
  8. Jan 21, 2014
  9. Jan 12, 2014
  10. Jan 02, 2014
    • Priyanka Jain's avatar
      powerpc/mpc85xx: Add support for single source clocking · b135991a
      Priyanka Jain authored
      
      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: default avatarPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: default avatarPriyanka Jain <Priyanka.Jain@freescale.com>
      b135991a
    • Prabhakar Kushwaha's avatar
      board/freescale:Remove use of CONFIG_SPL_NAND_MINIMAL · fbe76ae4
      Prabhakar Kushwaha authored
      
      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: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
      fbe76ae4
  11. Dec 13, 2013
    • Guilherme Maciel Ferreira's avatar
      Add dumpimage, a tool to extract data from U-Boot images · a804b5ce
      Guilherme Maciel Ferreira authored
      
      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: default avatarGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      a804b5ce
  12. Dec 06, 2013
  13. Nov 25, 2013
  14. Nov 13, 2013
  15. Nov 11, 2013
    • Heiko Schocher's avatar
      arm, am33x: make RTC32K OSC enable configurable · 16678eb4
      Heiko Schocher authored
      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: default avatarHeiko Schocher <hs@denx.de>
      Cc: Tom Rini <trini@ti.com>
      16678eb4
    • Heiko Schocher's avatar
      bootcount: store bootcount var in environment · eda0ba38
      Heiko Schocher authored
      
      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: default avatarHeiko Schocher <hs@denx.de>
      eda0ba38
  16. Nov 08, 2013
    • Przemyslaw Marczak's avatar
      usb: ums: add ums exit feature by ctrl+c or by detach usb cable · 351e9b20
      Przemyslaw Marczak authored
      
      This patch allows exiting from UMS mode to u-boot prompt
      by detaching usb cable or by pressing ctrl+c.
      
      Add new config: CONFIG_USB_CABLE_CHECK. If defined then board
      file should provide function: usb_cable_connected() (include/usb.h)
      that return 1 if cable is connected and 0 otherwise.
      
      Changes v2:
      - add a note to the README
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      351e9b20
    • Igor Grinberg's avatar
      README: remove wrong config name · 39d9abfa
      Igor Grinberg authored
      
      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: default avatarIgor Grinberg <grinberg@compulab.co.il>
      39d9abfa
    • Andrew Ruder's avatar
      cmd_nvedit.c: Add env exists command · 88733e2c
      Andrew Ruder authored
      
      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: default avatarAndrew Ruder <andrew.ruder@elecsyscorp.com>
      88733e2c
  17. Oct 30, 2013
  18. Oct 17, 2013
  19. Oct 14, 2013
  20. Oct 07, 2013
  21. Sep 24, 2013
    • Afzal Mohammed's avatar
      dfu: ram support · a9479f04
      Afzal Mohammed authored
      
      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: default avatarAfzal 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: default avatarMarek Vasut <marex@denx.de>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      a9479f04
  22. Sep 23, 2013
  23. Sep 20, 2013
Loading