Skip to contentSkip to conversation

Help on porting lwIP to Xenomai (Beaglebone Black, AM335X)

DISCUSSION Baur, Elias 3 participants 3 messages Jan 29, 2019 – Feb 12, 2019

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I am new to lwIP and did a lot of research the last couple of days. My goal ist to do real time networking between wire-connected Beagleboards. Therefore, we have been setting up a Xenomai Co-Kernel on the boards. To actually send and receive UDP-packets, we want to use lwIP instead of RTnet, because we are already using it on other boards.

I have found out that TI has already ported lwIP on its CPU in its Starterware: http://processors.wiki.ti.com/index.php/StarterWare_CPSW_Port_lwIP Now I am wondering whether it is possible to adapt this for Xenomai? Does anyone have experience on that?

Thank you very much!
Best, Eloa

#1 lore raw
Quoted 3 lines · Elias via Xenomai

Hello everyone,

I am new to lwIP and did a lot of research the last couple of days. My goal ist to do real time networking between wire-connected Beagleboards. Therefore, we have been setting up a Xenomai Co-Kernel on the boards. To actually send and receive UDP-packets, we want to use lwIP instead of RTnet, because we are already using it on other boards.

This doesn't sound like a strong argument. You should better look for hard facts, what benefits (or downsides) an lwIP stack would have. Then it is more realistic to weigh estimated efforts on both sides against benefits.

Also, who should be the low-level driver provider in your lwIP setup? Do you plan to write one from scratch?

Jan

Quoted 6 lines

I have found out that TI has already ported lwIP on its CPU in its Starterware: http://processors.wiki.ti.com/index.php/StarterWare_CPSW_Port_lwIP Now I am wondering whether it is possible to adapt this for Xenomai? Does anyone have experience on that?

Thank you very much!
Best, Eloa

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 10 lines · On Tue, 29 Jan 2019 15:40:35 +0100 Jan Kiszka via Xenomai…
Quoted 8 lines · Elias via Xenomai

Hello everyone,

I am new to lwIP and did a lot of research the last couple of days. My goal ist to do real time networking between wire-connected Beagleboards. Therefore, we have been setting up a Xenomai Co-Kernel on the boards. To actually send and receive UDP-packets, we want to use lwIP instead of RTnet, because we are already using it on other boards.

Quoted 4 lines

This doesn't sound like a strong argument. You should better look for hard facts, what benefits (or downsides) an lwIP stack would have. Then it is more realistic to weigh estimated efforts on both sides against benefits.

Well the background might be more academic, so i would not be too fast to judge. If my guess is correct we might be talking about some sort of student assignment, Masterarbeit, Beleg etc. Knowing the scope, maybe be can come up with an improved assignment together.

Henning

Quoted 16 lines

Also, who should be the low-level driver provider in your lwIP setup? Do you plan to write one from scratch?

Jan

Quoted 10 lines

I have found out that TI has already ported lwIP on its CPU in its Starterware:
http://processors.wiki.ti.com/index.php/StarterWare_CPSW_Port_lwIP
Now I am wondering whether it is possible to adapt this for Xenomai? Does anyone have experience on that?

Thank you very much!
Best, Eloa