[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Ethernet problem whith FX12MM from Memec
Hi John,
thanks for answering my mail.
the petalinux is configured to connet to a DHCP server but right now i
don't use any server for the PI address. the ip address is defined
with ipconfig (see the txt file for more info)
info in /proc/net/arp on petalinux:
IP address HW type Flags HW address Mask Device
192.168.11.5 0x1 0x2 00:00:1C:B5:EB:4B * eth0
info in /proc/net/arp on the server:
IP address HW type Flags HW address Mask Device
192.168.11.99 0x1 0x2 00:00:C0:A3:E5:44 * eth0
I have Attached a txt file with the bootup info and all commands that
I execute in petalinux. When i look closer to this boot process i see
a strange message on line 6:
Kernel command line: 'J}0$\$XH$,Q|'Kp, is this expected? (i have to
admit that I'm new to Linux)
//Rasmus Mattsson
On 4/5/07, John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
Hi Rasmus,
Rasmus Mattsson wrote:
> petalinux menuconfig: the ethernet driver is "Xilinx Ethernet driver"
>
> Right now i have problem using the ping command in a local network.
> the ifconfig command gives this result in petalinux:
It looks like the MicroBlaze is not receiving any packets.
What is the contents of /proc/net/arp on the Microblaze (and host) after
the ping attempts?
Also, can you please post the microblaze bootlog (or fragment where it
is initialising the network interface).
How are you getting the IP address - statically or via DHCP?
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
# Linux version 2.4.32-uc0 (rasmus@siplx04) (gcc version 3.4.1 ( Xilinx EDK 8.1.01 Build EDK_I.19.4 080506 )) #20 Thu Apr 5 13:00:30 CEST 2007
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line: 'J}0$\$XH$,Q|'Kp,
Console: xmbserial on UARTLite
Calibrating delay loop... 37.27 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62680KB available (1059K code, 1080K data, 44K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0x40600000 (irq = 2) is a Microblaze UARTlite
Starting kswapd
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: using sgDMA mode.
eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0x40C00000, irq=1
eth0: id 2.0h; block id 7, type 1
uclinux[mtd]: RAM probe address=0x24148270 size=0xcf000
uclinux[mtd]: root filesystem index=0
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 44K
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Nonexistent or bad flatfs (-48), creating new one...
flatfsd: Failed to write flatfs (-48): No such device
flatfsd: Created 3 configuration files (117 bytes)
Setting hostname:
Setting up interface lo:
Starting DHCP client:
eth0: Promiscuous mode disabled.
Starting thttpd:
uclinux login: root
Password:
# Jan 1 00:01:06 dhcpcd[33]: timed out waiting for a valid DHCP server response
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
# ifconfig eth0 up 192.168.11.99
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:C0:A3:E5:44
inet addr:192.168.11.99 Bcast:192.168.11.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Interrupt:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
# ping 192.168.11.5
PING 192.168.11.5 (192.168.11.5): 56 data bytes
--- 192.168.11.5 ping statistics ---
8 packets transmitted, 0 packets received, 100% packet loss
# cat /proc/net/arp
IP address HW type Flags HW address Mask Device
192.168.11.5 0x1 0x2 00:00:1C:B5:EB:4B * eth0
#
/proc/net/arp