Hi,
I'm using a HPCN MPC8641D Dev Board for evaluation purposes and I'm trying to setup a direct ethernet connection to my development PC. When I try to ping me PC from the dev board it fails most of the time.
I've include an example session at the end of the post.
My ethernet configuration looks as follows
HPCN MPC8641D Dev Board
ipaddr=192.168.1.100
serverip=192.168.1.1
gatewayip=192.168.1.1
netmask=255.255.255.0
ethact=eTSEC1
ethaddr=00:04:9f:00:56:af
eth1addr=00:04:9f:00:56:b0
eth2addr=00:04:9f:00:56:b1
eth3addr=00:04:9f:00:56:b2
Development PC (Win XP pro)
IP-Adresse. . . . . . . . . . . . : 192.168.1.1
Subnetzmaske. . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . :
Any help/ideas/suggestions on whats going wrong would be greatly appreciated.
U-Boot 1.2.0 (Jan 18 2007 - 12:21:11)ntroller Version 1.2, 00:04:9f:00:56:
Freescale PowerPC command 'dir' -
CPU:help
Core: E600, Version: 0.2, (0x80040202)PI disabledwn command 'pwd' - try 'help'io
System: 8641D, Version: 2.0, (0x80900120)cmd
e100: Intel(R) PRO/100 Netwo
Clocks: CPU:1500 MHz, MPX: 500 MHz, DDR: 250 MHz, LBC: 62 MHz
6414 bytes
e100: Copyright(c) 1999-2006 Intel Corporation00 ...
L2: Enabled
Board: MPC8641HPCN8244: Registered n
I2C: ready
Err: serialx400000l
SCSI: AHCI 0001.0000 32 slots 4 ports 3 Gbps 0xf impl IDE mode-0x1407, BIOS settings: hdaio, hdbioGbps 0xf imp
Total memo
flags: ncq ilck pm led clo pmp pio slum part ide1: BM-DMA at 0x1408-0x140f, BIOS setti
scanning bus for devices...
Linux version 2.6.19 (roo
Device 0: (1:0) Vendor: ATA Prod.: ST3808110AS Rev: 3.AA522C, ATAPI CD/DVD-ROM drive: ATA Prod.: ST3808110AS Rev:
Type: Hard Disk0 at 0x1f0-0x1f7,0x3f6 on i
Capacity: 76319.0 MB = 74.5 GB (156API 52X DVD-ROM CD-R
Speed: 1000, full duplexnd MPC8
ahci 0000:02:1f.
Using eTSEC1 devicem led clo pmp pio s
ping failed; host 192.168.1.1 is not aliveoot=/dev/ram rw console=$con
ata1: SATA ma
=>DM
Speed: 1000, full duplex0x0 bmdma 0x0 irq 6micon
Using eTSEC1 device
ping failed; host 192.168.1.1 is not alivecmd 0xF1012580 ctl 0x0 bmdma 0x0 irq 6
=> -
Speed: 1000, full duplex
Norma
Using eTSEC1 deviceUDMA/133 cmd 0xF101
ping failed; host 192.168.1.1 is not alive62144
nfsboot=setenv
Speed: 1000, full duplex
Using eTSEC1 device
ping failed; host 192.168.1.1 is not alive
=>
Speed: 1000, full duplex
Using eTSEC1 device
ping failed; host 192.168.1.1 is not alive
=>
Speed: 1000, full duplex
Using eTSEC1 device
ping failed; host 192.168.1.1 is not alive
=>
Speed: 1000, full duplex
Using eTSEC1 device
host 192.168.1.1 is alive
=>
Speed: 1000, full duplex
Using eTSEC1 device
host 192.168.1.1 is alive
=>
Speed: 1000, full duplex
Using eTSEC1 device
ping failed; host 192.168.1.1 is not alive
Solved! Go to Solution.
giajh1,
As you are having intermittent problems, your basic setup is probably OK, so here is what I'd do for your case.
First as your host is a Windows PC, if you haven't done so already, download and learn how to use the free Network Monitor tool from Microsoft. Here is the download link:
Running this should be able to help you narrow down the problem if it is a problem with the target board sending pings, the host responding to them or the target dropping the ping responses.
Another thing I did with my Windows PC ( I am running Vista, but XP should be the same) was for the dedicated port connected to my target, I went in to device manager and turned off and disabled all all other protocols ( examples, DHCP, DNS, IPv6, network sharing, QoS, etc. ) as one thing a Windows host will do is "look for friends" and "auto configure" when you really don't want it to.
One other thing I did notice that you had both your serverip and your gatewayip set to the same address. This combination would normally only be configured if your PC is also your router (Windows can do it, but I wouldn't recommend it). It probably shouldn't affect u-boot, but you also might try changing your gatewayip to a different address than your serverip.
Hope this helps,
- abartky
P.S. It looks from your trace that your Windows PC is setup for German. I did a quick look a the Microsoft Germany site, but it only had a link to the English site, so it appears that there isn't a German Download of this program.
giajh1,
As you are having intermittent problems, your basic setup is probably OK, so here is what I'd do for your case.
First as your host is a Windows PC, if you haven't done so already, download and learn how to use the free Network Monitor tool from Microsoft. Here is the download link:
Running this should be able to help you narrow down the problem if it is a problem with the target board sending pings, the host responding to them or the target dropping the ping responses.
Another thing I did with my Windows PC ( I am running Vista, but XP should be the same) was for the dedicated port connected to my target, I went in to device manager and turned off and disabled all all other protocols ( examples, DHCP, DNS, IPv6, network sharing, QoS, etc. ) as one thing a Windows host will do is "look for friends" and "auto configure" when you really don't want it to.
One other thing I did notice that you had both your serverip and your gatewayip set to the same address. This combination would normally only be configured if your PC is also your router (Windows can do it, but I wouldn't recommend it). It probably shouldn't affect u-boot, but you also might try changing your gatewayip to a different address than your serverip.
Hope this helps,
- abartky
P.S. It looks from your trace that your Windows PC is setup for German. I did a quick look a the Microsoft Germany site, but it only had a link to the English site, so it appears that there isn't a German Download of this program.