-
Notifications
You must be signed in to change notification settings - Fork 1k
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
OP-TEE License - BSD or GPL ? #6834
Comments
Hello Sahil, The OP-TEE license terms have not changed.
This is a helper script that can be used to set up a development environment (see commit 8d541ae). It is not embedded in OP-TEE OS and not even used during the build. So I don't think it is an issue that it is GPL-2.0.
That one however should not have been checked-in with a GPL license. That's an oversight during the review process. @bhLou would you mind submitting a pull request to change the license to |
Hi @jforissier Thanks a lot for this information. There is one more file https://github.com/OP-TEE/optee_os/blob/master/core/include/dt-bindings/mfd/st%2Cstpmic1.h which has only GPL-2.0, but that is pretty old file. Can we take care of this also ? This file https://github.com/OP-TEE/optee_test/blob/master/scripts/aes_gcm_test.py in optee-test also don't have any license, Should we put one here? If you want me to open one issue for OP-TEE test in optee_test repo, please let me know. |
@etienne-lms this is for you I suppose ;)
@omasse-linaro what license would be applicable? |
Hi @jforissier
Let's use copyright and license info as follow:
|
LGTM. Would you mind creating a PR? |
Indeed. I'll take care of that. |
I see that one patch is merged in optee-test regarding this. |
Correct, I was even mentioning this in the pull request itself (#6387). So this one is not an issue. |
The file core/drivers/hisi_trng.c should not have been committed with a GPL-2.0 license. Relicense it as BSD-2-Clause. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reported-by: Sahil Malhotra <sahil.malhotra@nxp.com> Closes: OP-TEE#6834
Thanks @jforissier for taking care of hisi_trng.c, but there is no reply from the file owner, how we will proceed in this case ? Thanks @jbech-linaro for PR link, I got your point. @etienne-lms Can you please help on the ./core/include/dt-bindings/mfd/st,stpmic1.h part ? |
In this case we'll just remove the file. In the meantime let me add another name to the re-licensing PR (the D06 maintainer). |
Hi @sahilnxp. Yes, the change is currently under review in the LKML, patch v2 sent this morning: |
Thanks @jforissier and @etienne-lms for your quick response. |
FYI, the stpmic1 DT binding issue is fixed by #6917. |
@etienne-lms Thanks for taking care of this. |
The file core/drivers/hisi_trng.c should not have been committed with a GPL-2.0 license. Relicense it as BSD-2-Clause. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reported-by: Sahil Malhotra <sahil.malhotra@nxp.com> Closes: OP-TEE#6834 Acked-by: loubaihui <loubaihui1@huawei.com> Acked-by: leisen <leisen1@huawei.com>
The file core/drivers/hisi_trng.c should not have been committed with a GPL-2.0 license. Relicense it as BSD-2-Clause. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reported-by: Sahil Malhotra <sahil.malhotra@nxp.com> Closes: #6834 Acked-by: loubaihui <loubaihui1@huawei.com> Acked-by: leisen <leisen1@huawei.com>
Thanks @jforissier @etienne-lms @jbech-linaro for taking care of this. |
Thanks @sahilnxp for requesting these points to be clarified, they indeed needed to be. |
Hi @jenswi-linaro @jforissier
There has been recent addition of some files in optee_os code like:
These files have only
SPDX-License-Identifier: GPL-2.0 License
But as far as I know, OP-TEE has BSD License.
If we combine files with GPL2.0 and BSD license in a project, that project will be distributed under GPL2.0 License
So can you please let me know if there is any recent change regarding the License of OP-TEE ?
Thanks
Sahil Malhotra
The text was updated successfully, but these errors were encountered: