[U-Boot] [PATCH 2/2] mips: ath79: ar933x: Fix probe error for kernel driver ag71xx

Wills Wang wills.wang at live.com
Sun May 22 04:06:36 CEST 2016



On 05/22/2016 12:43 AM, Daniel Schwierzeck wrote:
> 2016-05-21 13:58 GMT+02:00 Wills Wang <wills.wang at live.com>:
>> We need reset the Ethernet Switch analog part before operation,
>> or the build-in Ethernet PHY don't work, openwrt kernel driver
>> ag71xx occur the following error:
>>
>> [    1.854519] libphy: ag71xx_mdio: probed
>> [    2.646539] ag71xx-mdio.1: unknown phy id 'ffff:ffff'
>> [    3.235778] ag71xx ag71xx.0: no PHY found with phy_mask=00000010
>>
>> Signed-off-by: Wills Wang <wills.wang at live.com>
>> ---
> could you please change the commit subject and message? Your intention
> is to make Marek's ag71xx ethernet driver working for AR933x, isn't
> it?
Ok
> If a kernel driver is dependent on the initialization of the
> bootloader, then that should be fixed in the kernel driver. The
> philosophy of U-Boot is to not initialize hardware at all when it's
> not needed by U-Boot itself. Thus if one boots a board without using
> network in the bootloader or if one doesn't compile in network
> support, the ethernet hardware parts are never initialized. But the
> kernel and it's drivers should still work.
>

-- 
Best Regards
Wills



More information about the U-Boot mailing list