Skip to content
Snippets Groups Projects
  1. Nov 02, 2012
  2. Oct 29, 2012
  3. Oct 26, 2012
  4. Oct 25, 2012
  5. Oct 22, 2012
    • 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: default avatarSimon Glass <sjg@chromium.org>
      84cd9327
    • Marek Vasut's avatar
      common: Convert the U-Boot commands to LG-arrays · 6c7c946c
      Marek Vasut authored
      
      This patch converts the old method of creating a list of command
      onto the new LG-arrays code. The old u_boot_cmd section is converted
      to new u_boot_list_cmd subsection and LG-array macros used as needed.
      
      Minor adjustments had to be made to the common code to work with the
      LG-array macros, mostly the fixup_cmdtable() calls are now passed the
      ll_entry_start and ll_entry_count instead of linker-generated symbols.
      
      The command.c had to be adjusted as well so it would use the newly
      introduced LG-array API instead of directly using linker-generated
      symbols.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      6c7c946c
    • Marek Vasut's avatar
      COMMON: Implement common bounce buffer · b660df3c
      Marek Vasut authored
      
      Implement common bounce buffer to be used on a less capable hardware.
      That includes hardware that can not do DMA from any address or such.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Andy Fleming <afleming@freescale.com>
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      b660df3c
    • Vincent Palatin's avatar
      usb: fallback safely when a configuration descriptor is too large · 8b8d779d
      Vincent Palatin authored
      
      When a USB configuration descriptor was larger than our USB buffer
      (512 bytes), we were skipping the full descriptor reading but then we
      were still parsing and using it, triggering memory corruptions.
      Now in that case, it just skips this device enumeration and displays the
      appropriate message to the user, so he can fix the buffer if he wants.
      
      This bug was triggered by some UVC webcams which have very large
      configuration descriptors (e.g. a couple of kB) describing all their
      supported video encodings.
      
      Signed-off-by: default avatarVincent Palatin <vpalatin@chromium.org>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      8b8d779d
    • Gabe Black's avatar
      usb: Support the CONFIG_SYS_64BIT_LBA option · e81e79ed
      Gabe Black authored
      
      usb_storage wouldn't compile when the CONFIG_SYS_64BIT_LBA option is
      turned on because the used fixed size data types in their exported
      functions when they should have used lbaint_t for the block count
      parameter. That meant that when the sizes happened to be the same, when
      using a 28 bit LBA, the driver would build, but when it wasn't, a 48 bit
      LBA, things broke.
      
      This change adjusts the signatures to use the right type and makes small
      adjustments in the affected functions.
      
      Signed-off-by: default avatarGabe Black <gabeblack@chromium.org>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      e81e79ed
  6. Oct 19, 2012
  7. Oct 17, 2012
  8. Oct 16, 2012
  9. Oct 15, 2012
Loading