TI中文支持网
TI专业的中文技术问题搜集分享网站

beaglebone black sdk-am335x-evm-06.00.00.00 网口不通

beaglebone black板卡,ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin

编译内核时按默认配置,网口正常。

编译内核时选中Kernel Features –>Preemption Model(Preemptible Kernel(Low-Latency Desktop)),网口不通Sending discover… 
No lease, failing 提示如下:

Configuring network interfaces… /usr/sbin/alsactl: load_state:1686: No soundc.
[ 5.452758] net eth0: CPSW phy found : id is : 0x7c0f1udhcpc (v1.20.2) startedSending discover…[ 8.452972] PHY: 0:00 – Link is Up – 100/FullSending discover…Sending discover…No lease, failingdone.INIT: Entering runlevel: 5Starting system message bus: dbus.Starting telnet daemon.Starting syslogd/klogd: doneStarting thttpd.Stopping Bootlog daemon: bootlogd.

这种问题如何解决?谢谢

Jian Zhou:

为什么要加这个选项,是想增加内核实时性么?

kun han:

回复 Jian Zhou:

是想增加内核实时性

Jian Zhou:

回复 kun han:

在sdk06上,我们并没有加入RT preemt的功能,而且如果要是加入这个功能,也不是只修改那一个配置那么简单。

你可以网上搜搜3.2内核打RT preemt的说明文档。

kun han:

回复 Jian Zhou:

修改/etc/network/interfaces文件 添加udhcpc_opts -R -b

auto eth0iface eth0 inet dhcp    pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null +   udhcpc_opts -R -b

同时修改/etc/init.d/networking echo -n "Configuring network interfaces… " +ifup -a +ifdown -a ifup -a echo "done."

能获得IP了,只是显示两次udhcpc (v1.20.2) started 

Configuring network interfaces… /usr/sbin/alsactl: load_state:1686: No soundca.[ 5.532348] net eth0: CPSW phy found : id is : 0x7c0f1 udhcpc (v1.20.2) started Sending discover… [ 8.523071] PHY: 0:00 – Link is Up – 100/Full Sending discover… Sending discover… No lease, forking to background [ 15.096038] net eth0: CPSW phy found : id is : 0x7c0f1 udhcpc (v1.20.2) started Sending discover… [ 17.093200] PHY: 0:00 – Link is Up – 100/Full Sending discover… Sending select for 192.168.4.51… Lease of 192.168.4.51 obtained, lease time 7200 /etc/udhcpc.d/50default: Adding DNS 202.106.46.151 /etc/udhcpc.d/50default: Adding DNS 202.106.195.68 done.

赞(0)
未经允许不得转载:TI中文支持网 » beaglebone black sdk-am335x-evm-06.00.00.00 网口不通
分享到: 更多 (0)