[U-Boot] : MACB TX timeout

Hi,
Did anyone find this TX timeout issue on macb(gmac)? I observed this issue when i enable d-cache.
Log: ---- zynq-uboot> ping 10.10.70.101 gmac0: PHY present at 7 gmac0: link up, 1000Mbps full-duplex (lpa: 0x3800) Using gmac0 device gmac0: TX timeout gmac0: TX timeout ping failed; host 10.10.70.101 is not alive
Any help.!
-- Thanks, Jagan.

Hi Jagan Teki,
On 7/5/2013 03:36, Jagan Teki wrote:
Hi,
Did anyone find this TX timeout issue on macb(gmac)? I observed this issue when i enable d-cache.
Log:
zynq-uboot> ping 10.10.70.101 gmac0: PHY present at 7 gmac0: link up, 1000Mbps full-duplex (lpa: 0x3800) Using gmac0 device gmac0: TX timeout gmac0: TX timeout ping failed; host 10.10.70.101 is not alive
Sure, this will happen, as the macb driver is not worked with d-cache enabled. If you want to let the macb work with d-cache enable, you should modify the driver.
BTW, if you want to enable d-cache, the MMU must be enabled.
Any help.!
-- Thanks, Jagan.
Best Regards, Bo Shen

Hi Bo Shen,
Thanks for your info.
On Fri, Jul 5, 2013 at 7:04 AM, Bo Shen voice.shen@atmel.com wrote:
Hi Jagan Teki,
On 7/5/2013 03:36, Jagan Teki wrote:
Hi,
Did anyone find this TX timeout issue on macb(gmac)? I observed this issue when i enable d-cache.
Log:
zynq-uboot> ping 10.10.70.101 gmac0: PHY present at 7 gmac0: link up, 1000Mbps full-duplex (lpa: 0x3800) Using gmac0 device gmac0: TX timeout gmac0: TX timeout ping failed; host 10.10.70.101 is not alive
Sure, this will happen, as the macb driver is not worked with d-cache enabled.
Can you point any existing driver that have a d-cache working.
If you want to let the macb work with d-cache enable, you should modify the driver.
BTW, if you want to enable d-cache, the MMU must be enabled.
Specific setup to enable to MMU, please point. I see that we need to write dram_bank_mmu_setup() and arm_init_domains() on d-cache enable code in soc folders is that true? please let me know your views.
-- Thanks, Jagan.

Hi Jagan,
On 7/5/2013 10:48, Jagan Teki wrote:
Hi Bo Shen,
Thanks for your info.
On Fri, Jul 5, 2013 at 7:04 AM, Bo Shen voice.shen@atmel.com wrote:
Hi Jagan Teki,
On 7/5/2013 03:36, Jagan Teki wrote:
Hi,
Did anyone find this TX timeout issue on macb(gmac)? I observed this issue when i enable d-cache.
Log:
zynq-uboot> ping 10.10.70.101 gmac0: PHY present at 7 gmac0: link up, 1000Mbps full-duplex (lpa: 0x3800) Using gmac0 device gmac0: TX timeout gmac0: TX timeout ping failed; host 10.10.70.101 is not alive
Sure, this will happen, as the macb driver is not worked with d-cache enabled.
Can you point any existing driver that have a d-cache working.
I see the driver of ftgmac100 is doing the thing, but I am not sure whether the code is merged.
If you want to let the macb work with d-cache enable, you should modify the driver.
BTW, if you want to enable d-cache, the MMU must be enabled.
Specific setup to enable to MMU, please point. I see that we need to write dram_bank_mmu_setup() and arm_init_domains() on d-cache enable code in soc folders is that true? please let me know your views.
I am sorry, no information can share with you at this moment.
-- Thanks, Jagan.
Best Regards, Bo Shen
participants (2)
-
Bo Shen
-
Jagan Teki