Matthew, I am very interested in updating my EDK supplied version too.
There seems to be a few differences between the xemacif.c function calls for 0.7.2 and those for other ports that work with 1.1.1... I would be very keen on making the v2pro port work and then creating a patch so as everyone can use it. :), I can't wait for Xilinx's next release. Any chance you would like to share you xemacif.c file? Did you need to modify any of the EDK make files? Kind regards Lachlan Grogan. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Yingling Sent: Tuesday, 8 August 2006 12:11 AM To: Mailing list for lwIP users Subject: RE: [lwip-users] LWIP -> PowerPC The "official" Xilinx port of LwIP is for 0.7.2. To update to newer versions like 1.1.1, you can use the driver in the repository in "./src/contrib/ports/v2pro/netif/" and use it as a model to modify the two or three driver files provided in the EDK folders (or pick and choose for your specific task. Some of the LwIP function calls have changed, which is why you're getting all the errors. I did a manual update of the Microblaze driver this way. You will also need to add a call to netif_set_up() in you initialization. It's new to the 1.1.x codebase. I'd love to see Xilinx provide an official port to 1.1.1 in their next EDK, but they don't seem to be in any rush. Matthew Yingling -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Kampmann Sent: Monday, August 07, 2006 5:25 AM To: [email protected] Subject: [lwip-users] LWIP -> PowerPC Hi everyone, i have the following problem: After checking out the newest version of the lwip library and the contrib-folder Xilinx Platform Studio complains, that there is a file missing: "./src/contrib/ports/v2pro/netif/xemacif_polled.c": no such file or directory Obiously in older versions, this file has been in the directory and is not needed any more. When i copy the missing file back into the folder, I get the following error while compiling: powerpc-eabi-gcc -O2 -c -g -Wall -gdwarf-2 -DIPv4 -msdata=eabi -mcpu=403 -I./lwip/src/include -I./lwip/src/include/ipv4 -I./contrib/ports/v2pro -I./contrib/ports/v2pro/include -I../../../include -c contrib/ports/v2pro/netif/xemacif.c contrib/ports/v2pro/netif/xemacif.c: In function `low_level_output': contrib/ports/v2pro/netif/xemacif.c:178: warning: implicit declaration of function `xil_printf' contrib/ports/v2pro/netif/xemacif.c: In function `xemacif_output': contrib/ports/v2pro/netif/xemacif.c:305: warning: assignment makes pointer from integer without a cast contrib/ports/v2pro/netif/xemacif.c: At top level: contrib/ports/v2pro/netif/xemacif.c:324: error: conflicting types for 'xemacif_input' ./contrib/ports/v2pro/include/netif/xemacif.h:44: error: previous declaration of 'xemacif_input' was here contrib/ports/v2pro/netif/xemacif.c:324: error: conflicting types for 'xemacif_input' ./contrib/ports/v2pro/include/netif/xemacif.h:44: error: previous declaration of 'xemacif_input' was here contrib/ports/v2pro/netif/xemacif.c: In function `xemacif_input': contrib/ports/v2pro/netif/xemacif.c:340: error: void value not ignored as it ought to be contrib/ports/v2pro/netif/xemacif.c:345: error: void value not ignored as it ought to be contrib/ports/v2pro/netif/xemacif.c:358: warning: `return' with a value, in function returning void The last two errors seem similar to the errors described in: http://www.nabble.com/LWIP--%3E-Microblaze-tf1510871.html#a4106067 So ist that the same problem or am I doing something wrong? Many Thanks, Peter Kampmann -- View this message in context: http://www.nabble.com/LWIP--%3E-PowerPC-tf2062546.html#a5681870 Sent from the lwip-users forum at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
