Date: Sun, 19 Apr 2015 23:00:42 +0300 From: Alexander Fedorov <alexander.fedorov@rtlservice.com> To: Luiz Otavio O Souza <lists.br@gmail.com> Cc: Bas Vermin <bas@nimrev.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: mmc/sd driver testing. Message-ID: <CAOcOT_yh90u1E0ygRQUrCFvmwnmHdSHs8%2BqshaDqKekuRaf__w@mail.gmail.com> In-Reply-To: <CAB=2f8x=T4bQ6JWpA=S8%2BHfd1tCpA-7kY2E_RzTgnpSHv6EQgw@mail.gmail.com> References: <6970CFB2-6347-4BAF-BA24-56196C33C3BC@nimrev.com> <CAGf2gkNmShMuSKU1pP0t6bU87XPf_8G0_7zO%2BbiC3cvodO9TXA@mail.gmail.com> <37983D60-3AD9-4DEC-A1D8-4E65BABE3066@nimrev.com> <CAOcOT_y44AKpQzv9un644fV=mmOBgJ3gp=L%2BziVK5gghRxbANA@mail.gmail.com> <CAB=2f8xtLKrY5Xj0rgpJ7hXatD0OyUwOrv-UrqAM=J-O_foD1A@mail.gmail.com> <CAB=2f8x=T4bQ6JWpA=S8%2BHfd1tCpA-7kY2E_RzTgnpSHv6EQgw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOcOT_yh90u1E0ygRQUrCFvmwnmHdSHs8%2BqshaDqKekuRaf__w>