Re: sdhc/mpc8536 - SDCard always detected like read-only - SOLVED.

2011-04-06 Thread Wolfram Sang
> Reading the MPC8536E Chip Errata I saw the SDHC_WP signal polarity is > reversed to the silicon revision 1.0. > > Unfortunately my prototype board is using revision 1.0. So, I asked to > my hardware team workaround putting an extra inverter for the SDHC_WP > signal. > > Now its working fine!

Re: sdhc/mpc8536 - SDCard always detected like read-only - SOLVED.

2011-04-06 Thread Carlos Roberto Moratelli
Wolfram, Reading the MPC8536E Chip Errata I saw the SDHC_WP signal polarity is reversed to the silicon revision 1.0. Unfortunately my prototype board is using revision 1.0. So, I asked to my hardware team workaround putting an extra inverter for the SDHC_WP signal. Now its working fine! Thank

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-06 Thread Carlos Roberto Moratelli
I will try address the issue in details. When I insert the SDCard, the same is detect like read-only: mmcblk0: mmc0:b368 NCard 966 MiB (ro) mmcblk0: mmc0: starting CMD18 arg flags 00b5 mmc0: blksz 512 blocks 8 flags 0200 tsac 100 ms nsac 0 mmc0: CMD12 arg flags 0

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Wolfram Sang
> sdhci@2e000 { > compatible = "fsl,mpc8536-esdhc", "fsl,esdhc"; > reg = <0x2e000 0x1000>; > interrupts = <72 0x2>; > interrupt-parent = <&mpic>; > /* Filled in by U-Boot */ >

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Carlos Roberto Moratelli
Em Ter, 2011-04-05 às 21:02 +0200, Wolfram Sang escreveu: > > Every idea or tip is apreciated. > > Please post your dts. > /* * MPC8536 DS Device Tree Source * * Copyright 2008-2009 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it *

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Wolfram Sang
> Every idea or tip is apreciated. Please post your dts. -- Pengutronix e.K. | Wolfram Sang| Industrial Linux Solutions | http://www.pengutronix.de/ | signature.asc Description: Digital signature ___

sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Carlos Roberto Moratelli
Hello, I am working in a MPC8536e custom board. Our custom board has a slot to SDCards conected to the MPC8536e's eSDHC controller. We are using just 4-serial data pins of eSDHC controller. My kernel is 2.6.35.7 and I am using buildroot to build the root system with uClib. I can mount and read