* [U-Boot] : MACB TX timeout
@ 2013-07-04 19:36 Jagan Teki
2013-07-05 1:34 ` Bo Shen
0 siblings, 1 reply; 6+ messages in thread
From: Jagan Teki @ 2013-07-04 19:36 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] : MACB TX timeout
2013-07-04 19:36 [U-Boot] : " Jagan Teki
@ 2013-07-05 1:34 ` Bo Shen
2013-07-05 2:48 ` Jagan Teki
0 siblings, 1 reply; 6+ messages in thread
From: Bo Shen @ 2013-07-05 1:34 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] : MACB TX timeout
2013-07-05 1:34 ` Bo Shen
@ 2013-07-05 2:48 ` Jagan Teki
2013-07-05 7:49 ` Bo Shen
0 siblings, 1 reply; 6+ messages in thread
From: Jagan Teki @ 2013-07-05 2:48 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] : MACB TX timeout
2013-07-05 2:48 ` Jagan Teki
@ 2013-07-05 7:49 ` Bo Shen
0 siblings, 0 replies; 6+ messages in thread
From: Bo Shen @ 2013-07-05 7:49 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] MACB TX timeout
@ 2015-02-08 6:52 Jason Fu
2015-02-08 21:00 ` Andreas Bießmann
0 siblings, 1 reply; 6+ messages in thread
From: Jason Fu @ 2015-02-08 6:52 UTC (permalink / raw)
To: u-boot
Hi,
I'm working on sama5d36 evaluation kit. From u-boot, I have set mac, ip. When I try to ping a ip address on LAN. I get "TX timeout". I can ping the ip successful with gmac0, but couldn't with macb0.
Did anyone find this issue before?
Log:
U-Boot> ping 192.168.10.11
macb0: PHY present at 0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0xcd81)
Using macb0 device
macb0: TX timeout
macb0: TX timeout
ping failed; host 192.168.10.11 is not alive
U-Boot> ping 192.168.10.11
macb0: PHY present at 0
macb0:0 is connected to macb0. Reconnecting to macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation timed out (status=0x7849)
macb0: link down (status: 0x7849)
gmac0: PHY present at 7
gmac0: Starting autonegotiation...
gmac0: Autonegotiation complete
gmac0: link up, 100Mbps full-duplex (lpa: 0xcd81)
Using gmac0 device
host 192.168.10.11 is alive
Thanks,
Jason
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] MACB TX timeout
2015-02-08 6:52 [U-Boot] MACB TX timeout Jason Fu
@ 2015-02-08 21:00 ` Andreas Bießmann
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Bießmann @ 2015-02-08 21:00 UTC (permalink / raw)
To: u-boot
Hi Jason,
On 08.02.15 07:52, Jason Fu wrote:
> Hi,
>
> I'm working on sama5d36 evaluation kit. From u-boot, I have set mac, ip. When I try to ping a ip address on LAN. I get "TX timeout". I can ping the ip successful with gmac0, but couldn't with macb0.
> Did anyone find this issue before?
have you checked your errata notice [1] in chapter 7.1.1? If you have a
rev C base board you should add the impedance mismatch fix mentioned there.
Best regards
Andreas Bie?mann
[1]
http://www.atmel.com/Images/Atmel_11180_32-bit-Cortex-A5-Microcontroller_SAMA5D3-Series-EK_User-Guide.pdf
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-08 21:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-08 6:52 [U-Boot] MACB TX timeout Jason Fu
2015-02-08 21:00 ` Andreas Bießmann
-- strict thread matches above, loose matches on Subject: below --
2013-07-04 19:36 [U-Boot] : " Jagan Teki
2013-07-05 1:34 ` Bo Shen
2013-07-05 2:48 ` Jagan Teki
2013-07-05 7:49 ` Bo Shen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox