<?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のトピックRe: Auto login and execute the custom script on bootup on iMX8M Mini</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936970#M140391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Victor, it worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 16:02:23 GMT</pubDate>
    <dc:creator>sreedhar_appala</dc:creator>
    <dc:date>2019-10-04T16:02:23Z</dc:date>
    <item>
      <title>Auto login and execute the custom script on bootup on iMX8M Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936968#M140389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with Yocto linux build, BSP linux kernel version 4.14.78_2.0.0&lt;/P&gt;&lt;P&gt;working on the iMX8M Mini EVK target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added my executing commands at /etc/rc.local before exit 0.&lt;/P&gt;&lt;P&gt;But i could not see those commands executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: I could not find the /etc/inittab.&lt;/P&gt;&lt;P&gt;Could you please let us know how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you, sreedhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 18:57:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936968#M140389</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2019-10-01T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Auto login and execute the custom script on bootup on iMX8M Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936969#M140390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure that you are using "right" /etc/rc.local file.&lt;BR /&gt;I mean possibly your OS uses ramdisk and updating the file on live filesystem gets overwrited with unpacking ramdisk image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please make sure that executing of this script does not stop somewhere before your command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my board I added a simple command into /etc/rc.local file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx8qmmek:~# tail -2 /etc/rc.local&lt;BR /&gt;echo test &amp;gt; /test.txt&lt;BR /&gt;exit 0&lt;BR /&gt;root@imx8qmmek:~#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I rebooted the board and got the result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx8qmmek:~# cat /test.txt&lt;BR /&gt;test&lt;BR /&gt;root@imx8qmmek:~#&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As for autologin please try to add "-a root" (or some other user) into ExecStart option&lt;BR /&gt;of /etc/systemd/system/getty.target.wants/serial-getty@ttyAMA0.service file this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExecStart=-/sbin/agetty -8 -a root -L %I 115200 $TERM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 07:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936969#M140390</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2019-10-02T07:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Auto login and execute the custom script on bootup on iMX8M Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936970#M140391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Victor, it worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 16:02:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/936970#M140391</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2019-10-04T16:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Auto login and execute the custom script on bootup on iMX8M Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/1426851#M188102</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to prevent to print following message?&lt;/P&gt;&lt;P&gt;localhost login: root (automatic login)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 11:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Auto-login-and-execute-the-custom-script-on-bootup-on-iMX8M-Mini/m-p/1426851#M188102</guid>
      <dc:creator>Mike_Chen</dc:creator>
      <dc:date>2022-03-11T11:12:07Z</dc:date>
    </item>
  </channel>
</rss>

