I downloaded the "linux-c6x" from http://www.linux-c6x.org/git/;
I edit the ./net/ipv4/ipconfig.c to set the IP/MASK/;
after linux starts running, the IP/MASK of eth0 is still empty,
when i run "ifconfig",there is only "lo".
thanks!
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.
Hi,
Refer to the following links which may helps you.
http://linux-c6x.org/wiki/index.php/FAQ
http://e2e.ti.com/support/embedded/linux/f/354/p/345478/1210393.aspx
Rex,
Thanks for your reply!
I downloaded from the link in linux-c6x.org/git. the latest edition which has supported two ports of SGMII.
But when I set the net with command “# ifconfig etho 192.168.1.101 ..." The linux system will hang up( the linux-c6x.2.0.0.63 is OK).
I try to set the "IP=ECHO" to"IP=192.168.1.101" in the evmc6678.mk file or to set the IP and mask in /net/ipv4/ipconfig. and rebuild again but it's still not working.
I don't know whether the driver for two ports need to set some Kconfig files.
Thanks.
Hi, Yu,
The hardware provides connectivity for both SGMII Gigabit Ethernet ports on the EVM, but Linux only supports 1 ethernet port. The Ethernet PHY is connected to EMAC1/SGMII_1. EMAC0/SGMII_0 is routed to AMC connector. You will need to modify the kernel code to support the 2nd ethernet port through AMC connector. Please refer to the thread for the discussion, http://e2e.ti.com/support/embedded/linux/f/354/p/224140/790308.aspx#790308
Rex