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.

TMDS64GPEVM: Cross compile the linux kernel

Part Number: TMDS64GPEVM


Hi all , 

i want to cross compile the Linux kernel without installing the SDK on my system . 

i can see that in the latest SDK [ti-processor-sdk-linux-am64xx-evm-08.04.01.04-Linux-x86-Install.bin] 5.10.140  kernel is used. But commit ID of linux kernel that is given in SDK does not match  with commit ID given on this  direct  link  https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tag/?h=v5.10.140  .

I have taken the diff of both version and i have found that there is a significant difference between both the versions of linux kernel although they both claim to be version 5.10.140 . 

So my question is which version is more stable ?

How to download the stable 5.10.140 directly git repository without installing the SDK . 

I also want to know direct link to download toolchains for kernel and uboot compilation .   

Thanks

  • Hi Paras,

    i can see that in the latest SDK [ti-processor-sdk-linux-am64xx-evm-08.04.01.04-Linux-x86-Install.bin] 5.10.140  kernel is used. But commit ID of linux kernel that is given in SDK does not match  with commit ID given on this  direct  link  https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tag/?h=v5.10.140

    The Processor SDK v8.4 kernel is NOT v5.10.140, rather is BASED on v5.10.140. You should compare it with branch ti-linux-5.10.y or better with tag 08.04.01.005 on the git.ti.com repo.

    How to download the stable 5.10.140 directly git repository without installing the SDK . 

    I also want to know direct link to download toolchains for kernel and uboot compilation .   

    Can you get the kernel source and tool chain from the SDK, then delete the rest of the content of the SDK?

  • Hi Bin Liu, 

    Thanks for the quick reply 

    i am trying to dockerize the build process so installing the SDK and then removing the unused part is not an option for me . Moreover to install SDK you need a GUI which i do not have . 

    The Processor SDK v8.4 kernel is NOT v5.10.140, rather is BASED on v5.10.140. You should compare it with branch ti-linux-5.10.y or better with tag 08.04.01.005 on the git.ti.com repo.

    ok i will try that . 

    There were download links on SDK`s documentation page for toolchains but i cannot find it anymore . i have download the "gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz" from SDK`s page for kernel compilation but i cannot find download link for "gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf" 

  • Hi Paras,

    Understood now, dockerizing it is a good way to manage the software development.

    In general, the SDK kernel is packaged from the git.ti.com kernel ti-linux-x.xx.y branch, from the release tag documented in the SDK Release Notes. Occasionally the SDK kernel might have a couple additional patches on top of the release tag on git.ti.com, which were critical bug fixes added after the release was tagged.

    You can directly download the toolchain from developer.arm.com.

    By the way, the SDK installer supports text mode, with command line parameter '--mode text'. You can also use '--help' to check other options the installer supports.

  • Thanks Bin Liu , 

    The commit-id of tag "08.04.01.005" matches with commit-id given in SDK v8.4 .  

  • Thanks for confirming.