UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 21123

7.1 EDK - Running LwIP with Virtex-4 devices generates "ERROR FROM TCL:- lwip () - unknown processor type ppc405_virtex4"

Description

Keywords: network, connection

Urgency: Standard

General Description:
When I use the ppc405_virtex processor in an LwIP design, the following error occurs:

"Processor: ppc405_0
ERROR:MDT - ERROR FROM TCL:- lwip () - unknown processor type ppc405_virtex4

ERROR:MDT - Error while running "execs_generate" for processor ppc405_0...
make: *** [ppc405_0/lib/libxil.a] Error 2"

Solution

1

The following steps explain the changes required to add Virtex-4 Support to LwIP:

1. Open the "lwip_v2_1_0.tcl" file located in the "EDK\sw\ThirdParty\sw_services\lwip_v2_00_a\data" directory.

2. Beginning on line 745 of the TCL script, you will find the following:

switch $proctype {
"microblaze" {
file copy -force "./src/Makefile_mb" "./src/Makefile"
}
"ppc405" {
file copy -force "./src/Makefile_ppc" "./src/Makefile"
}/system_testbench_vhd_tb/uut/ppc405_0/ppc405_0/ppc405_i/ippc405_swift/ppc405_swift_inst
"default" {
error "unknown processor type $proctype\n" "" "mdt_error"
}
}


3. Replace the switch statement with the following:

switch $proctype {
"microblaze" {
file copy -force "./src/Makefile_mb" "./src/Makefile"
}
"ppc405" {
file copy -force "./src/Makefile_ppc" "./src/Makefile"
}
"ppc405_virtex4" {
file copy -force "./src/Makefile_ppc" "./src/Makefile"
}

"default" {
error "unknown processor type $proctype\n" "" "mdt_error"
}
}

2

This problem has been fixed in the latest EDK 7.1i Service Pack available at:
http://support.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is EDK 7.1i Service Pack 1.
AR# 21123
Date Created 03/31/2005
Last Updated 04/13/2007
Status Archive
Type General Article