If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我们使用的LINUX内核版本为k2_linux_03.10.10.14.12在 arch/arm/boot/dts/k2e-net.dtsi 没有发现如下设置,所以没有如下设 Enabling 10G-KR Firmware Starting from MCSDK 3.1.4, 10G-KR firmware can be enabled for handling of auto-negotiation and link training. Enabling firmware through DTS: Update the status property of the firmware and lane bindings from "disabled" to "ok" in arch/arm/boot/dts/k2e-net.dtsi or arch/arm/boot/dts/k2hk-net.dtsi: firmware { status = "ok"; lane0 { status = "ok"; }; lane1 { status = "ok"; }; 配置后编译发现keystone_xgemdio.c文件中的函数static int keystone_mdiox_probe(struct platform_device *pdev)里面有个函数xge_serdes_init_156p25Mhz();不存在,参考代码将其修改为 xge_serdes_init(of_get_child_by_name(node, "serdes"));
(2)C6638在linux系统起来后使用I2C配置芯片DS125DF111
参考配置写入信息手册《DS110DF111, DS125DF111, DS100DF410, DS110DF410, and DS125DF410 Programming Guide》
将如下数据写入芯片DS125DF111
T
参考配置手册中第七页,的9,
able 9. 10.3125-Gbps Backplane and Cable Configuration Sequence