



u-boot ethernet problem
by s516072002 on Jul 4, 2013 |
s516072002
Posts: 12 Joined: Feb 1, 2013 Last seen: Oct 7, 2013 |
||
I got u-boot from here:
git clone git://openrisc.net/stefan/u-boot My board is ATLYS, and I can start U-boot by pressing the Reset button. (displayed on the serial terminal) I use an etherent cable to connect my laptop and my board. (not crossover) The result of ping is always fail. ***************************************** I use Network manager to set a static ip on ubuntu. Manually add ip and netmask. The network settings of host(ubuntu) is: IP address: 192.168.0.90 Netmask: 255.255.255.0 ***************************************** The network settings of the board(Atlys) is: ethaddr=00:12:34:56:78:9a ipaddr=192.168.0.89 netmask=255.255.255.0 serverip=192.168.2.2 ********************************************* I'm not sure how to set gatewayip. Could you give me an example? |
RE: u-boot ethernet problem
by s516072002 on Jul 4, 2013 |
s516072002
Posts: 12 Joined: Feb 1, 2013 Last seen: Oct 7, 2013 |
||
EDIT:
***************************************** I use Network manager to set a static ip on ubuntu. Manually add ip and netmask. The network settings of host(ubuntu) is: IP address: 192.168.0.90 Netmask: 255.255.255.0 ***************************************** The network settings of the board(Atlys) is: ethaddr=00:12:34:56:78:9a ipaddr=192.168.0.89 netmask=255.255.255.0 serverip=192.168.0.90 ********************************************* |
RE: u-boot ethernet problem
by jiayu on Jul 4, 2013 |
jiayu
Posts: 4 Joined: Mar 25, 2013 Last seen: Aug 6, 2014 |
||
Hello! s516072002!
I have tried Atlys board and u-boot before. For your problem, I guess it's probably because of the connection speed between your laptop's network adapter and Atlys board. The speed will be auto-negotiated to 1000Mbps when you connect them together if you didn't modify any preferences. but the Ethernet MAC core supports 100Mbps maximally. I don't know exactly how to configure the speed of your network adapter in Ubuntu, but the principle is that you should set it to 100Mbps or 10Mbps. Hopes it's helpful and good luck! |
RE: u-boot ethernet problem
by jiayu on Jul 4, 2013 |
jiayu
Posts: 4 Joined: Mar 25, 2013 Last seen: Aug 6, 2014 |
||
Hello! s516072002!
I have tried Atlys board and u-boot before. For your problem, I guess it's probably because of the connection speed between your laptop's network adapter and Atlys board. The speed will be auto-negotiated to 1000Mbps when you connect them together if you didn't modify any preferences. but the Ethernet MAC core supports 100Mbps maximally. I don't know exactly how to configure the speed of your network adapter in Ubuntu, but the principle is that you should set it to 100Mbps or 10Mbps. Hopes it's helpful and good luck! In addition, the gateway IP of your case is 192.168.0.1 |
RE: u-boot ethernet problem
by s516072002 on Jul 5, 2013 |
s516072002
Posts: 12 Joined: Feb 1, 2013 Last seen: Oct 7, 2013 |
||
After setting the speed, the board can ping the computer but the computer cannot reach the board.
The board can get files from the computer. It is enough. Thanks. |



