lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP -> PowerPC


From: Sathya Thammanur
Subject: Re: [lwip-users] LWIP -> PowerPC
Date: Mon, 7 Aug 2006 12:32:45 -0700

Hi all,
The Xilinx port of all the network interfaces is already scheduled for the next major release of EDK. This should be available in the next 3 months.

Sathya


On 8/7/06, Matthew Yingling <address@hidden> wrote:
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: lwip-users-bounces+matt=address@hidden
[mailto: address@hidden]On Behalf Of
Peter Kampmann
Sent: Monday, August 07, 2006 5:25 AM
To: address@hidden
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
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]