Hi, I put the test procedure how I tested SDIO with UHS speeds to the elinux wiki. You can find it here: http://elinux.org/Tests:SDIO-with-UHS While the task description only mandated H3 and a AC-180M SDIO card, I also did some extra tests on M3-W and an EMMY-W1 SDIO card (which has the same SD8887 chipset from Marvell) to have better comparison. Quite some remarks coming from this setup: A) A seperate branch is needed, merging SDHI-DMA support into ren-drivers and adding 5 more little patches. 2 are aleady on their way upstream and one will be taken care of by mwifiex maintainers. One remaining is a workaround for a race condition when enabling SDIO irqs. This surely needs further investigation. And one has to do with TDSEL settings again. I plan to write up my TDSEL findings and experiences next Monday. B) Operating at 100MHz for SDR50, it is no surprise that line lengths and other line characteristics are heavily influencing the result: 1) my M3-W seems to be more stable than my H3 (ES 1.0) While testing transfer speeds, H3 gave me occasional "timeout waiting for SD bus idle". M3-W did not, with the same pinctrl settings. 2) on H3, CN14 seems to be more stable than CN13 ?? Line length issues? 3) the EMMY-W1 module seems to be more stable than the AC-180M AC-180M already has problems loading the firmware. The supplied antenna gives way worse signals than EMMY-W1. AC-180M does not really fit into CN14 due to its size and needs to be held in position manually. AC-180M couldn't be tuned with SDR104 unlike EMMY-W1. But I really hope that at least the antenna issue is only local for me and there will be better results with the other cards in Japan. C) UHS is faster than non-UHS, 802.11ac than 802.11n, but just a little For the more stable EMMY card, SDR50 gives more throughput than standard hi-speed, but more could be expected. Same goes for switching from 802.11n to 802.11ac. Further notes: Tests have mainly been done with SDIO irqs. Occasional tests with polling did not make a difference in performance. The only notable difference was experiencing the race condition mentioned above and worked around in the git repo. All tests have been done with 4 bit bus width. When aiming for UHS speeds, 1 bit bus width didn't seem feasible. Hotplugging worked fine. Whenever a stable pinmux setting was found (TDSEL!), un- and replugging the SDIO card worked flawlessly. Thanks, Wolfram
Attachment:
signature.asc
Description: PGP signature