<?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中的主题 Access u-boot variable from userspace</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957360#M143036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying to get a u-boot variable from logo.c(/drivers/video/logo/logo.c). Please let me know how can I access the variable from logo.c file. I want to get the value of console. If I use "fw_printenv console" command, the output is console=ttys0. I want to get the output ("fw_printenv console") value of the u-boot variable from logo.c.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot env‌ yocto-project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2019 07:29:47 GMT</pubDate>
    <dc:creator>just_piash</dc:creator>
    <dc:date>2019-08-22T07:29:47Z</dc:date>
    <item>
      <title>Access u-boot variable from userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957360#M143036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying to get a u-boot variable from logo.c(/drivers/video/logo/logo.c). Please let me know how can I access the variable from logo.c file. I want to get the value of console. If I use "fw_printenv console" command, the output is console=ttys0. I want to get the output ("fw_printenv console") value of the u-boot variable from logo.c.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot env‌ yocto-project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 07:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957360#M143036</guid>
      <dc:creator>just_piash</dc:creator>
      <dc:date>2019-08-22T07:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access u-boot variable from userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957361#M143037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use something like this:&lt;BR /&gt;# fw_printenv console | cut -d= -f2&lt;BR /&gt;to get the part of the output after "=".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 07:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957361#M143037</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2019-08-23T07:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access u-boot variable from userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957362#M143038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion. Could you please let me know which log or how can I see the output if I use"printk(fw_printenv console | cut -d= -f2)" in logo.c(/drivers/video/logo/logo.c). I was trying to see the output.I have logged in to the device while turning on, but it only shows the kernel messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2019 06:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Access-u-boot-variable-from-userspace/m-p/957362#M143038</guid>
      <dc:creator>just_piash</dc:creator>
      <dc:date>2019-08-26T06:49:13Z</dc:date>
    </item>
  </channel>
</rss>

