<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: kernel version string in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/kernel-version-string/m-p/899870#M135823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mayank Sirotiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The string is made up by the first lines of the top-level Makefile, which state VERSION, PATCHLEVEL, SUBLEVEL, EXTRAVERSION and NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If could be that the NAME variable is empty. You could also add a string to CONFIG_LOCALVERSION which would be appended to these strings when you call uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2019 19:28:57 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2019-05-03T19:28:57Z</dc:date>
    <item>
      <title>kernel version string</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-version-string/m-p/899869#M135822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded and flashed linux kernel from the following location :-&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES" title="https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES"&gt;Alpha / Beta BSPs for Microprocessors | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Linux 4.14.62_1.0.0_Beta )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uname -a on device gives me following result :-&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Linux imx8qxpmek 4.14.62-imx_4.14.62_1.0.0_beta+g1907fe4 #1 SMP PREEMPT Tue Oct 16 07:04:53 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for building my modules on host machine, I have cloned linux-kernel from &lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx" title="https://source.codeaurora.org/external/imx/linux-imx"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt; , and switched to branch &lt;EM&gt;&lt;STRONG&gt;imx_4.14.62_1.0.0_beta&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;On building this kernel version, my &lt;STRONG&gt;include/config/kernel.release&lt;/STRONG&gt; contains following :-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.14.62-05223-g1907fe4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;which seems correct as per git describe. I am wondering how to get kernel version like the one showing in pre-built image i.e. &lt;EM&gt;&lt;STRONG&gt;4.14.62-imx_4.14.62_1.0.0_beta+g1907fe4&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I couldn't find any way to include branch name in kernel version string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 12:47:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-version-string/m-p/899869#M135822</guid>
      <dc:creator>mayanksirotiya</dc:creator>
      <dc:date>2019-05-03T12:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: kernel version string</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-version-string/m-p/899870#M135823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mayank Sirotiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The string is made up by the first lines of the top-level Makefile, which state VERSION, PATCHLEVEL, SUBLEVEL, EXTRAVERSION and NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If could be that the NAME variable is empty. You could also add a string to CONFIG_LOCALVERSION which would be appended to these strings when you call uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 19:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-version-string/m-p/899870#M135823</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2019-05-03T19:28:57Z</dc:date>
    </item>
  </channel>
</rss>

