[Bug 1557] New: spi-sd-card: disk device barfs on low-capacity 2GB cards

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jun 14 14:58:16 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1557

           Summary: spi-sd-card: disk device barfs on low-capacity 2GB
                    cards
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: major
          Priority: P3
         Component: misc
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: arnout at mind.be
                CC: arnout at mind.be


Created an attachment (id=778)
 --> (http://www.rtems.org/bugzilla/attachment.cgi?id=778)
Low capacity 2GByte cards are set back to block size 512, so block_number
should be doubled.

The SPI SD card driver sets the block size of low-capacity 2GB cards to 512
bytes even though the card reports 1024 bytes.  However, the number of blocks
should then also be doubled.

Failing that, the disk device layer (rtems_disk_create_log()) barfs because the
partition size is larger than the disk size.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list