[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] xps_ll_temac interrupts and speed.



Hello everybody,
similar topics regarding the xps_ll_temac speed have been on this forum
but mine is different as the ll_temac speed is reallllly slow :-)
It is the same speed as with the Ethernet lite.
I copied a 7 MByte file several times using ftp to the board and the
speed is alway around 200 KB/s (over all it takes 40 seconds).

The xps_ll_temac was implemented on a Xilinx Spartan3A board and I had
to reduce the CPU cache size to 2 KB for instruction and data as I run
out of BRAMs.
This should slow down the system speed but I didn't expect networking to
be so slow. 

Also I recognized that the TemacIntc0_Irpt is never active:

# cat interrupts 
           CPU0       
  0:      31308     level OPB-INTC  timer
  1:       3016     level OPB-INTC  xilinx_dma_tx_int
  2:       3680     level OPB-INTC  xilinx_dma_rx_int
  3:          0     level OPB-INTC  eth0
  4:        964      edge OPB-INTC  uartlite

another thing I am wondering: How can I set the mac address, for the
Ethernet lite driver the kernel command line was used. It is set to
xilinx_lltemac xilinx_lltemac.0: MAC address is now  0: a:35: 5: 5: 8
by the driver. (I had a ip address reserved by our DHCP server for the
development board and thus it would be nice to have the same MAC again)

In u-boot ping and tftp is not working for me.

The CPU info:

# cat /proc/cpuinfo 
CPU-Family:     MicroBlaze
FPGA-Arch:      spartan3a
CPU-Ver:        7.10.d
CPU-MHz:        66.666667
BogoMips:       32.76
HW-Div:         no
HW-Shift:       no
Icache:        2kB
Dcache:        2kB
HW-Debug:       yes


Normally I am happy with the Ethernet lite driver but as the gdb_server
is so slow I thought maybe it is gonna be better with the ll_temac.
As stated above there is no networking improvement.
If somebody is interested in having the xps_ll_temac on a Spartan 3A
board I am happy to forward it. It had to do some tweaks to get the
design with the MPMC and the ll_temac into the S3A700 so I thought this
could be useful for somebody else.

Have a nice weekend,
Marco


 

___________________________
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/