feijingrugu 2019-11-24 17:25 采纳率: 0%
浏览 754

imx6ull评估板的以太网不工作

我用NXP官网的开发板 imx6ull-evk,收到开发板后无法启动系统,一直停止在starting kernel....;但是uboot下,可用dhcp,也可以和另一台同一网段的linux主机ping通;
我使用MFGTool重新更新系统,BSP版本4.1.15_2.0.0,更新完成后,可以正常启动kernel,但是无法使用以太网。在uboot模式使用dhcp命令,显示:
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 213
DHCP client bound to address xxx.xxx.xxx.xxx (35 ms)
*** Warning: no boot file name; using 'C0A80867.img'
Using FEC1 device
TFTP from server 0.0.0.0; our IP address is xxx.xxx.xxx.xxx; sending through gateway xxx.xxx.xxx.1
Filename 'C0A80867.img'.
Load address: 0x80800000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...

    启动kernel后,输入ifconfig命令,显示:

root@imx6ul7d:~# ifconfig

eth0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:140 (140.0 B) TX bytes:140 (140.0 B)
没有动态分配inet地址,也没有inet6的地址,

设备树中的配置:
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
phy-mode = "rmii";
phy-handle = <&ethphy1>;
status = "disabled";
};

&fec2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet2>;
phy-mode = "rmii";
phy-handle = <&ethphy0>;
status = "okay";

mdio {
#address-cells = ;
#size-cells = ;

ethphy0: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = ;
};

ethphy1: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = ;
};
};
};
pinctrl_enet2的引脚是配置过的,以太网口的绿灯常亮,黄色间隔2s左右闪一下,
请各位大神帮忙看看

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2019-11-25 12:52
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作