Skip to contentSkip to conversation

AT91SAM9G45: MACB: not usable Ethernet when MMU is enabled

DISCUSSION RONETIX - Asen Dimov 3 participants 4 messages Mar 2, 2012

lore
Share & tools
lore
#2 lore raw
In reply to RONETIX - Asen Dimov
Quoted 5 lines · RONETIX - Asen Dimov

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

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
Quoted 9 lines · Sascha Hauer
Quoted 5 lines · RONETIX - Asen Dimov

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox