Skip to contentSkip to conversation

pxa310 SDHC support.

U-Boot aking_jin 2 participants 15 messages May 26, 2014 – Jun 13, 2014

lore
Share & tools
lore

aking_jin

author
#0 lore raw

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.

#1 lore raw
Quoted 15 lines · aking_jin

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

Quoted 2 lines

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

author
#2 lore raw

Hi, Marek

Quoted 16 lines · Marek Vasut
Quoted 15 lines · aking_jin

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

Quoted 5 lines
Quoted 2 lines

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) ?

Quoted 3 lines

Best regards,
Marek Vasut

author
#3 lore raw
In reply to Marek Vasut

Hi, Marek

Quoted 16 lines · Marek Vasut
Quoted 15 lines · aking_jin

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

Quoted 5 lines
Quoted 2 lines

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) ?

Quoted 3 lines

Best regards,
Marek Vasut

#4 lore raw
Quoted 40 lines · aking_jin

Hi, Marek

Quoted 18 lines · Marek Vasut
Quoted 17 lines · aking_jin

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

Quoted 7 lines
Quoted 3 lines

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

Quoted 1 line

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

author
#5 lore raw
Quoted 39 lines · Marek Vasut
Quoted 38 lines · aking_jin

Hi, Marek

Quoted 18 lines · Marek Vasut
Quoted 17 lines · aking_jin

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

Quoted 6 lines
Quoted 3 lines

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

Quoted 4 lines
Quoted 1 line

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?

Quoted 2 lines

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.

Quoted 3 lines

Best regards,
Marek Vasut

Signature · 2 lines
Best Regards
aking_jin
#6 lore raw
Quoted 44 lines · aking
Quoted 43 lines · Marek Vasut
Quoted 42 lines · aking_jin

Hi, Marek

Quoted 19 lines · Marek Vasut
Quoted 18 lines · aking_jin

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

Quoted 7 lines
Quoted 3 lines

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

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

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.

Quoted 5 lines
Quoted 2 lines

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

author
#7 lore raw
Quoted 44 lines · Marek Vasut
Quoted 43 lines · aking
Quoted 42 lines · Marek Vasut
Quoted 41 lines · aking_jin

Hi, Marek

Quoted 19 lines · Marek Vasut
Quoted 18 lines · aking_jin

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

Quoted 6 lines
Quoted 3 lines

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) ?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

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.

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

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

Signature · 2 lines
Best Regards
aking_jin
#8 lore raw

On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:

[...]

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

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?

Quoted 7 lines
Quoted 3 lines

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

author
#9 lore raw
Quoted 9 lines · Marek Vasut

On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:

[...]

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

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?

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

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.

Quoted 5 lines

+CC panto, he might have an idea how to debug it.

Best regards,
Marek Vasut

#10 lore raw
Quoted 18 lines · aking_jin
Quoted 17 lines · Marek Vasut

On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:

[...]

Quoted 13 lines
Quoted 11 lines
Quoted 6 lines
Quoted 3 lines

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

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

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

author
#11 lore raw
Quoted 17 lines · Marek Vasut
Quoted 16 lines · aking_jin
Quoted 15 lines · Marek Vasut

On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:

[...]

Quoted 11 lines
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

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

Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

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?

Quoted 3 lines

Best regards,
Marek Vasut

Best Regards,
Aking jin

#12 lore raw
Quoted 30 lines · aking_jin
Quoted 29 lines · Marek Vasut
Quoted 27 lines · aking_jin
Quoted 15 lines · Marek Vasut

On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:

[...]

Quoted 11 lines
Quoted 11 lines
Quoted 6 lines
Quoted 3 lines

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.

Quoted 8 lines
Quoted 6 lines

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.

Quoted 6 lines
Quoted 1 line

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

author
#13 lore raw
In reply to Marek Vasut
Quoted 39 lines · Marek Vasut
Quoted 38 lines · aking_jin

Hi, Marek

Quoted 18 lines · Marek Vasut
Quoted 17 lines · aking_jin

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

Quoted 6 lines
Quoted 3 lines

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

Quoted 4 lines
Quoted 1 line

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?

Quoted 2 lines

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.

Quoted 3 lines

Best regards,
Marek Vasut

Signature · 2 lines
Best Regards
aking_jin
#14 lore raw

On Monday, May 26, 2014 at 01:54:54 PM, aking wrote:

[...]

Quoted 5 lines
Quoted 2 lines

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