[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Ethernet problem whith FX12MM from Memec
Rasmus Mattsson wrote:
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
So, it looks like the microblaze is receiving ARP packets OK (it knows
the MAC address of the host)
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
and your switch is working - the host knows the MAC address of the
microblaze board.
So the low level ARP packaets are being received fine, it's ICMP, UDP
and TCP that's not working.
Try disabling SGDMA mode on the ethernet controller. Edit your
auto-config.in file, look for the CONFIG_XILINX_ETHERNET_DMA_MODE
parameter, and change it from 3 (DMA) to 1 (FIFO) mode.
run "make oldconfig", then rebuild the kernel.
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)
It just means that the bootloader is providing a garbage command line to
the kernel. Are you using u-boot, or something else? Anyway it's
something to fix for completeness, but won't be doing any harm.
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/