Message ID | 56E93B46.2070400@redhat.com |
---|---|
State | Superseded |
Delegated to: | Hans de Goede |
Headers | show |
On Wed, Mar 16, 2016 at 11:53:58AM +0100, Hans de Goede wrote: [ Olimex OlinuXino Lime2: netboot on a gigabit ethernet link results in a corrupted image while on a 100MBit link things work properly ] > So this made me think: are we building the u-boot phy drivers. Guess what we > are not, which might explain things, can you try this change: > > --- a/include/configs/sunxi-common.h > +++ b/include/configs/sunxi-common.h > @@ -314,6 +314,7 @@ extern int soft_i2c_gpio_scl; > #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */ > #define CONFIG_PHY_ADDR 1 > #define CONFIG_MII /* MII PHY management */ > +#define CONFIG_PHY_REALTEK > #endif > > #ifdef CONFIG_USB_EHCI_HCD > > And see if that helps ? Hello, I have tried this patch on top of v2016.01 (as v2016.03 has other network-related problems, cf. the thread starting at http://lists.denx.de/pipermail/u-boot/2016-March/247565.html), but unfortunately it doesn't bring any visible improvement. Netbooting a kernel on a gigabit link still results in a non-booting or crashing kernel while everything works fine on a 100MBit link. Regards, Karsten
--- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -314,6 +314,7 @@ extern int soft_i2c_gpio_scl; #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */ #define CONFIG_PHY_ADDR 1 #define CONFIG_MII /* MII PHY management */ +#define CONFIG_PHY_REALTEK #endif #ifdef CONFIG_USB_EHCI_HCD