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.

66AK2G12: How to verify the linux kernel version in processor-sdk-linux[-rt] ?

Part Number: 66AK2G12


Hello,

I would like to verify the linux kernel version specifically whether it's running standard linux or real-time linux.

I am using PROCESSOR-SDK-LINUX and PROCESSOR-SDK-LINUX-RT. Currently i'm using uname command to print kernel information, however when using the pre-built zImage i get the following output regardless whether I use the standard or real-time linux.

My understanding is that the real time linux kernel version is suffixed with '-rt'. How can I verify which version is which ?

Luke

  • Hi,

    The uname -a command is the method I use. Here the uname -a showing the non-RT kernel version. Also uname -a should return PREEMPT RT which is not being printed here, only PREEMPT.

    Looking at the kernel release notes the git commit id should be 5389fd85b which is what the non-RT kernel version it.

    The RT version should this commit id a242ccf3f13f03.

    Link to release notes.

    The git commit id is part of the source directory name in the board support directory of the SDK. Could you post please the linux directory name?

    Best Regards,

    Schuyler

  • Hello, 

    It seems that I made a mistake during the installation, most probably I installed the non-RT kernel version. 

    I delete the current installation and reinstalled the processor-sdk-linux-rt. I immediately noticed that the linux kernel repository under board support folder had a different  'commit-id' appended to the folder name, which corresponded to "a242ccf3f13f03" as you correctly mentioned. 

    I compiled the kernel and obtained the following output:

  • Hi, 

    Glad to hear the issue is resolved.

    Best Regards,

    Schuyler