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.

AM6442: About Linux Kernel distributed by PROCESSOR-SDK-AM64X

Part Number: AM6442
Other Parts Discussed in Thread: PROCESSOR-SDK-AM64X

Hi,

We’ve received some questions from my customer about Linux Kernel in the Processor SDK AM64x.

https://www.ti.com/tool/ja-jp/PROCESSOR-SDK-AM64X#downloads

 

They think that Linux Kernel is gotten as the snapshot from the following repository. Are they correct ?

https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/

Q1.  Could you tell them how to make Linux Kernel source codes contained in Processor SDK AM64x correspond to the above repository ?

 

Each content in Processor SDK AM64x has the revision number separated from Linux kernel version. (Currently, PROCESSOR-SDK-LINUX-RT-AM64X 08.05.00.21)

Q2.  Could you tell them how to verify the SDK version from the built kernel binary ?

They’d like to confirm the source of the kernel running on EVM (which SDK version was the binary made with ?) from the EVM.

 

Q3.  Is the Linux Kernel always updated (revision up) when a bug was fixed in PROCESSOR-SDK-AM64X and SDK revision was updated ?

(They think that if only the TI-dependent part of the Linux Kernel is modified, the revision of the Linux Kernel will not be changed, is this correct?)

Also, in the kernel source code, is there any information (revision number, etc.) that uniquely identifies the modified contents of the TI-dependent part apart from the Linux kernel revision,?

In addition, related to the Q2 above, is it possible to check that unique information from the built kernel?

 

Thanks and regards,

Hideaki

  • Hi Matsum-san,

    They think that Linux Kernel is gotten as the snapshot from the following repository. Are they correct ?

    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/

    Q1.  Could you tell them how to make Linux Kernel source codes contained in Processor SDK AM64x correspond to the above repository ?

    Correct, the Processor SDK kernel is based on the release git tag on this git.ti.com repo.

    The git tag is documented in the SDK Release Notes. You can checkout this tag to get the kernel snapshot.

    Q2.  Could you tell them how to verify the SDK version from the built kernel binary ?

    They’d like to confirm the source of the kernel running on EVM (which SDK version was the binary made with ?) from the EVM.

    You can get the Arago filesystem version using command 'cat /etc/issue'.

    You can get the kernel version using command 'uname -r', which shows the git commit ID which the kernel was built from.

    You can also get the u-boot version using command 'version' at the u-boot prompt.

    Q3.  Is the Linux Kernel always updated (revision up) when a bug was fixed in PROCESSOR-SDK-AM64X and SDK revision was updated ?

    (They think that if only the TI-dependent part of the Linux Kernel is modified, the revision of the Linux Kernel will not be changed, is this correct?)

    Yes, kernel is updated from the Linux community update too. For example, the Processor SDK v8.5 kernel is based on community kernel v5.10.153, while SDK v8.4 kernel is based on community kernel v5.10.140.

    Also, in the kernel source code, is there any information (revision number, etc.) that uniquely identifies the modified contents of the TI-dependent part apart from the Linux kernel revision,?

    Yes, as documented in the SDK Release Notes, there is a git tag for a particular release. For example, SDK v8.5 kernel has tag 08.04.01.005.

    In addition, related to the Q2 above, is it possible to check that unique information from the built kernel?

    Not directly. built kernel doesn't content the git tag. the Linux 'uname -r' command only prints the git commit which the kernel was built from, you would have to check this git commit in the kernel source code for the matching git tag.