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.

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 ..

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

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

  • 现在,已经可以从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.

x 出现错误。请重试或与管理员联系。