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.

AM5728: Downloading Linux 4.19.94 Kernel Original Source Code

Part Number: AM5728


Hello,

I have an AM5728 Module and I am using Linux PSDK 6.03 on it. The Linux TI PSDK 6.03 has both u-boot and kernel source code. The versions of both are as follows -

u-boot Source - u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3

Linux Kernel Source -  linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85

I have following queries with respect to source code of u-boot and Linux kernel -

  1. I would like to know the original repositories of u-boot and Linux from which TI has forked it's own u-boot and kernel source code.
  2. I would like to have access to the current repositories of u-boot and Linux which TI has used and included in Linux PSDK 6.03 for AM5728 EVM.
  3. Are the current repositories maintained for latest security patches and updates from kernel.org ?
  4. If yes, how will we able to integrate these patches and updates into our PSDK? 

Kindly revert.

Regards,

Sahil Kalra

  • Hello,

    This is a gentle reminder that I am waiting for your reply on this post.

    Kindly revert.

    Regards,

    Sahil Kalra

  • Hi,

    This is a second reminder that I am waiting for your reply on this post.

    Regards,

    Sahil 

  • Hi,

    This is a third reminder that I am waiting for your reply on this post.

    Regards,

    Sahil 

  • Hi Sahil,

    Let me answer your questions in a slightly different order:

    2. I would like to have access to the current repositories of u-boot and Linux which TI has used and included in Linux PSDK 6.03 for AM5728 EVM.

    Since you have access to the SDK, you can navigate into the u-boot and LInux directory in the SDK which are under board-support directory and run the following commands:

    "git remote -v " will give you the location of the current repository 

    "git branch" will give you the branch details.

    For example, on the Linux directory when I run this command the output was:

    06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85$ git remote -v
    origin  git://git.ti.com/processor-sdk/processor-sdk-linux.git (fetch)
    origin  git://git.ti.com/processor-sdk/processor-sdk-linux.git (push)
    
    06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85$ git branch
      processor-sdk-linux-4.19.y
    * processor-sdk-local
    
    

    The repository is also publicly visible and you can access from the browser here: git.ti.com/.../

    1. I would like to know the original repositories of u-boot and Linux from which TI has forked it's own u-boot and kernel source code.

    Now, from within the SDK, since each of the linux and u-boot directories are git repositories, you can simply run "git log" and check from where the original tree was forked, you will find merge commits in this log. You can se records of this in some merge commits such as "git.kernel.org/.../linux-stable"

    3. Are the current repositories maintained for latest security patches and updates from kernel.org ?

    As you can see from the weblink that I shared, which is the latest, there have been no updates done on this tree for latest security patches. This branch is right now frozen for AM57xx. 

    4. If yes, how will we able to integrate these patches and updates into our PSDK? 

    You should plan to integrate these by picking up the relevant security patches from the corresponding LTS release branch from the upstream.

  • Hi Karthik,

    Thanks for your response.

    Karthik Ramanan said:

    1. I would like to know the original repositories of u-boot and Linux from which TI has forked it's own u-boot and kernel source code.

    Now, from within the SDK, since each of the linux and u-boot directories are git repositories, you can simply run "git log" and check from where the original tree was forked, you will find merge commits in this log. You can se records of this in some merge commits such as "git.kernel.org/.../linux-stable"

     

     

    I would like to know the details of these commits from the original repositories. What changes have been done that are specific to TI's PSDK? And what changes have been done for integrating general security patches from kernel.org ? 

    Though most of the commit messages may be self-explanatory, can you share the list of major changes (merging of child/parent branches) in text format for better understanding?

    Karthik Ramanan said:

    3. Are the current repositories maintained for latest security patches and updates from kernel.org ?

    As you can see from the weblink that I shared, which is the latest, there have been no updates done on this tree for latest security patches. This branch is right now frozen for AM57xx. 

    4. If yes, how will we able to integrate these patches and updates into our PSDK? 

    You should plan to integrate these by picking up the relevant security patches from the corresponding LTS release branch from the upstream.

     

     
    Since you mentioned that TI has frozen the Linux and u-boot branches for AM57xx, it is important now more than ever to understand the history of commits done by TI to the original repositories of Linux and u-boot from kernel.org. In order to integrate the future security patches and enhancements from corresponding LTS branch, it is a prerequisite to have complete understanding of changes in Linux and u-boot so that it won't disturb the configuration and throw compilation or run-time errors.
    Kindly acknowledge and revert.
    Regards,
    Sahil
  • Hello,

    This is a gentle reminder that I am awaiting your reply on this post.

    Regards,

    Sahil

  •  

    Kindly revert.

    Regards,

    Sahil

  • Sahil,

    1. I would like to know the original repositories of u-boot and Linux from which TI has forked it's own u-boot and kernel source code.

    Now, from within the SDK, since each of the linux and u-boot directories are git repositories, you can simply run "git log" and check from where the original tree was forked, you will find merge commits in this log. You can se records of this in some merge commits such as "git.kernel.org/.../linux-stable"

     

     

    I would like to know the details of these commits from the original repositories. What changes have been done that are specific to TI's PSDK? And what changes have been done for integrating general security patches from kernel.org ? 

    Though most of the commit messages may be self-explanatory, can you share the list of major changes (merging of child/parent branches) in text format for better understanding?

    These details can be obtained by running git commands on the respective branches, both are git repositories and such information can be obtained by you since you will need the next level details, I request you to do it at your side. Note that the intention of providing a public repository is to enable the customers to do these type of analysis. TI will not be providing this.

    The history commits done by TI can be obtained comparing the two branches and sorting out the merge commits. Note that the TI commits will include those that are already upstreamed to the kernel.org and those that are on top of the kernel.org changes.

    Regards

    Karthik