This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM437X: SDK Linux kernel update issues

Part Number: PROCESSOR-SDK-AM437X


Tool/software:

SDK version:07.03.00.005

TI's sdk update policy is to replace a new kernel version with each SDK release, and the kernel version in the released SDK is no longer updated and maintained, even if the kernel version is an LTS version. For example, SDK version 07.03.00.005, the kernel version is the long term maintenance version 5.4.y, after the SDK release this kernel is no longer updated, but kernel.org is still being updated, and has been updated to 5.4.282.

Some customers may only need to use kernel 5.4.y version, need to update kernel 5.4.y latest version area to solve some problems or fix the CVE vulnerability, can only customers update themselves?

1. for the SDK inside the long-term maintenance version of the kernel, TI can continue to maintain and update, synchronize kernel.org latest changes. After all, customers have this need.

2. Has the kernel TI soc peripheral driver in SDK release 07.03.00.005 been submitted to and accepted in the kernel.org 5.4.y long term release?
3. If customers update themselves, is the kernel TI soc peripheral driver in SDK release version 07.03.00.005 prevail, or is the kernel TI soc peripheral driver in kernel.org 5.4.y latest version prevail? I try to compile the latest version 5.4.y in kernel.org to run it, and I get problems like the gpu driver not working properly.

  • Hi,

    I believe the SDK update policy has changed since SDK8.x. I will check with out dev team for the details and get back to you.

    Some customers may only need to use kernel 5.4.y version, need to update kernel 5.4.y latest version area to solve some problems or fix the CVE vulnerability, can only customers update themselves?

    I believe so, customers can take ti-linux-5.4.y branch in the ti-linux-kernel repo from git.ti.com, and rebase it to the mainline 5.4.y branch.

    2. Has the kernel TI soc peripheral driver in SDK release 07.03.00.005 been submitted to and accepted in the kernel.org 5.4.y long term release?

    Some patches are submitted and accepted, but some others are not. That is why I said use TI kernel  on git.ti.com as the base to update to the mainline kernel.

    3. If customers update themselves, is the kernel TI soc peripheral driver in SDK release version 07.03.00.005 prevail, or is the kernel TI soc peripheral driver in kernel.org 5.4.y latest version prevail? I try to compile the latest version 5.4.y in kernel.org to run it, and I get problems like the gpu driver not working properly.

    The gpu driver is off-tree kernel driver, which source code is provided in the SDK package. So it is not validated with the mainline kernel update, it is possible the DRM driver interface is changed in mainline kernel and breaks with the gpu driver in SDK7.3.

  • Thank you for your reply!

    I try to take ti-linux-5.4.y branch in the ti-linux-kernel repo from git.ti.com, and merge it to the mainline 5.4.y branch.But there are so many conflicts that it is unrealistic to deal with them one by one.

    SDK 8.x uses kernel 5.10.y, but the ti-linux-5.10.y branch hasn't been updated in 19 months.
    SDK 7.x uses kernel 5.4.y, but the ti-linux-5.4.y branch has not been updated for 4 years.

    I hope TI can maintain the LTS kernel source code in the SDK for a long time.

    I cannot use the latest source code of kernel.org 5.4.y branch because many drivers have not been updated, is there any other way I can update the latest version of the kernel?

  • Hi,

    I try to take ti-linux-5.4.y branch in the ti-linux-kernel repo from git.ti.com, and merge it to the mainline 5.4.y branch.But there are so many conflicts that it is unrealistic to deal with them one by one.

    I just tried the same on my PC, yes, there are merge conflicts.

    I hope TI can maintain the LTS kernel source code in the SDK for a long time.

    This is not something which could be changed in near term. I believe the SDK will only be supported for 2 years.

    I cannot use the latest source code of kernel.org 5.4.y branch because many drivers have not been updated, is there any other way I can update the latest version of the kernel?

    You either have to solve all those merge conflicts with mainline 5.4.y, or move to the latest SDK (currently SDK9.1 which uses kernel v6.1). Sorry I don't have other solutions.

  • Hi,

    SDK 8.x uses kernel 5.10.y, but the ti-linux-5.10.y branch hasn't been updated in 19 months.
    SDK 7.x uses kernel 5.4.y, but the ti-linux-5.4.y branch has not been updated for 4 years.

    I checked with our dev team, this is what we do today, but we are working on maintaining selected LTS kernels longer aligning with the open source community kernels. I don't have the details for you but it won't happen on kernel v5.4.y or v5.10.y.

    For you project with v5.4.y, as I said, you either have to solve all those merge conflicts with mainline 5.4.y, or move to the latest SDK (currently SDK9.1 which uses kernel v6.1). Sorry I don't have other solutions.