linux rk3588烧内核网口配置失败
本帖最后由 Mood8 于 2024-7-22 17:54 编辑dmesg打印的log
[ 66.589515] rk_gmac-dwmac fe1c0000.ethernet eth0: no phy at addr -1
[ 66.589525] rk_gmac-dwmac fe1c0000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 67.112948] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 68.129616] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 69.139626] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 70.152889] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 71.166280] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 72.179844] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 73.193180] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 74.206505] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
[ 75.219612] rk3x-i2c feaa0000.i2c: timeout, ipd: 0x00, state: 3
设备树配置&gmac0 {
/* Use rgmii-rxid mode to disable rx delay inside Soc */
phy-mode = "rgmii-rxid";
clock_in_out = "output";
snps,reset-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
/* Reset time is 20ms, 100ms for rtl8211f */
snps,reset-delays-us = <0 20000 100000>;
pinctrl-names = "default";
pinctrl-0 = <&gmac0_miim
&gmac0_tx_bus2
&gmac0_rx_bus2
&gmac0_rgmii_clk
&gmac0_rgmii_bus>;
tx_delay = <0x44>;
/* rx_delay = <0x4f>; */
/*phy-handle = <&rgmii_phy0>;*/
fix-link = <1000>;
status = "okay";
};
官方给的demo能够ping通底板,按照教程烧录的新内核不行。
页:
[1]