[PATCH linux 3/4] ftgmac100: Add devicetree option for the Aspeed g5 register interface
Cédric Le Goater
clg at kaod.org
Sat Jun 25 03:18:19 AEST 2016
On 06/24/2016 09:28 AM, Joel Stanley wrote:
> Hey Cedric,
>
> On Fri, Jun 24, 2016 at 2:39 AM, Cédric Le Goater <clg at kaod.org> wrote:
>>> So, given that there always has been fixes from Aspeed on the driver in
>>> u-boot (see below), it seems that these EDO bits have been wrong since
>>> the beginning in Linux.
>>>
>>> I am wondering what how this was working. We should probably contact
>>> Aspeed to have some clarification.
>>
>> Aspeed said that they have a different design than Faraday and we should
>> be using :
>>
>> #define FTGMAC100_TXDES0_EDOTR (1 << 30)
>> #define FTGMAC100_RXDES0_EDORR (1 << 30)
>>
>> for all boards : ast2400 *and* ast2500.
>>
>> I gave it a try on a palmetto and indeed, network works fine with the
>> Aspeed EDO{T,R}R bits.
>
> Nice investigation. Thank you for doing that.
Yes. Well, the Linux driver is consistent with U-Boot now.
> I have sent a revised patch for the kernel that incorporates Andrew's
> work with your findings.
>
> https://lists.ozlabs.org/pipermail/openbmc/2016-June/003876.html
> https://lists.ozlabs.org/pipermail/openbmc/2016-June/003877.html
>
> Please review and add your tags, and I'll update the branch with the fixes.
done.
> If you want to do something similar for u-boot then please go ahead.
yes. I would like first to revise the u-boot device model I could not
get working in both environment. With the kernel above, that should
be better.
And then, U-Boot will get some aesthetic surgery, for sure :)
Thanks a lot,
C.
> Otherwise I'll do it on Monday.
>
> Cheers,
>
> Joel
>
More information about the openbmc
mailing list