[技术问答] NUC972+DP83848KSQ

[复制链接]
918|1
 楼主| 醉川 发表于 2020-8-13 17:31 | 显示全部楼层 |阅读模式
NUC972+DP83848KSQ,网口遇到问题,求大佬解惑
内核配置里PHY选了  National Semiconductor,
但是启动的时候说没有发现PHY
libphy: nuc970_rmii0: probed
nuc970-emac0 nuc970-emac0: phy_find_first() failed
nuc970-emac0 nuc970-emac0: nuc970_mii_setup err
libphy: nuc970_rmii1: probed
nuc970-emac1 nuc970-emac1: phy_find_first() failed
nuc970-emac1 nuc970-emac1: nuc970_mii_setup err

随后在linux内核3.10.x/deiver/net/phy里,Makefile和kconfig 添加了DP83640,内核配置phy选DP83640,但是编译内核出错
drivers/ built-in .o: In function `dp83640_txtstamp':
:(.text+0x761dc): undefined reference to `skb_complete_tx_timestamp'
:(.text+0x7620c): undefined reference to `skb_complete_tx_timestamp'
drivers/ built-in .o: In function `dp83640_rxtstamp':
:(.text+0x76430): undefined reference to `ptp_clock_event'
:(.text+0x765d4): undefined reference to `skb_complete_tx_timestamp'
drivers/ built-in .o: In function `dp83640_ts_info':
:(.text+0x76648): undefined reference to `ptp_clock_index'
drivers/ built-in .o: In function `dp83640_remove':
:(.text+0x77280): undefined reference to `skb_complete_tx_timestamp'
:(.text+0x77330): undefined reference to `ptp_clock_unregister'
drivers/ built-in .o: In function `dp83640_probe':
:(.text+0x77a40): undefined reference to `ptp_clock_register'
make: *** [vmlinux] Error 1
不知道该怎么解决了。。。。
youxiegushi 发表于 2020-8-14 17:21 | 显示全部楼层
linux内核的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

3

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部