LWIP -> PowerPC

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

LWIP -> PowerPC

Peter Kampmann
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
Reply | Threaded
Open this post in threaded view
|

RE: LWIP -> PowerPC

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



_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: LWIP -> PowerPC

Sathya Thammanur
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 <[hidden email]> 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=[hidden email]
[mailto:[hidden email]]On Behalf Of
Peter Kampmann
Sent: Monday, August 07, 2006 5:25 AM
To: [hidden email]
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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

RE: LWIP -> PowerPC

Matthew Yingling-2
Thanks for the news!  My previous inquieries were always met with a "no plans" response.  It's not hard to upgrade manually, but I'm sure including it in the EDK product will benefit many Xilinx users.
 
Matthew
-----Original Message-----
From: Sathya Thammanur [mailto:[hidden email]]
Sent: Monday, August 07, 2006 3:33 PM
To: [hidden email]; Mailing list for lwIP users
Subject: Re: [lwip-users] LWIP -> PowerPC

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 <[hidden email]> 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=[hidden email]
[mailto:[hidden email]]On Behalf Of
Peter Kampmann
Sent: Monday, August 07, 2006 5:25 AM
To: [hidden email]
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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

RE: LWIP -> PowerPC

Lachlan Grogan
In reply to this post by Matthew Yingling-2
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: lwip-users-bounces+lockie=[hidden email]
[mailto:lwip-users-bounces+lockie=[hidden email]] 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: lwip-users-bounces+matt=[hidden email]
[mailto:lwip-users-bounces+matt=[hidden email]]On Behalf Of Peter
Kampmann
Sent: Monday, August 07, 2006 5:25 AM
To: [hidden email]
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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users




_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

RE: LWIP -> PowerPC

Peter Kampmann
In reply to this post by Matthew Yingling-2
Thanks for your replies, at the moment I'm using the official xilinx version.
Because I have to write my Bachelor Thesis, I have not the time at the moment to start trying to port
Version 1.1.1 to be usable in EDK.
Hope the old version works for me ...
Regards,
Peter