----- Original Message -----
Sent: Tuesday, May 16, 2006 9:32 AM
Subject: [microblaze-uclinux] Problem
with Ethernet: I can't ping
Hi everyone,
I've followed the instructions from John Williams and Jason Wu, and
finally got uClinux-kernel booted on my Spartan-3E-Starter-Kit
(
http://www.xilinx.com/xlnx/xebiz/designResources/ip_product_details.j...).
However, there's no boot message on the terminal, I got just a login
prompt when the kernel started:
uclinux-auto login:
Anyway, the kernel still works.
Then I tried to test the networking and
followed the instructions.
There's no problem to ping itself. But I can't ping my PC, which is
connected to the Eva-Board using crossover cable. There's even no ARP
packets received.
It seems that the RX- and TX-pins are not connected
to the FPGA. Did I
miss something?
Any help is appreciated.
Qichen
PS:
The auto-config.in is generated
by EDK Libgen (8.1 sp2) and directly
copied to
uClinux-dist/linux-2.4.x/arch/microblaze/platform/uclinux-auto/
The eth0 settings are as follows:
# ifconfig eth0
eth0
Link encap:Ethernet HWaddr 00:00:C0:A3:E5:44
inet addr:192.168.1.4 Bcast:192.168.1.255
Mask: 255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packeckts:0 errors:0 dropped:0 overruns:0
frame:0
TX packeckts:54 errors:0
dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Interrupt:2
The section of opb_ethernet in the system.mhs is as follows:
BEGIN
opb_ethernet
PARAMETER INSTANCE = Ethernet_MAC
PARAMETER
HW_VER = 1.04.a
PARAMETER C_DMA_PRESENT = 1
PARAMETER
C_IPIF_RDFIFO_DEPTH = 32768
PARAMETER C_IPIF_WRFIFO_DEPTH = 32768
PARAMETER C_OPB_CLK_PERIOD_PS = 20000
PARAMETER C_BASEADDR
= 0x40c00000
PARAMETER C_HIGHADDR = 0x40c0ffff
BUS_INTERFACE SOPB = mb_opb
PORT OPB_Clk = sys_clk_s
PORT PHY_tx_clk = fpga_0_Ethernet_MAC_PHY_tx_clk
PORT
PHY_rx_clk = fpga_0_Ethernet_MAC_PHY_rx_clk
PORT PHY_crs =
fpga_0_Ethernet_MAC_PHY_crs
PORT PHY_dv = fpga_0_Ethernet_MAC_PHY_dv
PORT PHY_rx_data = fpga_0_Ethernet_MAC_PHY_rx_data
PORT
PHY_col = fpga_0_Ethernet_MAC_PHY_col
PORT PHY_rx_er =
fpga_0_Ethernet_MAC_PHY_rx_er
PORT PHY_tx_en =
fpga_0_Ethernet_MAC_PHY_tx_en
PORT PHY_tx_data =
fpga_0_Ethernet_MAC_PHY_tx_data
PORT PHY_Mii_clk =
fpga_0_Ethernet_MAC_PHY_Mii_clk
PORT PHY_Mii_data =
fpga_0_Ethernet_MAC_PHY_Mii_data
PORT IP2INTC_Irpt =
Ethernet_MAC_IP2INTC_Irpt
END