#9425 BLOC 1.5-BTe: Test third card slot in SDIO mode

Zarro Boogs per Child bugtracker at laptop.org
Wed Jul 29 15:52:07 EDT 2009


#9425: Test third card slot in SDIO mode
-------------------------------------------+--------------------------------
           Reporter:  wmb at firmworks.com    |       Owner:  wmb at firmworks.com
               Type:  defect               |      Status:  closed           
           Priority:  blocker              |   Milestone:  1.5-BTest        
          Component:  ofw - open firmware  |     Version:  not specified    
         Resolution:  fixed                |    Keywords:                   
        Next_action:  never set            |    Verified:  0                
Deployment_affected:                       |   Blockedby:                   
           Blocking:                       |  
-------------------------------------------+--------------------------------
Changes (by wmb at firmworks.com):

 * cc: wad at laptop.org (added)
  * status:  new => closed
  * resolution:  => fixed


Comment:

 The third card slot on the Via demo board works in SDIO mode.  Here's what
 I did in OFW:

 * Set D17F0 Rx51 bit 7 to 1, thus disabling the card reader block  (ok
 8851 config-b@ 80 or 8851 config-b! )

 * Set D17F0 Rx97 bit 2 to 0, thus muxing the slot pins to the SDIO block
 instead of the card reader block  (ok 889f config-b@ 4 invert and 889f
 config-b! )

 * Set D12F0 Rx99 bits 2:0 to 010, thus enabling 3 SDIO slots (ok 6099
 config-b@ f8 and 2 or 6099 config-b! )

 * Patched OFW's sd/disk driver to use slot 1 instead of slot 3 (ok dev
 /sd/disk patch 3 my-unit open dend  )

 * Inserted an SD card into the multipurpose slot

 * Accessed the card with the OFW driver, for example   ok .partitions
 /sd/disk

 It worked with no surprises.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9425#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list