1/1
Cannot ping with u-boot-programmed Atlys board
by zlee9 on Jul 13, 2015 |
zlee9
Posts: 6 Joined: Jul 9, 2015 Last seen: Aug 10, 2015 |
||
I am new to OpenRISC development. I'm attempting to install Linux into an Atlys board via u-boot. With u-boot into the Flash memory, however, I can't seem to retrieve the Linux image file from a tftp server. I can't ping any machines within our network with the board, including itself.
Here is the error: ==> ping 192.168.1.186 ethoc Using ETHOC-0 device ping failed; host 192.168.1.186 is not alive Here are the environment variables I have set and saved from the u-boot prompt. ipaddr: 192.168.1.35 (random ip address) serverip: 192.168.1.186 (ip address of machine I am trying to tftp to) gatewayip: 192.168.1.1 netmask: 255.255.255.0 ethaddr: 00:12:34:56:78:9a (random mac address) 100Mbps is being used for the Ethernet connection for the board (the LED indicating 100 Mbps is on). |
RE: Cannot ping with u-boot-programmed Atlys board
by dgisselq on Jul 14, 2015 |
dgisselq
Posts: 247 Joined: Feb 20, 2015 Last seen: Oct 24, 2024 |
||
Using tcpdump from another machine, can you tell if your ping requests are even hitting the network?
Dan |
RE: Cannot ping with u-boot-programmed Atlys board
by zlee9 on Jul 20, 2015 |
zlee9
Posts: 6 Joined: Jul 9, 2015 Last seen: Aug 10, 2015 |
||
Doesn't look like it. I tried this as we're pinging from the board:
sudo tcpdump -n src
No packets were captured at all.
|
RE: Cannot ping with u-boot-programmed Atlys board
by zlee9 on Aug 6, 2015 |
zlee9
Posts: 6 Joined: Jul 9, 2015 Last seen: Aug 10, 2015 |
||
Just an update. I programmed a pre-built image of Linux into the Atlys board's flash memory since I haven't been able to resolve the networking problem. While the board can ping itself, it can't ping other machines, nor can other machines ping it. I tested this with tcpdump as well.
|
RE: Cannot ping with u-boot-programmed Atlys board
by dgisselq on Aug 7, 2015 |
dgisselq
Posts: 247 Joined: Feb 20, 2015 Last seen: Oct 24, 2024 |
||
There aren't many places that a problem such as you describe can lie, but I am not an OpenRISC expert. Most of those experts seem to respond more to the mailman forum than they do this list--that's why I've been quiet for the past while.
However, risking and venturing being wrong and not knowing the answer at all, I'm going to suggest that your ethernet hardware is either not properly connected to the core or that it is misconfigured. Suppose we try this: do you get a console log from uboot when it boots up? I know Linux can be configured to provide such a log, and the u-boot sources look a lot like Linux sources. Can you then examine this log to see if the network device is properly detected and responds properly to the u-boot network driver? Dan |
RE: Cannot ping with u-boot-programmed Atlys board
by zlee9 on Aug 7, 2015 |
zlee9
Posts: 6 Joined: Jul 9, 2015 Last seen: Aug 10, 2015 |
||
U-Boot does provide me a log on boot up, though it's short and provides me with only one line of information regarding the network device.
U-Boot 2013.04-g860a216 (Jul 10 2015 - 01:03:31) CPU: OpenRISC-1200 (rev 8) @ 50 MHz D-Cache: 32768 bytes, 32 bytes/line, 1 way(s) I-Cache: 32768 bytes, 32 bytes/line, 1 way(s) DMMU: 64 sets, 1 way(s) IMMU: 64 sets, 1 way(s) MAC unit: yes Debug unit: yes Performance counters: no Power management: no Interrupt controller: yes Timer: yes Custom unit(s): no Supported instructions: ORBIS32: yes ORBIS64: no ORFPX32: yes ORFPX64: no Hardware multiplier: yes Hardware divider: yes BOARD: atlys SF: Detected N25Q128 with page size 64 KiB, total 16 MiB NET: ETHOC-0 |
RE: Cannot ping with u-boot-programmed Atlys board
by dgisselq on Aug 8, 2015 |
dgisselq
Posts: 247 Joined: Feb 20, 2015 Last seen: Oct 24, 2024 |
||
Did you look at this at all? Does it sound like your problem?
Dan |
RE: Cannot ping with u-boot-programmed Atlys board
by zlee9 on Aug 10, 2015 |
zlee9
Posts: 6 Joined: Jul 9, 2015 Last seen: Aug 10, 2015 |
||
Yes, I looked into that before. It sounds like the same problem, but the link to that commit is broken.
|
RE: Cannot ping with u-boot-programmed Atlys board
by dgisselq on Aug 10, 2015 |
dgisselq
Posts: 247 Joined: Feb 20, 2015 Last seen: Oct 24, 2024 |
||
Is all of the net running at 100 Mbps?
|
1/1