From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled
Date: Fri, 2 Mar 2012 18:16:23 +0100 [thread overview]
Message-ID: <20120302171623.GC12248@game.jcrosoft.org> (raw)
In-Reply-To: <20120302153559.GP3852@pengutronix.de>
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.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2012-03-02 17:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 13:12 RONETIX - Asen Dimov
2012-03-02 13:16 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-02 15:35 ` Sascha Hauer
2012-03-02 17:16 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120302171623.GC12248@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox