AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Mar 2 12:16:23 EST 2012
On 16:35 Fri 02 Mar , Sascha Hauer wrote:
> On Fri, Mar 02, 2012 at 03:12:46PM +0200, RONETIX - Asen Dimov wrote:
> > Hello everyone,
> >
> > the Ethernet on AT91SAM9G45(with ARM926J CPU) is not operational
> > when the MMU is enabled.
> > Have some met with this issue before and probably solved it?
>
> grep for dma_alloc_coherent, dma_flush_range. This should give you the
> hints necessary to make it work.
I found back some patch to support it
the main issue is "bug" in the network stack of barebox
the send buffer is not allocated via dma_alloc_coherent so it's cdoes not work
on the macb you need the send and the receive buffer allocated via
dam_alloc_coherent
I'll send some patch
Best Regards,
J.
More information about the barebox
mailing list