* [U-Boot] pxa310 SDHC support.
@ 2014-05-26 7:51 aking_jin
2014-05-26 8:59 ` Marek Vasut
0 siblings, 1 reply; 16+ messages in thread
From: aking_jin @ 2014-05-26 7:51 UTC (permalink / raw)
To: u-boot
Hi, marek
I've seen on the Internet that pxa310 support SDHC up to 32GB, but
I'm using u-boot 2014.01, It could initialize OK.
Device: PXA MMC
Manufacturer ID: 3
OEM: 5344
Name: SS08G
Tran Speed: 26000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
It shows time out while reading block . Is there any particular
process should be add?
Thank you very much.
^ permalink raw reply [flat|nested] 16+ messages in thread* [U-Boot] pxa310 SDHC support.
2014-05-26 7:51 [U-Boot] pxa310 SDHC support aking_jin
@ 2014-05-26 8:59 ` Marek Vasut
2014-05-26 10:17 ` aking_jin
2014-05-26 10:28 ` aking_jin
0 siblings, 2 replies; 16+ messages in thread
From: Marek Vasut @ 2014-05-26 8:59 UTC (permalink / raw)
To: u-boot
On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
> Hi, marek
> I've seen on the Internet that pxa310 support SDHC up to 32GB, but
> I'm using u-boot 2014.01, It could initialize OK.
>
> Device: PXA MMC
> Manufacturer ID: 3
> OEM: 5344
> Name: SS08G
> Tran Speed: 26000000
> Rd Block Len: 512
> SD version 3.0
> High Capacity: Yes
> Capacity: 7.4 GiB
> Bus Width: 4-bit
>
> It shows time out while reading block . Is there any particular
> process should be add?
It is well possible that the driver is broken on PXA3xx . Note that mainline U-
Boot doesn't really support PXA3xx . Are you working on PXA3xx support for
mainline U-Boot ?
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 8:59 ` Marek Vasut
@ 2014-05-26 10:17 ` aking_jin
2014-05-26 10:28 ` aking_jin
1 sibling, 0 replies; 16+ messages in thread
From: aking_jin @ 2014-05-26 10:17 UTC (permalink / raw)
To: u-boot
Hi, Marek
On 2014/5/26 Mon 16:59, Marek Vasut wrote:
> On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
>> Hi, marek
>> I've seen on the Internet that pxa310 support SDHC up to 32GB, but
>> I'm using u-boot 2014.01, It could initialize OK.
>>
>> Device: PXA MMC
>> Manufacturer ID: 3
>> OEM: 5344
>> Name: SS08G
>> Tran Speed: 26000000
>> Rd Block Len: 512
>> SD version 3.0
>> High Capacity: Yes
>> Capacity: 7.4 GiB
>> Bus Width: 4-bit
>>
>> It shows time out while reading block . Is there any particular
>> process should be add?
> It is well possible that the driver is broken on PXA3xx . Note that mainline U-
> Boot doesn't really support PXA3xx . Are you working on PXA3xx support for
> mainline U-Boot ?
I'm looking for support for pxa310 MMC SDHC .
In the PXA310 SPEC:
The MMC module is based on the standards outlined in the
MultiMediaCard System
Specification Version 3.3.1. The SD module manages one SD or SDIO card
based on the standards
outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
Specification Version
1.0
I'm doubting if the controller support SDHC (SD 2.0) ?
>
> Best regards,
> Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread* [U-Boot] pxa310 SDHC support.
2014-05-26 8:59 ` Marek Vasut
2014-05-26 10:17 ` aking_jin
@ 2014-05-26 10:28 ` aking_jin
2014-05-26 10:56 ` Marek Vasut
1 sibling, 1 reply; 16+ messages in thread
From: aking_jin @ 2014-05-26 10:28 UTC (permalink / raw)
To: u-boot
Hi, Marek
On 2014/5/26 Mon 16:59, Marek Vasut wrote:
> On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
>> Hi, marek
>> I've seen on the Internet that pxa310 support SDHC up to 32GB, but
>> I'm using u-boot 2014.01, It could initialize OK.
>>
>> Device: PXA MMC
>> Manufacturer ID: 3
>> OEM: 5344
>> Name: SS08G
>> Tran Speed: 26000000
>> Rd Block Len: 512
>> SD version 3.0
>> High Capacity: Yes
>> Capacity: 7.4 GiB
>> Bus Width: 4-bit
>>
>> It shows time out while reading block . Is there any particular
>> process should be add?
> It is well possible that the driver is broken on PXA3xx . Note that mainline U-
> Boot doesn't really support PXA3xx . Are you working on PXA3xx support for
> mainline U-Boot ?
I'm looking for support for pxa310 MMC SDHC .
In the PXA310 SPEC:
The MMC module is based on the standards outlined in the
MultiMediaCard System
Specification Version 3.3.1. The SD module manages one SD or SDIO card
based on the standards
outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
Specification Version
1.0
I'm doubting if the controller support SDHC (SD 2.0) ?
>
> Best regards,
> Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread* [U-Boot] pxa310 SDHC support.
2014-05-26 10:28 ` aking_jin
@ 2014-05-26 10:56 ` Marek Vasut
2014-05-26 11:48 ` aking
2014-05-26 11:54 ` aking
0 siblings, 2 replies; 16+ messages in thread
From: Marek Vasut @ 2014-05-26 10:56 UTC (permalink / raw)
To: u-boot
On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote:
> Hi, Marek
>
> On 2014/5/26 Mon 16:59, Marek Vasut wrote:
> > On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
> >> Hi, marek
> >>
> >> I've seen on the Internet that pxa310 support SDHC up to 32GB, but
> >>
> >> I'm using u-boot 2014.01, It could initialize OK.
> >>
> >> Device: PXA MMC
> >> Manufacturer ID: 3
> >> OEM: 5344
> >> Name: SS08G
> >> Tran Speed: 26000000
> >> Rd Block Len: 512
> >> SD version 3.0
> >> High Capacity: Yes
> >> Capacity: 7.4 GiB
> >> Bus Width: 4-bit
> >>
> >> It shows time out while reading block . Is there any particular
> >>
> >> process should be add?
> >
> > It is well possible that the driver is broken on PXA3xx . Note that
> > mainline U- Boot doesn't really support PXA3xx . Are you working on
> > PXA3xx support for mainline U-Boot ?
>
> I'm looking for support for pxa310 MMC SDHC .
> In the PXA310 SPEC:
>
> The MMC module is based on the standards outlined in the
> MultiMediaCard System
> Specification Version 3.3.1. The SD module manages one SD or SDIO card
> based on the standards
> outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
> Specification Version
> 1.0
>
> I'm doubting if the controller support SDHC (SD 2.0) ?
The PXA27x controller works even with SDXC , that is tested. I suspect there
might be some change in the PXA3xx controller, but I don't really know for sure.
You'd have to check.
Also, you didn't really answer my question with regards to porting U-Boot above.
If you do that, use latest mainline, not 2014.01 .
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 10:56 ` Marek Vasut
@ 2014-05-26 11:48 ` aking
2014-05-26 12:10 ` Marek Vasut
2014-05-26 11:54 ` aking
1 sibling, 1 reply; 16+ messages in thread
From: aking @ 2014-05-26 11:48 UTC (permalink / raw)
To: u-boot
On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote:
> On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote:
>> Hi, Marek
>>
>> On 2014/5/26 Mon 16:59, Marek Vasut wrote:
>>> On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
>>>> Hi, marek
>>>>
>>>> I've seen on the Internet that pxa310 support SDHC up to 32GB, but
>>>>
>>>> I'm using u-boot 2014.01, It could initialize OK.
>>>>
>>>> Device: PXA MMC
>>>> Manufacturer ID: 3
>>>> OEM: 5344
>>>> Name: SS08G
>>>> Tran Speed: 26000000
>>>> Rd Block Len: 512
>>>> SD version 3.0
>>>> High Capacity: Yes
>>>> Capacity: 7.4 GiB
>>>> Bus Width: 4-bit
>>>>
>>>> It shows time out while reading block . Is there any particular
>>>>
>>>> process should be add?
>>> It is well possible that the driver is broken on PXA3xx . Note that
>>> mainline U- Boot doesn't really support PXA3xx . Are you working on
>>> PXA3xx support for mainline U-Boot ?
>> I'm looking for support for pxa310 MMC SDHC .
>> In the PXA310 SPEC:
>>
>> The MMC module is based on the standards outlined in the
>> MultiMediaCard System
>> Specification Version 3.3.1. The SD module manages one SD or SDIO card
>> based on the standards
>> outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
>> Specification Version
>> 1.0
>>
>> I'm doubting if the controller support SDHC (SD 2.0) ?
> The PXA27x controller works even with SDXC , that is tested. I suspect there
> might be some change in the PXA3xx controller, but I don't really know for sure.
> You'd have to check.
Thank you for your answer. are you using SD mode or SPI Mode? which
version are you using?
> Also, you didn't really answer my question with regards to porting U-Boot above.
> If you do that, use latest mainline, not 2014.01 .
I just have to add SD support for my board, It's emergency. sorry for that.
>
> Best regards,
> Marek Vasut
--
Best Regards
aking_jin
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 11:48 ` aking
@ 2014-05-26 12:10 ` Marek Vasut
2014-05-26 13:55 ` aking
0 siblings, 1 reply; 16+ messages in thread
From: Marek Vasut @ 2014-05-26 12:10 UTC (permalink / raw)
To: u-boot
On Monday, May 26, 2014 at 01:48:14 PM, aking wrote:
> On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote:
> > On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote:
> >> Hi, Marek
> >>
> >> On 2014/5/26 Mon 16:59, Marek Vasut wrote:
> >>> On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
> >>>> Hi, marek
> >>>>
> >>>> I've seen on the Internet that pxa310 support SDHC up to 32GB,
> >>>> but
> >>>>
> >>>> I'm using u-boot 2014.01, It could initialize OK.
> >>>>
> >>>> Device: PXA MMC
> >>>> Manufacturer ID: 3
> >>>> OEM: 5344
> >>>> Name: SS08G
> >>>> Tran Speed: 26000000
> >>>> Rd Block Len: 512
> >>>> SD version 3.0
> >>>> High Capacity: Yes
> >>>> Capacity: 7.4 GiB
> >>>> Bus Width: 4-bit
> >>>>
> >>>> It shows time out while reading block . Is there any particular
> >>>>
> >>>> process should be add?
> >>>
> >>> It is well possible that the driver is broken on PXA3xx . Note that
> >>> mainline U- Boot doesn't really support PXA3xx . Are you working on
> >>> PXA3xx support for mainline U-Boot ?
> >>
> >> I'm looking for support for pxa310 MMC SDHC .
> >>
> >> In the PXA310 SPEC:
> >> The MMC module is based on the standards outlined in the
> >>
> >> MultiMediaCard System
> >> Specification Version 3.3.1. The SD module manages one SD or SDIO card
> >> based on the standards
> >> outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
> >> Specification Version
> >> 1.0
> >>
> >> I'm doubting if the controller support SDHC (SD 2.0) ?
> >
> > The PXA27x controller works even with SDXC , that is tested. I suspect
> > there might be some change in the PXA3xx controller, but I don't really
> > know for sure. You'd have to check.
>
> Thank you for your answer. are you using SD mode or SPI Mode? which
> version are you using?
I believe the pxa_mmc_gen.c is what needs to be used. There is no other PXA MMC
driver in U-Boot mainline. I now noticed it has some basic monahans (pxa3xx)
support too.
> > Also, you didn't really answer my question with regards to porting U-Boot
> > above. If you do that, use latest mainline, not 2014.01 .
>
> I just have to add SD support for my board, It's emergency. sorry for
> that.
Hmmm.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 12:10 ` Marek Vasut
@ 2014-05-26 13:55 ` aking
2014-05-26 14:15 ` Marek Vasut
0 siblings, 1 reply; 16+ messages in thread
From: aking @ 2014-05-26 13:55 UTC (permalink / raw)
To: u-boot
On 5/26/2014 Monday 8:10 PM, Marek Vasut wrote:
> On Monday, May 26, 2014 at 01:48:14 PM, aking wrote:
>> On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote:
>>> On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote:
>>>> Hi, Marek
>>>>
>>>> On 2014/5/26 Mon 16:59, Marek Vasut wrote:
>>>>> On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
>>>>>> Hi, marek
>>>>>>
>>>>>> I've seen on the Internet that pxa310 support SDHC up to 32GB,
>>>>>> but
>>>>>>
>>>>>> I'm using u-boot 2014.01, It could initialize OK.
>>>>>>
>>>>>> Device: PXA MMC
>>>>>> Manufacturer ID: 3
>>>>>> OEM: 5344
>>>>>> Name: SS08G
>>>>>> Tran Speed: 26000000
>>>>>> Rd Block Len: 512
>>>>>> SD version 3.0
>>>>>> High Capacity: Yes
>>>>>> Capacity: 7.4 GiB
>>>>>> Bus Width: 4-bit
>>>>>>
>>>>>> It shows time out while reading block . Is there any particular
>>>>>>
>>>>>> process should be add?
>>>>> It is well possible that the driver is broken on PXA3xx . Note that
>>>>> mainline U- Boot doesn't really support PXA3xx . Are you working on
>>>>> PXA3xx support for mainline U-Boot ?
>>>> I'm looking for support for pxa310 MMC SDHC .
>>>>
>>>> In the PXA310 SPEC:
>>>> The MMC module is based on the standards outlined in the
>>>>
>>>> MultiMediaCard System
>>>> Specification Version 3.3.1. The SD module manages one SD or SDIO card
>>>> based on the standards
>>>> outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
>>>> Specification Version
>>>> 1.0
>>>>
>>>> I'm doubting if the controller support SDHC (SD 2.0) ?
>>> The PXA27x controller works even with SDXC , that is tested. I suspect
>>> there might be some change in the PXA3xx controller, but I don't really
>>> know for sure. You'd have to check.
>> Thank you for your answer. are you using SD mode or SPI Mode? which
>> version are you using?
> I believe the pxa_mmc_gen.c is what needs to be used. There is no other PXA MMC
> driver in U-Boot mainline. I now noticed it has some basic monahans (pxa3xx)
> support too.
Could you give out a log with MACRO CONFIG_MMC_TRACE on your
pxa27x device ? any initialize ,read ,write, erase operation?
Sorry for disturb you.
>
>>> Also, you didn't really answer my question with regards to porting U-Boot
>>> above. If you do that, use latest mainline, not 2014.01 .
>> I just have to add SD support for my board, It's emergency. sorry for
>> that.
> Hmmm.
>
> Best regards,
> Marek Vasut
--
Best Regards
aking_jin
^ permalink raw reply [flat|nested] 16+ messages in thread* [U-Boot] pxa310 SDHC support.
2014-05-26 13:55 ` aking
@ 2014-05-26 14:15 ` Marek Vasut
2014-05-27 0:53 ` aking_jin
0 siblings, 1 reply; 16+ messages in thread
From: Marek Vasut @ 2014-05-26 14:15 UTC (permalink / raw)
To: u-boot
On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:
[...]
> >>> The PXA27x controller works even with SDXC , that is tested. I suspect
> >>> there might be some change in the PXA3xx controller, but I don't really
> >>> know for sure. You'd have to check.
> >>
> >> Thank you for your answer. are you using SD mode or SPI Mode? which
> >> version are you using?
> >
> > I believe the pxa_mmc_gen.c is what needs to be used. There is no other
> > PXA MMC driver in U-Boot mainline. I now noticed it has some basic
> > monahans (pxa3xx) support too.
>
> Could you give out a log with MACRO CONFIG_MMC_TRACE on your
> pxa27x device ? any initialize ,read ,write, erase operation?
> Sorry for disturb you.
No, I cannot, sorry. I don't have the PXA27x device handy.
+CC panto, he might have an idea how to debug it.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 14:15 ` Marek Vasut
@ 2014-05-27 0:53 ` aking_jin
2014-05-27 9:20 ` Marek Vasut
0 siblings, 1 reply; 16+ messages in thread
From: aking_jin @ 2014-05-27 0:53 UTC (permalink / raw)
To: u-boot
On 2014/5/26 Mon 22:15, Marek Vasut wrote:
> On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:
>
> [...]
>
>>>>> The PXA27x controller works even with SDXC , that is tested. I suspect
>>>>> there might be some change in the PXA3xx controller, but I don't really
>>>>> know for sure. You'd have to check.
>>>> Thank you for your answer. are you using SD mode or SPI Mode? which
>>>> version are you using?
>>> I believe the pxa_mmc_gen.c is what needs to be used. There is no other
>>> PXA MMC driver in U-Boot mainline. I now noticed it has some basic
>>> monahans (pxa3xx) support too.
>> Could you give out a log with MACRO CONFIG_MMC_TRACE on your
>> pxa27x device ? any initialize ,read ,write, erase operation?
>> Sorry for disturb you.
> No, I cannot, sorry. I don't have the PXA27x device handy.
Thanks , are you using SPI mode or SD mode with your SDXC card? This is
Important.
>
> +CC panto, he might have an idea how to debug it.
>
> Best regards,
> Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-27 0:53 ` aking_jin
@ 2014-05-27 9:20 ` Marek Vasut
2014-06-13 9:13 ` aking_jin
0 siblings, 1 reply; 16+ messages in thread
From: Marek Vasut @ 2014-05-27 9:20 UTC (permalink / raw)
To: u-boot
On Tuesday, May 27, 2014 at 02:53:44 AM, aking_jin wrote:
> On 2014/5/26 Mon 22:15, Marek Vasut wrote:
> > On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:
> >
> > [...]
> >
> >>>>> The PXA27x controller works even with SDXC , that is tested. I
> >>>>> suspect there might be some change in the PXA3xx controller, but I
> >>>>> don't really know for sure. You'd have to check.
> >>>>
> >>>> Thank you for your answer. are you using SD mode or SPI Mode? which
> >>>> version are you using?
> >>>
> >>> I believe the pxa_mmc_gen.c is what needs to be used. There is no other
> >>> PXA MMC driver in U-Boot mainline. I now noticed it has some basic
> >>> monahans (pxa3xx) support too.
> >>>
> >> Could you give out a log with MACRO CONFIG_MMC_TRACE on your
> >>
> >> pxa27x device ? any initialize ,read ,write, erase operation?
> >>
> >> Sorry for disturb you.
> >
> > No, I cannot, sorry. I don't have the PXA27x device handy.
>
> Thanks , are you using SPI mode or SD mode with your SDXC card? This is
> Important.
SD mode.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-27 9:20 ` Marek Vasut
@ 2014-06-13 9:13 ` aking_jin
2014-06-13 10:32 ` Marek Vasut
0 siblings, 1 reply; 16+ messages in thread
From: aking_jin @ 2014-06-13 9:13 UTC (permalink / raw)
To: u-boot
On 2014-5-27 17:20, Marek Vasut wrote:
> On Tuesday, May 27, 2014 at 02:53:44 AM, aking_jin wrote:
>> On 2014/5/26 Mon 22:15, Marek Vasut wrote:
>>> On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:
>>>
>>> [...]
>>>
>>>>>>> The PXA27x controller works even with SDXC , that is tested. I
>>>>>>> suspect there might be some change in the PXA3xx controller, but I
>>>>>>> don't really know for sure. You'd have to check.
>>>>>> Thank you for your answer. are you using SD mode or SPI Mode? which
>>>>>> version are you using?
>>>>> I believe the pxa_mmc_gen.c is what needs to be used. There is no other
>>>>> PXA MMC driver in U-Boot mainline. I now noticed it has some basic
>>>>> monahans (pxa3xx) support too.
>>>>>
>>>> Could you give out a log with MACRO CONFIG_MMC_TRACE on your
>>>>
>>>> pxa27x device ? any initialize ,read ,write, erase operation?
>>>>
>>>> Sorry for disturb you.
>>> No, I cannot, sorry. I don't have the PXA27x device handy.
>> Thanks , are you using SPI mode or SD mode with your SDXC card? This is
>> Important.
> SD mode.
In recently test, the mmc clock seemed didn't start successfully
after stop mmc clock. if the function pxa_mmc_stop_clock was NOT used.
the data sent to sdcard was corrupt. That's annoyed.
Could you provide a way to solve the problem?
>
> Best regards,
> Marek Vasut
Best Regards,
Aking jin
^ permalink raw reply [flat|nested] 16+ messages in thread* [U-Boot] pxa310 SDHC support.
2014-06-13 9:13 ` aking_jin
@ 2014-06-13 10:32 ` Marek Vasut
0 siblings, 0 replies; 16+ messages in thread
From: Marek Vasut @ 2014-06-13 10:32 UTC (permalink / raw)
To: u-boot
On Friday, June 13, 2014 at 11:13:27 AM, aking_jin wrote:
> On 2014-5-27 17:20, Marek Vasut wrote:
> > On Tuesday, May 27, 2014 at 02:53:44 AM, aking_jin wrote:
> >> On 2014/5/26 Mon 22:15, Marek Vasut wrote:
> >>> On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:
> >>>
> >>> [...]
> >>>
> >>>>>>> The PXA27x controller works even with SDXC , that is tested. I
> >>>>>>> suspect there might be some change in the PXA3xx controller, but I
> >>>>>>> don't really know for sure. You'd have to check.
> >>>>>>
> >>>>>> Thank you for your answer. are you using SD mode or SPI Mode? which
> >>>>>> version are you using?
> >>>>>
> >>>>> I believe the pxa_mmc_gen.c is what needs to be used. There is no
> >>>>> other PXA MMC driver in U-Boot mainline. I now noticed it has some
> >>>>> basic monahans (pxa3xx) support too.
> >>>>>
> >>>> Could you give out a log with MACRO CONFIG_MMC_TRACE on
> >>>> your
> >>>>
> >>>> pxa27x device ? any initialize ,read ,write, erase operation?
> >>>>
> >>>> Sorry for disturb you.
> >>>
> >>> No, I cannot, sorry. I don't have the PXA27x device handy.
> >>
> >> Thanks , are you using SPI mode or SD mode with your SDXC card? This is
> >> Important.
> >
> > SD mode.
>
> In recently test, the mmc clock seemed didn't start successfully
> after stop mmc clock. if the function pxa_mmc_stop_clock was NOT used.
> the data sent to sdcard was corrupt. That's annoyed.
> Could you provide a way to solve the problem?
First, please explain properly how to replicate this issue. Second, patch is
always welcome.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 10:56 ` Marek Vasut
2014-05-26 11:48 ` aking
@ 2014-05-26 11:54 ` aking
2014-05-26 12:56 ` Marek Vasut
1 sibling, 1 reply; 16+ messages in thread
From: aking @ 2014-05-26 11:54 UTC (permalink / raw)
To: u-boot
On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote:
> On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote:
>> Hi, Marek
>>
>> On 2014/5/26 Mon 16:59, Marek Vasut wrote:
>>> On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote:
>>>> Hi, marek
>>>>
>>>> I've seen on the Internet that pxa310 support SDHC up to 32GB, but
>>>>
>>>> I'm using u-boot 2014.01, It could initialize OK.
>>>>
>>>> Device: PXA MMC
>>>> Manufacturer ID: 3
>>>> OEM: 5344
>>>> Name: SS08G
>>>> Tran Speed: 26000000
>>>> Rd Block Len: 512
>>>> SD version 3.0
>>>> High Capacity: Yes
>>>> Capacity: 7.4 GiB
>>>> Bus Width: 4-bit
>>>>
>>>> It shows time out while reading block . Is there any particular
>>>>
>>>> process should be add?
>>> It is well possible that the driver is broken on PXA3xx . Note that
>>> mainline U- Boot doesn't really support PXA3xx . Are you working on
>>> PXA3xx support for mainline U-Boot ?
>> I'm looking for support for pxa310 MMC SDHC .
>> In the PXA310 SPEC:
>>
>> The MMC module is based on the standards outlined in the
>> MultiMediaCard System
>> Specification Version 3.3.1. The SD module manages one SD or SDIO card
>> based on the standards
>> outlined in the SD Memory Card Specification Version 1.10 and SDIO Card
>> Specification Version
>> 1.0
>>
>> I'm doubting if the controller support SDHC (SD 2.0) ?
> The PXA27x controller works even with SDXC , that is tested. I suspect there
> might be some change in the PXA3xx controller, but I don't really know for sure.
> You'd have to check.
Thank you for your answer. are you using SD mode or SPI Mode? which
version are you using?
> Also, you didn't really answer my question with regards to porting U-Boot above.
> If you do that, use latest mainline, not 2014.01 .
I just have to add SD support for my board, It's emergency. sorry for that.
>
> Best regards,
> Marek Vasut
--
Best Regards
aking_jin
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
2014-05-26 11:54 ` aking
@ 2014-05-26 12:56 ` Marek Vasut
0 siblings, 0 replies; 16+ messages in thread
From: Marek Vasut @ 2014-05-26 12:56 UTC (permalink / raw)
To: u-boot
On Monday, May 26, 2014 at 01:54:54 PM, aking wrote:
[...]
> > Also, you didn't really answer my question with regards to porting U-Boot
> > above. If you do that, use latest mainline, not 2014.01 .
>
> I just have to add SD support for my board, It's emergency. sorry for
> that.
Can you please fix your mailer so that I am not receiving every email from you
twice with 10-minutes delay between that ?
Thanks
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 16+ messages in thread
* [U-Boot] pxa310 SDHC support.
@ 2014-05-26 8:05 aking_jin
0 siblings, 0 replies; 16+ messages in thread
From: aking_jin @ 2014-05-26 8:05 UTC (permalink / raw)
To: u-boot
Hi, marek
I've seen on the Internet that pxa310 support SDHC up to 32GB, but
I'm using u-boot 2014.01, It could initialize OK.
Device: PXA MMC
Manufacturer ID: 3
OEM: 5344
Name: SS08G
Tran Speed: 26000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
It shows time out while reading block . Is there any particular
process should be add?
Thank you very much.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2014-06-13 10:32 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 7:51 [U-Boot] pxa310 SDHC support aking_jin
2014-05-26 8:59 ` Marek Vasut
2014-05-26 10:17 ` aking_jin
2014-05-26 10:28 ` aking_jin
2014-05-26 10:56 ` Marek Vasut
2014-05-26 11:48 ` aking
2014-05-26 12:10 ` Marek Vasut
2014-05-26 13:55 ` aking
2014-05-26 14:15 ` Marek Vasut
2014-05-27 0:53 ` aking_jin
2014-05-27 9:20 ` Marek Vasut
2014-06-13 9:13 ` aking_jin
2014-06-13 10:32 ` Marek Vasut
2014-05-26 11:54 ` aking
2014-05-26 12:56 ` Marek Vasut
-- strict thread matches above, loose matches on Subject: below --
2014-05-26 8:05 aking_jin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox