06-05-2010 09:17 AM - edited 06-05-2010 09:21 AM
Please help.. Thanks a lot!
I'm working on virtex 4 and using EDK xps 10.1
I'm trying to use V4 hard Temac with xps_ll_temac_v1_01_b driver
I also included xps_ll_fifo_0
After I include the lwip1.30 library and try to build software. I always got this error when I generate libraries and BSPs stating that no ethernet MAC core is detected:
Running DRCs for OSes, Drivers and Libraries ...
Runnning DRC for lwIP library...
ERROR:MDT - issued from TCL procedure "::sw_lwip130_v1_00_a::lwip_drc" line 12
lwip130 () - No Ethernet MAC cores are addressable from processor ppc405_0.
lwIP requires atleast one EMAC (xps_ethernetlite | xps_ll_temac) core.
ERROR:MDT - Error while running DRC for processor ppc405_0...
However, my xps_ll_temac was added and addressable from processor from the message shown just before the error message above:
INFO:MDT - List of peripherals addressable from processor instance ppc405_0 :
- warp_v4_userio_all
- rs232_db9
- eeprom_controller
- plbv46_plbv46_bridge_0
- warplab_mimo_4x4_plbw_0
- warplab_mimo_4x4_agc_plbw_0
- radio_controller_0
- debug_sw_gpio
- xps_ll_temac_0
- xps_ll_fifo_0
- ppc405_0_docm_cntlr
- ppc405_0_iocm_cntlr
Building Directory Structure for ppc405_0
Generating platform libraries and device drivers ...
Any suggestions are welcome
Thanks a lot!
06-07-2010 03:54 AM
Please double check if you have "TemacIntc0_Irpt" port of TEMAC connected to INTC.
-Felix
06-06-2010 07:37 PM
Hi,
Does it work if you change the lwip library to the older v3_00_a version? I just checked my design repositories and found an old system that also uses xps_ll_temac with ll_fifo, but the lwip is based on v3.00a instead of the v1.30 that you are using.
Anyways, I have attached it here. Hope it will help you.
-Yan Shun Li
06-07-2010 03:37 AM
Thanks a lot for your reply.
If I change to lwip_v3_00_0, still the same problem.
I will check the zip folder you attached to see whether it works on my platform.
Thanks.
I attach the error message when I change to lwip v3:
INFO:MDT - List of peripherals addressable from processor instance ppc405_0 :
- warp_v4_userio_all
- rs232_db9
- eeprom_controller
- plbv46_plbv46_bridge_0
- warplab_mimo_4x4_plbw_0
- warplab_mimo_4x4_agc_plbw_0
- radio_controller_0
- debug_sw_gpio
- xps_ll_temac_0
- xps_ll_fifo_0
- ppc405_0_docm_cntlr
- ppc405_0_iocm_cntlr
Building Directory Structure for ppc405_0
Generating platform libraries and device drivers ...
Running CopyFiles ...
Copying files for os standalone_v2_00_a from
/opt/Xilinx/10.1/EDK/sw/lib/bsp/standalone_v2_00_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/standalone_v2
_00_a/ ...
Copying files for driver warp_v4_userio_v1_00_a from
/home/xiongjie/WARP/edk_user_repository/WARP/pcores/warp_v4_userio_v1_00_a/src/
to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/warp_v4_useri
o_v1_00_a/ ...
Copying files for driver uartlite_v1_13_a from
/opt/Xilinx/10.1/EDK/sw/XilinxProcessorIPLib/drivers/uartlite_v1_13_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/uartlite_v1_1
3_a/ ...
Copying files for driver eeprom_v1_07_a from
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/drivers/eeprom_v1_07_a/src/
to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/eeprom_v1_07_
a/ ...
Copying files for driver warplab_mimo_4x4_plbw_v1_04_a from
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/pcores/warplab_mimo_4x4_plbw_
v1_04_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/warplab_mimo_
4x4_plbw_v1_04_a/ ...
Copying files for driver warplab_mimo_4x4_agc_plbw_v2_00_a from
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/pcores/warplab_mimo_4x4_agc_p
lbw_v2_00_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/warplab_mimo_
4x4_agc_plbw_v2_00_a/ ...
Copying files for driver radio_controller_v1_22_a from
/home/xiongjie/WARP/edk_user_repository/WARP/drivers/radio_controller_v1_22_a/sr
c/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/radio_control
ler_v1_22_a/ ...
Copying files for driver gpio_v2_12_a from
/opt/Xilinx/10.1/EDK/sw/XilinxProcessorIPLib/drivers/gpio_v2_12_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/gpio_v2_12_a/
...
Copying files for driver lltemac_v1_00_b from
/opt/Xilinx/10.1/EDK/sw/XilinxProcessorIPLib/drivers/lltemac_v1_00_b/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/lltemac_v1_00
_b/ ...
Copying files for driver llfifo_v1_00_a from
/opt/Xilinx/10.1/EDK/sw/XilinxProcessorIPLib/drivers/llfifo_v1_00_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/llfifo_v1_00_
a/ ...
Copying files for driver cpu_ppc405_v1_10_b from
/opt/Xilinx/10.1/EDK/sw/XilinxProcessorIPLib/drivers/cpu_ppc405_v1_10_b/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/cpu_ppc405_v1
_10_b/ ...
Copying files for library WARP_FPGA_BOARD_LIB_v2_20_a from
/home/xiongjie/WARP/edk_user_repository/WARP/sw_services/WARP_FPGA_BOARD_LIB_v2_
20_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/WARP_FPGA_BOA
RD_LIB_v2_20_a/ ...
Copying files for library lwip_v3_00_a from
/opt/Xilinx/10.1/EDK/sw/ThirdParty/sw_services/lwip_v3_00_a/src/ to
/home/xiongjie/WARP_0506/WARPLab_4x4_v05_02_FPGAv2/ppc405_0/libsrc/lwip_v3_00_a/
...
Running DRCs for OSes, Drivers and Libraries ...
Runnning DRC for lwIP library...
ERROR:MDT - issued from TCL procedure "::sw_lwip_v3_00_a::lwip_drc" line 12
lwip () - No Ethernet MAC cores are addressable from processor ppc405_0.
lwIP requires atleast one EMAC (xps_ethernetlite | xps_ll_temac) core.
ERROR:MDT - Error while running DRC for processor ppc405_0...
make: *** [ppc405_0/lib/libxil.a] Error 2
Done!
06-07-2010 03:54 AM
Please double check if you have "TemacIntc0_Irpt" port of TEMAC connected to INTC.
-Felix
06-07-2010 01:01 PM
Dear Felix,
Thanks for your reply.
It works!