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

How to NFS boot from Eth1 (2ed netcard) instead eth0 on board DM8168evm-revJ

hello,

     I wanna boot my board from the second net card, but the uboot can't find it,

there is the Uboot boot log:

…..
TI8168-GP rev 2.1
ARM clk: 987MHz
DDR clk: 796MHz

I2C:   ready
DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
256 MiB
MMC:   OMAP SD/MMC: 0

Net:   Detected MACID:50:56:63:a7:8d:a5
Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot:  0

….

when i powered on. it seems like not configure the eth1 in Uboot .

what should I do, or any reference for this problem. thanks ..

Eason Wang:

双网口的话你要在menuconfig里面选中它

Huan a:

回复 Eason Wang:

你是说Uboot和Kernel Image中都需要改吗,有没有这方面的参考资料,现在搜到一些资料,都不太具体,有的在源代码中只适用于8148 8168中已经没有那段代码了,这个问题困扰好几天了, 谢谢… thanks again..

Huan a:

回复 Eason Wang:

现在,已经可以从eth0 NFS启动了,启动之后也可以通过

$ ifconfig eth1 192.168.1.xxx

$ifup eth1 来启用

因为硬件工程师那边希望能用eth1来作为首选网口。我想这应该是需要修改Uboot的配置项,但是现在不知道到那里修改,根据Uboot启动的输出,可以查到相关的实现函数,但是不知道怎么配置。搜索到一个帖子,但是没有说的太明白:

http://e2e.ti.com/support/embedded/linux/f/354/t/332458.aspx

http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/231814.aspx

thank again.

赞(0)
未经允许不得转载:TI中文支持网 » How to NFS boot from Eth1 (2ed netcard) instead eth0 on board DM8168evm-revJ
分享到: 更多 (0)