This thread has been locked.
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.
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 : 0x7c0f1
udhcpc (v1.20.2) started
Sending discover...
[ 8.452972] PHY: 0:00 - Link is Up - 100/Full
Sending discover...
Sending discover...
No lease, failing
done.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
Stopping Bootlog daemon: bootlogd.
这种问题如何解决?谢谢
在sdk06上,我们并没有加入RT preemt的功能,而且如果要是加入这个功能,也不是只修改那一个配置那么简单。
你可以网上搜搜3.2内核打RT preemt的说明文档。
修改/etc/network/interfaces文件 添加udhcpc_opts -R -b
auto eth0
iface 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.