移植完linux-3.4.2核心,啟動系統後使用命令ifconfig -a檢視網路配置只有一個local backloop
問題如下:
/ # ifconfig
/ # ifconfig eth0
ifconfig: eth0: error fetching interface information: Device not found
/ # ifconfig eth0 up
ifconfig: SIOCGIFFLAGS: No such device
/ # ifconfig eth0 202.204.53.10
ifconfig: SIOCSIFADDR: No such device
原因:機器id如果是SMDK2440的16a就會出現上述問題。
暫時解決辦法:在uboot介面設定機器id為MINI2440的7CF。