[U-Boot] : MACB TX timeout

Jagan Teki jagannadh.teki at gmail.com
Fri Jul 5 04:48:30 CEST 2013


Hi Bo Shen,

Thanks for your info.

On Fri, Jul 5, 2013 at 7:04 AM, Bo Shen <voice.shen at 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.


More information about the U-Boot mailing list