Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licensing of lwIP example files #139

Closed
robamu opened this issue Apr 27, 2021 · 10 comments
Closed

Licensing of lwIP example files #139

robamu opened this issue Apr 27, 2021 · 10 comments
Assignees
Labels
help wanted Extra attention is needed projects Projects-related (demos, applications, examples) issue or pull-request.

Comments

@robamu
Copy link

robamu commented Apr 27, 2021

Hello,

Thanks for providing the application examples for lwIP. They were very helpful for me as I am trying to port them to the RTEMS OS. However, there is still a small issue which makes it difficult to release the port as part of RTEMS which generally requires an OpenSource license like a BSD license.

The example is licensed differently than the HAL library ( for example: https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/NUCLEO-H743ZI/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS) under the ST Ultimate Liberty license SLA0044 instead of the BSD 3-Clause. Point 5 of SLA0044 is especially problematic. My port is based on your example applications for lwIP (ethernetif.c, app_ethernet.c) , but was heavily modified to be usable for the RTEMS OS. Would it be possible to license these files under BSD 3-Clause, similarly to the HAL library? RTEMS would be willing to accept a BSD-style licence with vendor device restrictions in device driver/HAL code, but SLA0044 would be problematic. The LAN driver already seems to be licensed under BSD3

The project can be found here: https://github.com/rmspacefish/rtems-lwip/tree/0ef4b8a7d4d4d4ad9af90e36e4f9b2c457295ee5/lwip/ports/drivers/stm32h7

Thanks a lot in advance.

Kind Regards
Robin

@robamu robamu changed the title Licensing of Examples Licensing of lwIP example files Apr 27, 2021
@ALABSTM ALABSTM added help wanted Extra attention is needed projects Projects-related (demos, applications, examples) issue or pull-request. labels Apr 27, 2021
@ALABSTM ALABSTM moved this from To do to Assigned in stm32cube-mcu-fw-dashboard Apr 28, 2021
@ALABSTM ALABSTM self-assigned this Apr 28, 2021
@ALABSTM
Copy link
Contributor

ALABSTM commented May 24, 2021

Hi @rmspacefish,

Please forgive my delayed reply. I forwarded your request to both our development and quality teams as soon as you posted it. The point is still being discussed. I will try to push to have an answer as soon as possible. I will keep you informed.

Thank you for your patience and comprehension and thank you again for having tackled the subject.

With regards,

@ALABSTM
Copy link
Contributor

ALABSTM commented Jun 9, 2021

Hi @rmspacefish,

I hope you are fine. Your request is still under discussion.

May I ask whether the ported code is intended to run on STMicroelectronics hardware exclusively once integrated into the RTEMS OS project? May I also ask for more precision about the "vendor device restrictions" you mentioned?

Thank you,

@robamu
Copy link
Author

robamu commented Jun 9, 2021

Hi,

Thanks for the reply.

The ported code with the licensing issues glues the lwIP code to the STM32 and the used PHY so this part will be run on STMicroelectronics hardware exclusively. I asked in the RTEMS mailing list about more details concerning the vendor device restrictions and might be able to supply more information soon.

Kind Regards
Robin

@gedare
Copy link

gedare commented Jun 9, 2021

Vendor device restrictions means a clause related to running the code only on STMicroelectronics hardware. Such a clause can be acceptable, but a true permissive OSI-approved license (e.g., 2- or 3-BSD) would be preferred for simpler compliance reasons.

@robamu
Copy link
Author

robamu commented Jul 15, 2021

Hello,

Has there been any progress on the issue?

Kind Regards
Robin

@ALABSTM
Copy link
Contributor

ALABSTM commented Jul 15, 2021

Hello @rmspacefish,

Discussions are still ongoing. I will keep you informed. Thank you for your comprehension.

Kind regards,

@ALABSTM
Copy link
Contributor

ALABSTM commented Aug 2, 2021

Hello @robamu and @gedare,

After long discussions and due to a number of considerations, we decided to keep these two files under SLA0044 license as the rest of our demos and applications. We really wished to provide you with a positive answer, but could unfortunately not. Best of luck for your project and thank you for your comprehension.

With regards,

@ALABSTM ALABSTM moved this from Assigned to In progress in stm32cube-mcu-fw-dashboard Aug 2, 2021
@robamu
Copy link
Author

robamu commented Aug 3, 2021

That's unfortunate. Thanks for your efforts nonetheless.

@ALABSTM
Copy link
Contributor

ALABSTM commented Aug 5, 2021

Hi @robamu,

You are welcome and thank you for your comprehension again. Please allow me to close this issue now.

With regards,

@ALABSTM ALABSTM closed this as completed Aug 5, 2021
stm32cube-mcu-fw-dashboard automation moved this from In progress to Done Aug 5, 2021
@joelsherrill
Copy link

Is STM adamant about paragraph 5 of SLA0044? Paragraph 4 requires use on only STM devices which is acceptable. The intent of paragraph 5 is unclear.

It could be read that software under this license cannot be distributed with software using a viral free software license or that it cannot be distributed with software under any open source license. I honestly cannot tell what STM wants.

We want people building products using STM devices to be able to use this code with RTEMS but paragraph 5 is written in a way that it is impossible to know what the intended action by someone would be to be compliant to that license. All we want to do is include the driver with a port of lwip that runs on RTEMS without going against STM's desired use cases.

@gedare and I are core developers from RTEMS with decades of open source and free software experience between us. We would be happy to discuss this privately if needed to help clarify the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed projects Projects-related (demos, applications, examples) issue or pull-request.
Projects
Development

No branches or pull requests

4 participants