On 2017-11-09 16:40, Outback Dingo wrote:
On Thu, Nov 9, 2017 at 4:16 PM, Koen Vandeputte
<koen.vandepu...@ncentric.com> wrote:

On 2017-11-09 15:55, Outback Dingo wrote:
heres more data, we still have a no interfaces issue with recent LEDE
trunk



On Thu, Nov 2, 2017 at 6:42 PM, Outback Dingo <outbackdi...@gmail.com>
wrote:
seems that ive lost my eth0 / eth1 interfeaces on a RECENT ... today
image built for the gw5520
i do however see the ifb0 and ifb1 interfaces... any ideas?

Hi,

As I have similar hardware, maybe I can help out. (GW 5510 and others)

I'm not seeing the FEC driver being loaded in your log: (Freescale Ethernet)


Snip from my 5510:


[    0.692354] libphy: Fixed MDIO Bus: probed
[    0.693357] libphy: mdio_driver_register: mv88e6085
[    0.695036] 2188000.ethernet supply phy not found, using dummy regulator
[    0.697541] pps pps0: new PPS source ptp0
[    0.701333] libphy: fec_enet_mii_bus: probed

--> [    0.702005] fec 2188000.ethernet eth0: registered PHC device 0



Please run  "make kernel_menuconfig"  and check if CONFIG_FEC is selected.




Hi, the following were selected under drivers / ethernet

   [*]   Freescale devices
                                  │ │
  │ │                                <*>     FEC ethernet controller
(of ColdFire and some i.MX CPUs)
│ │
  │ │                                < >     Freescale PQ MDIO
                                                                    │ │
  │ │                                < >     Freescale XGMAC MDIO
                                                                    │ │
  │ │                                < >     Gianfar Ethernet
                                                                    │ │
  │ │                                [*]   Hisilicon devices

Kind Regards,

Koen

Hi,

Quickly checked a little more in-depth.

(My board is a GW52xx.)

Looking at dtsi, it seems that the fec part is not specified for the 552x

As a test, could you add attached patch to your build?
Just put it in  target/linux/imx6/patches-4.9 and do a full rebuild (make clean; make)


Thanks,

Koen
--- a/arch/arm/boot/dts/imx6qdl-gw552x.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw552x.dtsi
@@ -89,6 +89,14 @@
 	};
 };
 
+&fec {
+        pinctrl-names = "default";
+        pinctrl-0 = <&pinctrl_enet>;
+        phy-mode = "rgmii-id";
+        phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
+        status = "okay";
+};
+
 &gpmi {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_gpmi_nand>;
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to