<?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: Boot LED on customized imx8mp board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-LED-on-customized-imx8mp-board/m-p/1687409#M209218</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/146471"&gt;@gaurav_bankar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;One can create a custom script (that turns off led ) and put that into&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;/etc/profile.d/&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;ledturn_off.sh&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#! /bin/sh

# turn off led gpio
gpioset -c gpiochip&amp;lt;x&amp;gt; &amp;lt;pin&amp;gt;=0 &lt;/LI-CODE&gt;
&lt;P&gt;# chmod 744&amp;nbsp;ledturn_off.sh&lt;/P&gt;
&lt;P&gt;# mv&amp;nbsp;&amp;nbsp;ledturn_off.sh /etc/profiles.d/&lt;/P&gt;
&lt;P&gt;=&amp;gt; One can also create a yocto recipe to automate the above steps.&lt;/P&gt;
&lt;P&gt;Please specify the gpio number for led and whether led is configured using a led class or as normal gpio.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 09:20:23 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-07-13T09:20:23Z</dc:date>
    <item>
      <title>Boot LED on customized imx8mp board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-LED-on-customized-imx8mp-board/m-p/1687288#M209211</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have a customized imx8mp board and I want to blink a Boot LED during boot process and turn it off after login ( or boot process is ended ). The LED is connected on GPIO line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I was able to blink the LED by mentioning it in the corresponding board.c file of U-boot. I am not able to turn it off after boot process ends.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Does anyone has any idea how to do it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 07:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-LED-on-customized-imx8mp-board/m-p/1687288#M209211</guid>
      <dc:creator>gaurav_bankar</dc:creator>
      <dc:date>2023-07-13T07:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Boot LED on customized imx8mp board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-LED-on-customized-imx8mp-board/m-p/1687409#M209218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/146471"&gt;@gaurav_bankar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;One can create a custom script (that turns off led ) and put that into&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;/etc/profile.d/&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;ledturn_off.sh&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#! /bin/sh

# turn off led gpio
gpioset -c gpiochip&amp;lt;x&amp;gt; &amp;lt;pin&amp;gt;=0 &lt;/LI-CODE&gt;
&lt;P&gt;# chmod 744&amp;nbsp;ledturn_off.sh&lt;/P&gt;
&lt;P&gt;# mv&amp;nbsp;&amp;nbsp;ledturn_off.sh /etc/profiles.d/&lt;/P&gt;
&lt;P&gt;=&amp;gt; One can also create a yocto recipe to automate the above steps.&lt;/P&gt;
&lt;P&gt;Please specify the gpio number for led and whether led is configured using a led class or as normal gpio.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 09:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-LED-on-customized-imx8mp-board/m-p/1687409#M209218</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-07-13T09:20:23Z</dc:date>
    </item>
  </channel>
</rss>

