[U-Boot] pxa310 SDHC support.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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
participants (3)
-
aking
-
aking_jin
-
Marek Vasut