Sorry, have forgotten to add [email protected] to CC.
On Sat, Jun 09, 2018 At 23:50:18 +0200, Johannes Krottmayer wrote:
> On Sat, Jun 09, 2018 At 22:32:07 +0200, Mark Kettenis wrote:
>> Works fine for me, but my board is connected to a 100Mbit/s switch.
>>
>> I suspect this is related to the tx_delay settings in the device tree.
>> The firmware has:
>>
>> tx_delay: 00000018
>>
>> whereas the linux device tree has:
>>
>> tx_delay: 00000024
>>
>> You could try and change that number and see if things improve.
>>
>> Cheers.
>>
>> Mark
>>
> You are right!
>
> I have made a quick and dirty workaround. I have hardcoded the
> value 18 for the TX delay in the if_dwge_fdt.c driver.
>
> Now the ethernet works with my 1000Mbit switch.
>
> Thanks!
>
> Best regards
> Johannes