mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled
@ 2012-03-02 13:12 RONETIX - Asen Dimov
  2012-03-02 13:16 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-03-02 15:35 ` Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: RONETIX - Asen Dimov @ 2012-03-02 13:12 UTC (permalink / raw)
  To: barebox

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?

Regards,
Asen



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled
  2012-03-02 13:12 AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled RONETIX - Asen Dimov
@ 2012-03-02 13:16 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-03-02 15:35 ` Sascha Hauer
  1 sibling, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-03-02 13:16 UTC (permalink / raw)
  To: RONETIX - Asen Dimov; +Cc: barebox

On 15:12 Fri 02 Mar     , 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?
check if the buffer is allocated for dma

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled
  2012-03-02 13:12 AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled 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
  1 sibling, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2012-03-02 15:35 UTC (permalink / raw)
  To: RONETIX - Asen Dimov; +Cc: barebox

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.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled
  2012-03-02 15:35 ` Sascha Hauer
@ 2012-03-02 17:16   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-03-02 17:16 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-02 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02 13:12 AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox