ophub / amlogic-s9xxx-openwrt

Support for OpenWrt in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
1.7k stars 1.51k forks source link

RTL8211F can not support. #595

Open ekinjohn opened 1 month ago

ekinjohn commented 1 month ago

Device Information | 设备信息

OpenWrt Version | 系统版本

Describe the bug | 问题描述 All issues will only remain open for one week to prioritize resolving them. After that period, they will be closed but can still continue to be discussed in the thread. 所有的问题都只保留一周的开启状态供重点关注解决,超时将关闭,但仍然可以长期继续跟帖讨论。 gmac can not support. the follow is the debug information. [ 8.522204] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found [ 8.522222] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found [ 8.522321] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock [ 8.522446] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input). [ 8.522453] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28). [ 8.522459] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11). [ 8.522471] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no). [ 8.522497] rk_gmac-dwmac fe300000.ethernet: clock input from PHY [ 8.527511] rk_gmac-dwmac fe300000.ethernet: init for RGMII [ 8.527929] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 8.527941] rk_gmac-dwmac fe300000.ethernet: DWMAC1000 [ 8.527948] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported [ 8.527954] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported [ 8.527958] rk_gmac-dwmac fe300000.ethernet: COE Type 2 [ 8.527963] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported [ 8.527968] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported [ 8.527973] rk_gmac-dwmac fe300000.ethernet: Normal descriptors [ 8.527977] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled [ 8.527982] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 12.976576] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 13.107400] rk_gmac-dwmac fe300000.ethernet eth0: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL [ 13.127117] rk_gmac-dwmac fe300000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -22) [ 28.505750] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 28.635362] rk_gmac-dwmac fe300000.ethernet eth0: validation of rgmii with support 00000000,00000000,00006280 and advertisement 00000000,00000000,00006280 failed: -EINVAL [ 28.655095] rk_gmac-dwmac fe300000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -22)

Please provide a detailed description of the issue and, if necessary, attach a screenshot. 详细描述问题,并在必要时附上屏幕截图。

ekinjohn commented 1 month ago

modfiy the dts the log change to [ 23.970208] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 23.971020] rk_gmac-dwmac fe300000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) [ 23.972044] br-lan: port 1(eth0) entered blocking state [ 23.972063] br-lan: port 1(eth0) entered disabled state [ 23.972532] device eth0 entered promiscuous mode [ 30.432798] platform rt5651-sound: deferred probe pending root@RK3399Wrt:~# device eth0 entered promiscuous mode