mmc/sd driver testing.
Alexander Fedorov
alexander.fedorov at rtlservice.com
Sun Apr 19 20:00:44 UTC 2015
Hi Luiz!
Your patches work great to me!
It works good on my PC-Duino with typical use cases. I'm performing
'make buildworld' tomorrow to make all thing up and kicking=).
Thanks.
2015-04-18 6:32 GMT+03:00 Luiz Otavio O Souza <lists.br at gmail.com>:
> On 16 April 2015 at 19:32, Luiz Otavio O Souza wrote:
>> On 16 April 2015 at 18:41, Alexander Fedorov wrote:
>>> Hello!
>>>
>>> If it helps, I've updated my patch to CURRENT r281599.
>>>
>>> These are the changes from the previous version:
>>> - Style fixes, suggested by Ian.
>>> - Speed improovment (reading from 2 MB/s to 5-6 MB/s, writing from 0.8
>>> to 1.5 MB/s).
>>> - Use bus_space_write_multi_4/bus_space_read_multi_4 for large blocks.
>>> - Multiblock I/O support.
>>
>> I did a few changes to your driver and now I need some help with
>> testing (I have tested only on Cubieboard2 so far).
>>
>> The changes include:
>>
>> - better error handling on mmc_acquire_host();
>> - Removed the busy loops from interrupt handler;
>> - Use PLL6 as the clock source for MMC/SD (from netbsd);
>> - Simplified interrupt handling - always unmasked and enabled (from netbsd);
>> - Style(9) fixes.
>
> Okay, I have committed a few changes to reduce the differences and now
> you need only the following patches (with a fresh -head):
>
> http://loos.com.br/allwinner/a10_mmc.diff
> http://loos.com.br/allwinner/kernel-conf.diff
> http://loos.com.br/allwinner/sunxi-dts.diff
>
> Please, try it and report back :)
>
> Luiz
More information about the freebsd-arm
mailing list