1. 11 Dec, 2012 4 commits
    • Tom Wai-Hong Tam's avatar
      edid: Add I2C command for printing the EDID · 735987c5
      Tom Wai-Hong Tam authored
      
      
      Add a single command to read the EDID information over I2C.
      
      For example:
      
      SMDK5250 # i2c dev 7
      Setting bus to 7
      SMDK5250 # i2c edid 50
      EDID version: 1.4
      Product ID code: 305c
      Manufacturer: AUO
      Serial number: 00000000
      Manufactured in week: 0 year: 2011
      Video input definition: digital signal, voltage level 0, blank to black
      Monitor is non-RGB
      Maximum visible display size: 26 cm x 14 cm
      Power management features: no active off, no suspend, no standby
      Estabilished timings:
      Standard timings:
              1366x768        60 Hz (detailed)
              1366x768        60 Hz (detailed)
      Monitor ID: 2VD2K.B116XW
      Signed-off-by: default avatarTom Wai-Hong Tam <waihong@chromium.org>
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      735987c5
    • Simon Glass's avatar
      Add hash command to perform hashing using various algorithms · bf36c5d5
      Simon Glass authored
      
      
      This new command supports hashing SHA1 and SHA256. It could be extended
      to others such as MD5 and the CRC algorithms. The syntax is modeled on
      those:
      
         hash <algorithm> <address> <length> [*<dest_addr> | <dest_envvar>]
      
      to calculate a hash, and:
      
         hash -v <algorithm> <address> <length> [*<verify_addr> | <verify_envvar>]
      
      to verify a hash.
      
      Use CONFIG_CMD_HASH to enable the command, CONFIG_SHA1 to enable SHA1 and
      CONFIG_SHA256 to enable SHA256.
      
      The existing sha1sum command remains.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      bf36c5d5
    • Kenneth Waters's avatar
      Add a command to read raw blocks from a partition · ff048ea9
      Kenneth Waters authored
      
      
      Sometimes data is on a block device and within a partition, but not in a
      particular filesystem.
      
      This commands permits reading raw data from a partition.
      Signed-off-by: default avatarKenneth Waters <kwaters@chromium.org>
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      ff048ea9
    • Anton Staaf's avatar
      Add gettime command · 53fdc7ef
      Anton Staaf authored
      
      
      Gettime returns the current timer value.  If CONFIG_SYS_HZ is defined
      then the timer value is also converted to seconds.
      
      Tegra20 (SeaBoard) # gettime
      Timer val: 7754
      Seconds : 7
      Remainder : 754
      sys_hz = 1000
      
      There has been some discussion about whether this is useful enough to
      be included in U-Boot. The following boards do not have CONFIG_SYS_HZ
      defined:
      
      M52277EVB
      M52277EVB_stmicro
      M53017EVB
      M54418TWR
      M54418TWR_nand_mii
      M54418TWR_nand_rmii
      M54418TWR_nand_rmii_lowfreq
      M54418TWR_serial_mii
      M54418TWR_serial_rmii
      Signed-off-by: default avatarAnton Staaf <robotboy@chromium.org>
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      53fdc7ef
  2. 06 Dec, 2012 3 commits
  3. 30 Nov, 2012 1 commit
  4. 28 Nov, 2012 1 commit
  5. 26 Nov, 2012 6 commits
  6. 13 Nov, 2012 1 commit
    • Gabe Black's avatar
      fdt: Add option to default to most compatible conf in a fit image · d95f6ec7
      Gabe Black authored
      
      
      When booting a fit image with multiple configurations, the user either has to
      specify which configuration to use explicitly, or there has to be a default
      defined which is chosen automatically. This change adds an option to change
      that behavior so that a configuration can be selected explicitly, or the
      configuration which has the device tree that claims to be compatible with the
      earliest item in U-Boot's device tree.
      
      In other words, if U-Boot claimed to be compatible with A, B, and then C, and
      the configurations claimed to be compatible with A, D and B, D and D, E, the
      first configuration, A, D, would be chosen. Both the first and second
      configurations match, but the first one matches a more specific entry in
      U-Boot's device tree. The order in the kernel's device tree is ignored.
      Signed-off-by: default avatarGabe Black <gabeblack@google.com>
      
      Commit-Ready: Gabe Black <gabeblack@chromium.org>
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      d95f6ec7
  7. 06 Nov, 2012 1 commit
  8. 02 Nov, 2012 2 commits
  9. 30 Oct, 2012 1 commit
  10. 29 Oct, 2012 1 commit
    • Stephen Warren's avatar
      fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*} · 03e2ecf6
      Stephen Warren authored
      
      
      This makes the FAT and ext4 filesystem implementations build if
      CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on
      whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the
      filesystems to be built separately from the filesystem-specific commands
      that use them. This paves the way for the creation of filesystem-generic
      commands that used the filesystems, without requiring the filesystem-
      specific commands.
      
      Minor documentation changes are made for this change.
      
      The new config options are automatically selected by the old config
      options to retain backwards-compatibility.
      Signed-off-by: Stephen Warren's avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      03e2ecf6
  11. 28 Oct, 2012 1 commit
  12. 22 Oct, 2012 3 commits
    • York Sun's avatar
      powerpc/mpc85xx: Rewrite spin table to comply with ePAPR v1.1 · ffd06e02
      York Sun authored
      
      
      Move spin table to cached memory to comply with ePAPR v1.1.
      Load R3 with 64-bit value if CONFIG_SYS_PPC64 is defined.
      
      'M' bit is set for DDR TLB to maintain cache coherence.
      
      See details in doc/README.mpc85xx-spin-table.
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      ffd06e02
    • Ashok's avatar
      README : Rename CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111,... · 3bb46d23
      Ashok authored
      
      README : Rename CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111, CONFIG_DRIVER_LAN91C96 to CONFIG_LAN91C96
      
      Rename CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111,
      CONFIG_DRIVER_LAN91C96 to CONFIG_LAN91C96
      Signed-off-by: default avatarAshok Kumar Reddy <ashokkourla2000@gmail.com>
      Reviewed-by: default avatarTom Rini <trini@ti.com>
      3bb46d23
    • Gabe Black's avatar
      fs: Add a Coreboot Filesystem (CBFS) driver and commands · 84cd9327
      Gabe Black authored
      
      
      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: default avatarGabe Black <gabeblack@google.com>
      Signed-off-by: default avatarStefan Reinauer <reinauer@chromium.org>
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      84cd9327
  13. 15 Oct, 2012 1 commit
  14. 03 Oct, 2012 3 commits
  15. 02 Oct, 2012 3 commits
  16. 29 Sep, 2012 1 commit
  17. 27 Sep, 2012 3 commits
  18. 02 Sep, 2012 3 commits
  19. 01 Sep, 2012 1 commit