WebFix this by requesting the clocks via devm_clk_bulk_get_optional. The optional variant has been used, since this is effectively what the old code did. The exact clocks required depend on the platform and configuration. As a side effect this change adds correct -EPROBE_DEFER handling. WebCross-check the MAC ref clock configuration. **BEST SOLUTION** I had the same issue as OP, with precompiled image from rdf0428-zcu106-vcu-trd-2024-1_v2\images\vcu_10g: root@zcu106_vcu_trd:~# ifconfig eth1 up [ 52.861085] xilinx_axienet b0001000.ethernet eth1: XXV MAC block lock not complete! Cross-check the MAC ref clock configuration It …
[PATCHv2,1/2] net: ethernet: stmmac: dwmac-rk: rework optional …
WebJun 21, 2024 · [ 4.329964] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout [ 4.330057] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed [ 4.335181] rk_gmac-dwmac ff550000.ethernet: init for RMII [ 4.378651] rk_gmac-dwmac ff550000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 4.378684] … WebApr 6, 2024 · [ 56.019139] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout [ 56.019909] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed [ 56.025793] rk_gmac-dwmac ff550000.ethernet: init for RMII [ 56.056195] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 56.056204] Ring mode enabled ... faballey login
Rock Pi E CRUX-ARM (aarch64) - Radxa Forum
WebThe new code also tries to get "clk_mac_ref" and "clk_mac_refout" when the PHY is not configured as PHY_INTERFACE_MODE_RMII to keep the code simple. This is possible since we use devm_clk_get_optional() for the clock lookup anyways. Webbsp_priv->clk_mac_refout = - devm_clk_get(dev, "clk_mac_refout"); + devm_clk_get_optional(dev, "clk_mac_refout"); if (IS_ERR(bsp_priv->clk_mac_refout)) - … faballey news