[U-Boot] MMC - Error detected in status(0x208100)!

Hi Andy,
The latest patch "mmc: Properly determine maximum supported bus width" (sha1: 7798f6dbd5e1a3030ed81a81da5dfb57c3307cac) is causing some error status issue on zynq platform with MMC Plus cards.
Here the out what I get with inclusion of this patch on u-boot tree. zynq-uboot> mmcinfo Error detected in status(0x208100)! Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 4-bit
When I revert this path, I am unable to see the status error. zynq-uboot> mmcinfo Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 12-bit
I think the above one is also a buggy as my controller is unable to support 12-bit bus width.?
Request for any inputs.
Thanks, Jagan.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

On 01/30/2013 07:48 PM, Jagannadha Sutradharudu Teki wrote:
Hi Andy,
The latest patch "mmc: Properly determine maximum supported bus width" (sha1: 7798f6dbd5e1a3030ed81a81da5dfb57c3307cac) is causing some error status issue on zynq platform with MMC Plus cards.
Here the out what I get with inclusion of this patch on u-boot tree. zynq-uboot> mmcinfo Error detected in status(0x208100)! Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 4-bit
When I revert this path, I am unable to see the status error. zynq-uboot> mmcinfo Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 12-bit
I think the above one is also a buggy as my controller is unable to support 12-bit bus width.?
Could you check which bus_width support at your controller? I guess it is set to wrong buswidth.
Best Regards, Jaehoon Chung
Request for any inputs.
Thanks, Jagan.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Hi Jaehoon Chung,
-----Original Message----- From: Jaehoon Chung [mailto:jh80.chung@samsung.com] Sent: 30 January 2013 17:44 To: Jagannadha Sutradharudu Teki Cc: afleming@freescale.com; u-boot@lists.denx.de Subject: Re: [U-Boot] MMC - Error detected in status(0x208100)!
On 01/30/2013 07:48 PM, Jagannadha Sutradharudu Teki wrote:
Hi Andy,
The latest patch "mmc: Properly determine maximum supported bus
width"
(sha1: 7798f6dbd5e1a3030ed81a81da5dfb57c3307cac) is causing some
error
status issue on zynq platform with MMC Plus cards.
Here the out what I get with inclusion of this patch on u-boot tree. zynq-uboot> mmcinfo Error detected in status(0x208100)! Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 4-bit
When I revert this path, I am unable to see the status error. zynq-uboot> mmcinfo Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 12-bit
I think the above one is also a buggy as my controller is unable to support
12-bit bus width.? Could you check which bus_width support at your controller? I guess it is set to wrong buswidth.
Yes, this what the buggy message is for. My controller supports only 1 and 4-bit.
Thanks, Jagan.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

Dear Jagannadha,
Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki <at> xilinx.com>
writes:
Hi Andy,
The latest patch "mmc: Properly determine maximum supported bus width" (sha1: 7798f6dbd5e1a3030ed81a81da5dfb57c3307cac) is causing some error status
issue on
zynq platform with MMC Plus cards.
Here the out what I get with inclusion of this patch on u-boot tree. zynq-uboot> mmcinfo Error detected in status(0x208100)! Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 4-bit
When I revert this path, I am unable to see the status error. zynq-uboot> mmcinfo Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 12-bit
I think the above one is also a buggy as my controller is unable to support
12-bit bus width.?
I've been using the latest u-boot (v2013.01) on ML507 with a custom SDHCI IP. No problems detected with this patch.
The output of both patched and unpatched u-boot seems to be correct. Except for the Data CRC Error (bit 21) in the patched version.
Several things to check:
1) Verify the controller settings on both patched and unpatched u-boot. The printf()s are just prints some IPs (like the one I'm using) don't allow changing the register value on some conditions (ie during CMD_INHIBIT and/or DAT_INHIBIT). This would make the printf()s look correct but the actual register value is incorrect.
2) Try lowering your SDCLK (ie 25Mhz High-speed mode).
3) Try disabling High-speed mode (which limits you to 25MHz Legacy mode).
All the best, Rommel

Hi Rommel,
On Thu, Jan 31, 2013 at 8:14 AM, Rommel Custodio sessyargc+uboot@gmail.com wrote:
Dear Jagannadha,
Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki <at> xilinx.com>
writes:
Hi Andy,
The latest patch "mmc: Properly determine maximum supported bus width" (sha1: 7798f6dbd5e1a3030ed81a81da5dfb57c3307cac) is causing some error status
issue on
zynq platform with MMC Plus cards.
Here the out what I get with inclusion of this patch on u-boot tree. zynq-uboot> mmcinfo Error detected in status(0x208100)! Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 4-bit
When I revert this path, I am unable to see the status error. zynq-uboot> mmcinfo Device: zynq_sdhci Manufacturer ID: 1e OEM: ffff Name: MMC Tran Speed: 52000000 Rd Block Len: 512 MMC version 4.0 High Capacity: No Capacity: 1.9 GiB Bus Width: 12-bit
I think the above one is also a buggy as my controller is unable to support
12-bit bus width.?
I've been using the latest u-boot (v2013.01) on ML507 with a custom SDHCI IP. No problems detected with this patch.
The output of both patched and unpatched u-boot seems to be correct. Except for the Data CRC Error (bit 21) in the patched version.
Several things to check:
- Verify the controller settings on both patched and unpatched u-boot. The
printf()s are just prints some IPs (like the one I'm using) don't allow changing the register value on some conditions (ie during CMD_INHIBIT and/or DAT_INHIBIT). This would make the printf()s look correct but the actual register value is incorrect.
Try lowering your SDCLK (ie 25Mhz High-speed mode).
Try disabling High-speed mode (which limits you to 25MHz Legacy mode).
I tried by minimizing the clock to 25Mhz as an argument of add_sdhci(). but still I am getting the similar issue.
Please let me know your inputs.
Thanks, Jagan.
participants (4)
-
Jaehoon Chung
-
Jagan Teki
-
Jagannadha Sutradharudu Teki
-
Rommel Custodio