Skip to content
Snippets Groups Projects
  1. Jul 23, 2013
  2. Jul 19, 2013
  3. Jul 16, 2013
  4. Jul 15, 2013
    • Frederic Leroy's avatar
      Fix ext2/ext4 filesystem accesses beyond 2TiB · 04735e9c
      Frederic Leroy authored
      
      With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
      which is required to represent block numbers for storage devices that
      exceed 2TiB (the block size usually is 512B), e.g. recent hard drives
      
      We now use lbaint_t for partition offset to reflect the lbaint_t change,
      and access partitions beyond or crossing the 2.1TiB limit.
      This required changes to signature of ext4fs_devread(), and type of all
      variables relatives to block sector.
      
      ext2/ext4 fs uses logical block represented by a 32 bit value. Logical
      block is a multiple of device block sector. To avoid overflow problem
      when calling ext4fs_devread(), we need to cast the sector parameter.
      
      Signed-off-by: default avatarFrédéric Leroy <fredo@starox.org>
      04735e9c
    • Tom Rini's avatar
      Revert "MIPS: Jz4740: Add qi_lb60 board support" · 54e458de
      Tom Rini authored
      
      The files board/qi/qi_lb60/qi_lb60.c and include/configs/qi_lb60.h were
      licensed under the GPL v3 or later, and not v2 or later.  As this is
      incompatible with the project, revert this board support until the
      responsible parties are available to re-license (if so desired) under
      GPL v2.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      54e458de
  5. Jul 12, 2013
  6. Jul 11, 2013
  7. Jul 10, 2013
  8. Jul 08, 2013
  9. Jul 05, 2013
  10. Jul 01, 2013
  11. Jun 30, 2013
    • Heiko Schocher's avatar
      usb: fix unaligned access in device_qual() · b37c4a2b
      Heiko Schocher authored
      
      while playing with dfu, I tapped in an unaligned access
      when doing on the host side a "lsusb -d [vendornr]: -v"
      I get on the board:
      
      GADGET DRIVER: usb_dnl_dfu
      data abort
      
          MAYBE you should read doc/README.arm-unaligned-accesses
      
      pc : [<8ff71db8>]          lr : [<8ff75aec>]
      sp : 8ef40d18  ip : 00000005     fp : 00000000
      r10: 00000000  r9 : 47401410     r8 : 8ef40f38
      r7 : 8ef4aae8  r6 : 0000000a     r5 : 8ef4ab28  r4 : 8ef4ab80
      r3 : 0000000a  r2 : 00000006     r1 : 00000006  r0 : 8ef4aae8
      Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32
      Resetting CPU ...
      
      reason is that in the "struct usb_composite_dev" the
      "struct usb_device_descriptor desc;" is on an odd address,
      and this struct gets accessed in
      drivers/usb/gadget/composite.c device_qual()
      
      Fix it, by align this var "struct desc" fix to an aligned
      address.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Samuel Egli <samuel.egli@siemens.com>
      b37c4a2b
    • Heiko Schocher's avatar
      usb, g_dnl: make possibility to fixup the device_desc board specific · c5398cc9
      Heiko Schocher authored
      
      add a weak dummy function g_dnl_fixup to add the possibility to update
      the device_desc board specific. Used on the upcoming siemens board
      support, where idVendor and idProduct is stored in an eeprom.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      c5398cc9
    • Heiko Schocher's avatar
      dfu: make data buffer size configurable · e7e75c70
      Heiko Schocher authored
      
      Dfu transfer uses a buffer before writing data to the
      raw storage device. Make the size (in bytes) of this buffer
      configurable through environment variable "dfu_bufsiz".
      Defaut value is configurable through CONFIG_SYS_DFU_DATA_BUF_SIZE
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: default avatarTom Rini <trini@ti.com>
      e7e75c70
  12. Jun 28, 2013
  13. Jun 27, 2013
Loading