1. 11 Sep, 2015 1 commit
  2. 11 Jun, 2014 1 commit
    • Darwin Dingel's avatar
      disk: part_dos.c: Add a PBR check when MBR checking fails · 4a36be9b
      Darwin Dingel authored
      Bug: SDCard with a messed up partition but still has a FAT signature
      intact is readable in Linux but unreadable in uboot with 'fatls'.
      
      Fix: When partition info checking fails, there is no checking for a
      FAT signature (DOS_PBR) which will fail 'fatls'. FAT signature checking
      is done when no valid partition is found in partition table. If FAT
      signature is found, the disk will be read as PBR and continue
      processing.
      Signed-off-by: default avatarDarwin Dingel <darwin.dingel@alliedtelesis.co.nz>
      4a36be9b
  3. 05 Jun, 2014 1 commit
  4. 24 Jul, 2013 1 commit
  5. 01 May, 2013 1 commit
    • Egbert Eich's avatar
      disk/part_dos: check harder for partition table · 9d956e0f
      Egbert Eich authored
      Devices that used to have a whole disk FAT filesystem but got then
      partitioned will most likely still have a FAT or FAT32 signature
      in the first sector as this sector does not get overwritten by
      a partitioning tool (otherwise the tool would risk to kill the mbr).
      
      The current partition search algorithm will erronously detects such
      a device as a raw FAT device.
      
      Instead of looking for the FAT or FAT32 signatures immediately we
      use the same algorithm as used by the Linux kernel and first check
      for a valid boot indicator flag on each of the 4 partitions.
      If the value of this flag is invalid for the first entry we then
      do the raw partition check.
      If the flag for any higher partition is wrong we assume the device
      is neiter a MBR nor PBR device.
      Signed-off-by: default avatarEgbert Eich <eich@suse.com>
      9d956e0f
  6. 14 Mar, 2013 1 commit
  7. 17 Oct, 2012 2 commits
  8. 08 Oct, 2012 1 commit
    • Stephen Warren's avatar
      disk: part_dos: don't claim whole-disk FAT filesystems · d1efb644
      Stephen Warren authored
      Logically, a disk that contains a raw FAT filesystem does not in fact
      have a partition table. However, test_part_dos() was claiming that such
      disks did in fact have a DOS-style partition table. This caused
      get_device_and_partition() not to return a whole-disk disk_partition_t,
      since part_type != PART_TYPE_UNKNOWN.
      
      part_dos.c's print_partition_extended() detected the raw FAT filesystem
      condition and printed a fake partition table that encompassed the whole
      disk.
      
      However, part_dos.c's get_partition_info_extended() did not return any
      valid partitions in this case. This combination caused
      get_device_and_partition() not to find any valid partitions, and hence
      to return an error.
      
      Fix test_part_dos() not to claim that raw FAT filesystems are DOS
      partition tables. In turn, this causes get_device_and_partition() to
      return a whole-disk disk_partition_t, and hence the following commands
      work:
      
      fatls mmc 0 /
      fatls mmc 0:auto /
      
      An alternative would be to modify print_partition_extended() to detect
      raw FAT filesystems, just like print_partition_extended() does, and to
      return a fake partition in this case. However, this seems logically
      incorrect, and also duplicates code, since get_device_and_partition()
      falls back to returning a whole-disk partition when there is no partition
      table on the device.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      d1efb644
  9. 25 Sep, 2012 2 commits
  10. 21 Jun, 2012 1 commit
  11. 30 Apr, 2012 1 commit
  12. 27 Jul, 2011 1 commit
  13. 24 Jul, 2010 1 commit
  14. 18 Oct, 2009 1 commit
  15. 09 Aug, 2009 1 commit
  16. 03 Apr, 2009 1 commit
    • unsik Kim's avatar
      mflash: Initial mflash support · 75eb82ec
      unsik Kim authored
      Mflash is fusion memory device mainly targeted consumer eletronic and
      mobile phone.
      Internally, it have nand flash and other hardware logics and supports
      some different operation (ATA, IO, XIP) modes.
      
      IO mode is custom mode for the host that doesn't have IDE interface.
      (Many mobile targeted SoC doesn't have IDE bus)
      
      This driver support mflash IO mode.
      
      Followings are brief descriptions about IO mode.
      
      1. IO mode based on ATA protocol and uses some custom command. (read
         confirm, write confirm)
      2. IO mode uses SRAM bus interface.
      Signed-off-by: default avatarunsik Kim <donari75@gmail.com>
      75eb82ec
  17. 17 Feb, 2009 1 commit
  18. 26 Mar, 2008 1 commit
  19. 09 Jul, 2007 1 commit
  20. 03 Jul, 2007 1 commit
  21. 13 Oct, 2005 1 commit
  22. 24 Feb, 2005 1 commit
  23. 23 Feb, 2004 1 commit
    • wdenk's avatar
      * CVS add missing files · 3f85ce27
      wdenk authored
      * Cleanup compiler warnings
      
      * Fix problem with side effects in macros in include/usb.h
      
      * Patch by David Benson, 13 Nov 2003:
        bug 841358 - fix TFTP download size limit
      
      * Fixing bug 850768:
        improper flush_cache() in load_serial()
      
      * Fixing bug 834943:
        MPC8540 - missing volatile declarations
      
      * Patch by Stephen Williams, 09 Feb 2004:
        Add support for Xilinx SystemACE chip:
        - New files common/cmd_ace.c and include/systemace.h
        - Hook systemace support into cmd_fat and the partition manager
      
      * Patch by Travis Sawyer, 09 Feb 2004:
        Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux
      3f85ce27
  24. 10 Sep, 2003 2 commits
    • wdenk's avatar
      * Patches by Denis Peter, 9 Sep 2003: · 7205e407
      wdenk authored
        add FAT support for IDE, SCSI and USB
      
      * Patches by Gleb Natapov, 2 Sep 2003:
        - cleanup of POST code for unsupported architectures
        - MPC824x locks way0 of data cache for use as initial RAM;
          this patch unlocks it after relocation to RAM and invalidates
          the locked entries.
      
      * Patch by Gleb Natapov, 30 Aug 2003:
        new I2C driver for mpc107 bridge. Now works from flash.
      
      * Patch by Dave Ellis, 11 Aug 2003:
        - JFFS2: fix typo in common/cmd_jffs2.c
        - JFFS2: fix CFG_JFFS2_SORT_FRAGMENTS option
        - JFFS2: remove node version 0 warning
        - JFFS2: accept JFFS2 PADDING nodes
        - SXNI855T: add AM29LV800 support
        - SXNI855T: move environment from EEPROM to flash
        - SXNI855T: boot from JFFS2 in NOR or NAND flash
      
      * Patch by Bill Hargen, 11 Aug 2003:
        fixes for I2C on MPC8240
        - fix i2c_write routine
        - fix iprobe command
        - eliminates use of global variables, plus dead code, cleanup.
      7205e407
    • wdenk's avatar
      * Add support for USB Mass Storage Devices (BBB) · 149dded2
      wdenk authored
        (tested with USB memory sticks only)
      
      * Avoid flicker on TRAB's VFD
      149dded2
  25. 29 Jun, 2003 1 commit
  26. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  27. 20 May, 2003 1 commit
    • wdenk's avatar
      * Patch by David Updegraff, 22 Apr 2003: · 7f70e853
      wdenk authored
        update for CrayL1 board
      
      * Patch by Pantelis Antoniou, 21 Apr 2003:
        add boot support for ARTOS (a proprietary OS)
      
      * Patch by Steven Scholz, 11 Apr 2003:
        Add support for RTC DS1338
      
      * Patch by Rod Boyce, 24 Jan 2003:
        Fix counting of extended partitions in diskboot command
      7f70e853
  28. 03 Nov, 2002 1 commit