<?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>i.MX Processors中的主题 Passing u-boot parameters to kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493097#M79209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have very basic question. I want to pass few u-boot parameters (other then bootargs) to kernel. &lt;/P&gt;&lt;P&gt;We are using kernel 3.14.28. I have used ATAG mechanism in kernel 2.6.37 but seems that things have got changed. &lt;/P&gt;&lt;P&gt;Any examples or reference code related to kernel 3.14.28 will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 17:19:03 GMT</pubDate>
    <dc:creator>jemish_1990</dc:creator>
    <dc:date>2016-05-23T17:19:03Z</dc:date>
    <item>
      <title>Passing u-boot parameters to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493097#M79209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have very basic question. I want to pass few u-boot parameters (other then bootargs) to kernel. &lt;/P&gt;&lt;P&gt;We are using kernel 3.14.28. I have used ATAG mechanism in kernel 2.6.37 but seems that things have got changed. &lt;/P&gt;&lt;P&gt;Any examples or reference code related to kernel 3.14.28 will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 17:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493097#M79209</guid>
      <dc:creator>jemish_1990</dc:creator>
      <dc:date>2016-05-23T17:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Passing u-boot parameters to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493098#M79210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One more thing while reading kernel Documentation I come to know that we can either pass tag list or flattened device-tree block. &lt;/P&gt;&lt;P&gt;In this case how can we pass u-boot parameters to kernel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 17:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493098#M79210</guid>
      <dc:creator>jemish_1990</dc:creator>
      <dc:date>2016-05-23T17:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Passing u-boot parameters to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493099#M79211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jemish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass the u-boot parameters by command "setenv bootargs &amp;lt;your argumets&amp;gt;" from u-boot terminal. After boot the kernel you can read it by "cat /proc/cmdline". The official images for i.MX6/7 support device tree and bootargs in default for all new kernels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 19:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493099#M79211</guid>
      <dc:creator>martinolejar-b4</dc:creator>
      <dc:date>2016-05-23T19:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Passing u-boot parameters to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493100#M79212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Thanks for your quick response!&lt;/P&gt;&lt;P&gt;Is bootargs only way to pass u-boot parameters to kernel or is there any other option ?&lt;/P&gt;&lt;P&gt;Because in case of ATAG mechanism I am able to pass u-boot parameters without adding it in bootargs?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jemish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 05:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493100#M79212</guid>
      <dc:creator>jemish_1990</dc:creator>
      <dc:date>2016-05-24T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Passing u-boot parameters to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493101#M79213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use chosen in DT&lt;/P&gt;&lt;P&gt;linux/Documentation/devicetree/usage-model.txt&lt;/P&gt;&lt;P&gt;178 2.3 Runtime configuration&lt;/P&gt;&lt;P&gt;179 -------------------------&lt;/P&gt;&lt;P&gt;180 In most cases, a DT will be the sole method of communicating data from&lt;/P&gt;&lt;P&gt;181 firmware to the kernel, so also gets used to pass in runtime and&lt;/P&gt;&lt;P&gt;182 configuration data like the kernel parameters string and the location&lt;/P&gt;&lt;P&gt;183 of an initrd image.&lt;/P&gt;&lt;P&gt;184&lt;/P&gt;&lt;P&gt;185 Most of this data is contained in the /chosen node, and when booting&lt;/P&gt;&lt;P&gt;186 Linux it will look something like this:&lt;/P&gt;&lt;P&gt;187&lt;/P&gt;&lt;P&gt;188&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chosen {&lt;/P&gt;&lt;P&gt;189&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootargs = "console=ttyS0,115200 loglevel=8";&lt;/P&gt;&lt;P&gt;190&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initrd-start = &amp;lt;0xc8000000&amp;gt;;&lt;/P&gt;&lt;P&gt;191&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initrd-end = &amp;lt;0xc8200000&amp;gt;;&lt;/P&gt;&lt;P&gt;192&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;193&lt;/P&gt;&lt;P&gt;194 The bootargs property contains the kernel arguments&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 06:42:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493101#M79213</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-05-24T06:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Passing u-boot parameters to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493102#M79214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biyong Sun,&lt;/P&gt;&lt;P&gt;I have a question for the Communication between Kernel and U-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how to send the just 1bit data between kernel and u-boot.&lt;/P&gt;&lt;P&gt;Could you tell me how to do that?&lt;/P&gt;&lt;P&gt;Actually I have to perform the below action in kernel and u-boot.&lt;BR /&gt;1) In kernel, set or&amp;nbsp;clear&amp;nbsp;a 1-bit flag in some space.&lt;/P&gt;&lt;P&gt;2) In U-boot, U-boot perform some action base on the 1-bit falg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-1) Perform A action when the 1-bit flag is "0".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-2) Perform B action when the 1-bit flag is "1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Eric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 07:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Passing-u-boot-parameters-to-kernel/m-p/493102#M79214</guid>
      <dc:creator>eric_kang</dc:creator>
      <dc:date>2019-06-24T07:20:08Z</dc:date>
    </item>
  </channel>
</rss>

