打印
[技术问答]

NUC972+DP83848KSQ

[复制链接]
739|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

粉丝