如何正确启用 E 版网卡的 PTP (IEEE 1588) 支持 #121
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
maxpeterkaya/LicheeRV-Nano-Build#121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
已经确认网卡支持硬件 PTP 的能力:
在内核里开启 PTP 支持(CONFIG_PTP_1588_CLOCK 和 CONFIG_NETWORK_PHY_TIMESTAMPING 均设置为 y)后,系统日志 (dmesg) 有 PTP 相关信息输出:
为避免是人为操作导致的错误,在系统启动后从日志
/var/log/messages中收集信息(ptp4l 配置文件增加 verbose 1 以输出日志):phc2sys 的日志输出:
ptp4l 的日志输出:
补充信息
有问题的构建工程在 Candinya/LicheeRV-Nano-Build , 配置命令为
defconfig sg2002_licheervnano_sd_gps。