From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21266 invoked by alias); 18 Apr 2013 19:10:41 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Received: (qmail 21250 invoked by uid 89); 18 Apr 2013 19:10:41 -0000 X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 18 Apr 2013 19:10:40 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 63EF84680003; Thu, 18 Apr 2013 20:10:38 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001764] Enhancement of MMC/SD over SPI driver Date: Thu, 18 Apr 2013 19:10:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Disk X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mjones@linear.com X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013/txt/msg00246.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001764 --- Comment #15 from Mike Jones --- On the hardware with micro SD, the return from 48 00 00 01 AA 87 on my 2GB micro SD card puts the 01 in response[2] and the AA in response[3] which means the original code works with my custom board.. So now differences. The Tower K60 is Rev 1 silicon and the custom board is Rev 2 silicon. The revisions in my CDL are correct. The Tower is using a fx patched packages, and the custom is not, so I differenced the trees and found no MMC/SD or SPI related differences. So at this point the differences are silicon and board. The failing board is the Tower K60 large SD card socket with old silicon, and the working board is a custom K60 board with micro SD card socket. I now move to the original problem Samsung card. In this code: if (MMC_REPLY_ILLEGAL_COMMAND & reply) { // V1 cards do not understand CMD8 disk->sd_version = 1; disk->sd_capacity = STANDARD_CAPACITY; mmc_spi_end_command(disk); return ENOERR; } It enters as a V1 card. I don't have the Beagle attached yet. But this is the difference from the working cards. It then fails to enter the idle state. I'll get the Beagle on it later. -- You are receiving this mail because: You are the assignee for the bug.