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

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sat May 21 18:43:11 CEST 2016


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?

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.

-- 
- Daniel


More information about the U-Boot mailing list