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,
I've been working on K2H evm boards and I got the openMPI demo working. But so far I have to connect the 2 evms through a Ethernet router so that they can get DHCP IP addresses. I'm wondering is there a way that I cannot connect 2 evm boards directly through Ethernet without a router?
Thanks,
Shang
Hi Eric,
I tried what you suggested but there're some problems here.
What I did was:
Connect the 2 evm boards with Ethernet cable to both eth0 ports.
Set static IP addresses for each of the boards by setenv ipaddr 192.168.0.101 and setenv ipaddr 192.168.0.102 respectively, setenv boot ubi since they're directly connected and there's no host NFS to boot up with, and then saveenv and boot.
Try to ping each other with ip addresses, but both of them returned "ping: sendto: network is unreachable"
And when I look at the Ethernet port the LEDs are orange instead of green as usual.
Did I miss anything?
Thanks,
Shang
Actually I could get the point to point connection and static IP work. So I think now my problem comes down to this one:
How can I use NFS while I try to connect them point to point?
The reason I want to use NFS is that I want to run mpi programs, which seems to be only available on the NFS. So can I use another Ethernet port to boot/load from NFS and then connect them directly with another port?
Thanks,
Shang
If you want to assign static IP and also want to use NFS, look at: http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#How_to_use_fixed_IP_address_instead_of_DHCP.3F
Regards, Eric