That's not my problem. In u-boot the ethernet interface appears as fm1-mac3. The device tree for this is:
&fman0 {
ethernet@e4000 {
phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-id";
status = "okay";
};
mdio@fc000 {
rgmii_phy1: ethernet-phy@1 {
reg = <0x1>;
ti,clk-output-sel = <0x0>;
};
};
};
When subsequently booted to an ubuntu:main image built by flexbuilder LSDK21.10 the system detects and configures fm1-mac1 only. I can configure this device but it won't ping. Oscilloscope shows no data on the rgmii lines at this point.
If I use a device tree for Linux similar to the above I get:
[ 2.357640] Freescale FM module, FMD API version 21.1.0
[ 2.365586] Freescale FM Ports module
[ 2.369254] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 2.375016] fsl_mac 1ae0000.ethernet: Cannot read PHY connection type of mac node ethernet@e0000 from device tree. Defaulting to MII
[ 2.386945] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
It feels like linux should also be using the e4000 device.