Old regression possibly affecting many devices with build options in Kconfig files
dario86 at tutamail.com
Fri Apr 24 17:47:16 CEST 2020
Your patch works. Thank you!
This is the first time I post a bug report on a mailing list. I hope I have included the right recipients.
The network adapter of this board is affected by another bug for which I have found a partial solution. I will send a separate message to discuss the issue.
24 apr 2020, 14:04 da agust at denx.de:
> Hi Dario,
> On Thu, 23 Apr 2020 19:27:23 +0200 (CEST)
> Dario dario86 at tutamail.com wrote:
>> On 2017/02/07 commit af2cbfd6b982f7a52414ea50b2ece0290d4b748f broke gigabit ethernet for Olimex A20-OLinuXino-LIME2. This commit likely prevents the activation of the option CONFIG_RTL8211X_PHY_FORCE_MASTER needed for proper gigabit networking on this device. Since the only modification introduced by this commit was moving Kconfig files, I suspect this change may affect many more devices as well for which proper build options may not be enabled.
>> Apart from how this went unnoticed for such a long time, what really puzzles me is commit 8728c97eff5bd95f58320f886ae305f17931a374 submitted on 2017/03/13 which removes CONFIG_RTL8211X_PHY_FORCE_MASTER from configs/A20-OLinuXino-Lime2_defconfig altogether.
> since the first mentioned commit CONFIG_RTL8211X_PHY_FORCE_MASTER depends
> on CONFIG_PHY_REALTEK, but this was not enabled in board defconfig. This
> is probably the reason why it was dropped in 8728c97eff5b.
>> I think it is not by chance that Arch Linux ARM kept the package uboot-a20-olinuxino-lime2 at version 2017.01-2 which is the last working version before the aforementioned commit broke gigabit ethernet for this board.
>> My A20-OLinuXino-Lime2 is the only device I have available for testing. My fear is that many more devices may be affected since this same option was removed from A20-Olimex-SOM-EVB_defconfig as well along with several other options from many other devices.
> Please test patch . If it helps, we can see how to fix other boards.
> When reporting, please also Cc board maintainers (see board/sunxi/MAINTAINERS).
>  http://email@example.com/
More information about the U-Boot