Based on the attached boot log, the kernel does not see a valid Ethernet to configure. Besides that, I see some output in the kernel
log that suggests that you modified the driver. In general, adding a fixed-link property to the controller device tree node should
be sufficient to bypass the PHY initialization and setup the controller parameters properly without reading the PHY.
Suggestions:
1. Revert to the original BSP kernel.
2. Make sure the device tree correctly reflects the MAC/PHY interface type.
3. Use a sufficiently compact root filesystem image to TFTP it with subsequent ramboot to allow the system to complete booting.
4. Use ifconfig and ethtool to check the status of the interface
5. Use a debugger to verify that the following piece of code in fec_main.c is reached and of_phy_register_fixed_link() is invoked.
if (!phy_node && of_phy_is_fixed_link(np)) {
ret = of_phy_register_fixed_link(np);
if (ret < 0) {
dev_err(&pdev->dev,
"broken fixed-link specification\n");
goto failed_phy;
}
phy_node = of_node_get(np);
}
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------