<?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>Processor Expert Software中的主题 Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1581675#M5397</link>
    <description>&lt;P&gt;Please use this method in yocto:tiny rootfs&lt;/P&gt;
&lt;P&gt;Please rename your boot up script&amp;nbsp;&lt;SPAN&gt;autoboot_app.sh as "S100autoboot_app.sh" and add execution mode and put it folder&amp;nbsp;&lt;STRONG&gt;/flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny&lt;/STRONG&gt;/etc/rcS.d/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then regenerate the itb image, S100autoboot_app.sh&amp;nbsp;will be executed automatically when linux booting up.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 10:40:35 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2023-01-12T10:40:35Z</dc:date>
    <item>
      <title>[LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1567550#M5354</link>
      <description>&lt;P&gt;Dear NXP Support Team,&lt;/P&gt;&lt;P&gt;I want to run my application executable file automatically just after Linux boot up.&lt;/P&gt;&lt;P&gt;Please tell me how i can enable auto boot of any executable file ?.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Keshri&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 14:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1567550#M5354</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2022-12-09T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1574199#M5369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have created autoboot_app.sh file in etc/init.d/ directory and written below script in&amp;nbsp;autoboot_app.sh file but after linux boot up neither our application&amp;nbsp;SMSAppV0p4 is running nor echo command print is coming.&lt;/P&gt;&lt;P&gt;#! /bin/sh&lt;BR /&gt;echo"*******Auto-Boot Enable****************"&lt;BR /&gt;root&lt;BR /&gt;PATH:/usr/sbin&lt;BR /&gt;#./usr/sbin/SMSAppV0p4 &amp;amp;&lt;BR /&gt;echo "Running executable SMSAppV0p4 after linux bootup"&lt;/P&gt;&lt;P&gt;chmod a+x /usr/sbin/SMSAppV0p4&lt;BR /&gt;cd /usr/sbin/&lt;/P&gt;&lt;P&gt;./SMSAppV0p4 &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same script i wrote in etc/profile but here also i am not observing any print.&lt;/P&gt;&lt;P&gt;Why any script is not getting executed from my RFS.&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Keshri&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 12:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1574199#M5369</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2022-12-23T12:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1575035#M5370</link>
      <description>&lt;P&gt;Please refer to this step by step user guide&lt;/P&gt;
&lt;P&gt;&lt;A href="https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-22-04-jammy-jellyfish-server-desktop" target="_blank" rel="noopener"&gt;https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-22-04-jammy-jellyfish-server-desktop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I have verified this method on the target board, it works.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 02:53:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1575035#M5370</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-12-28T02:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1575944#M5380</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply .&lt;/P&gt;&lt;P&gt;I will check above point and update you soon.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Keshri&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 05:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1575944#M5380</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-01-02T05:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1576331#M5384</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As per your reply i go through below link :&lt;/P&gt;&lt;P&gt;&lt;A href="https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-22-04-jammy-jellyfish-server-desktop" target="_blank"&gt;https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-22-04-jammy-jellyfish-server-desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and did below things to enable autoboot of application.&lt;/P&gt;&lt;P&gt;1.Created &lt;STRONG&gt;autoboot.sh&lt;/STRONG&gt; script file under&amp;nbsp;&lt;STRONG&gt;flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny/etc/systemd/system&lt;/STRONG&gt; directory and wrote below script in autoboot.sh:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------&lt;/P&gt;&lt;P&gt;[&lt;STRONG&gt;Unit]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;After=network.target&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Service]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ExecStart=/flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny/etc/init.d/autoboot_sms.sh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Install]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WantedBy=default.target&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------&lt;/P&gt;&lt;P&gt;2.Created&amp;nbsp;&lt;STRONG&gt;autoboot_sms.sh&lt;/STRONG&gt; file in&amp;nbsp; &lt;STRONG&gt;/flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny/etc/init.d/&lt;/STRONG&gt; to run the application and written below things inside&amp;nbsp;autoboot_sms.sh:&lt;/P&gt;&lt;P&gt;--------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#!/bin/bash&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;echo "*******Auto-Boot Enable****************"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;User=root&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PATH:/usr/sbin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;chmod a+x /usr/sbin/SMSAppV0p4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;cd /usr/sbin/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./SMSAppV0p4 &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------&lt;/P&gt;&lt;P&gt;3.Change the file &lt;SPAN&gt;permissions for both, the Systemd service unit and script:&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sudo chmod 777 rfs/initrd/YoctoRfsTiny/etc/systemd/system/autoboot.sh&lt;/P&gt;&lt;P&gt;sudo chmod 777 rfs/initrd/YoctoRfsTiny/etc/init.d/autoboot_sms.sh&lt;/P&gt;&lt;P&gt;4.enable the service unit:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;sudo systemctl daemon-reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sudo systemctl enable autoboot_sms.sh&lt;/P&gt;&lt;P&gt;After this changes i generated linux images and loaded in board and observed that no script is getting executed so no echo print was observed.&lt;/P&gt;&lt;P&gt;But manually when i executed this script ,application was running.&lt;/P&gt;&lt;P&gt;Apart from this i have also created script in etc/rcS.d, etc/rc5.d, and etc/profile and added print using echo command but after loading i did not observed any prints.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where i am doing wrong ??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why any script under RFS is not getting executed??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Keshri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 06:03:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1576331#M5384</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-01-03T06:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1576880#M5385</link>
      <description>&lt;P&gt;Please refer to the following procedure.&lt;/P&gt;
&lt;P&gt;1.Created&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;autoboot.service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;script file under&amp;nbsp;&lt;STRONG&gt;flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny/etc/systemd/system&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directory and wrote below script in &lt;STRONG&gt;autoboot.service&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------&lt;/P&gt;
&lt;P&gt;[&lt;STRONG&gt;Unit]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;After=network.target&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[Service]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ExecStart=/etc/init.d/autoboot_sms.sh&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[Install]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WantedBy=default.target&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------&lt;/P&gt;
&lt;P&gt;2.Created&amp;nbsp;&lt;STRONG&gt;autoboot_sms.sh&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;/flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny/etc/init.d/&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to run the application and written below things inside&amp;nbsp;autoboot_sms.sh:&lt;/P&gt;
&lt;P&gt;--------------------------------------------------&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#!/bin/bash&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;echo "*******Auto-Boot Enable****************" &amp;gt; /root/autoboot.txt&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;User=root&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PATH:/usr/sbin&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;chmod a+x /usr/sbin/SMSAppV0p4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;cd /usr/sbin/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;./SMSAppV0p4 &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;----------------------------------------------------&lt;/P&gt;
&lt;P&gt;3.Change the file&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;permissions for both, the Systemd service unit and script:&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;sudo chmod 777 rfs/initrd/YoctoRfsTiny/etc/systemd/system/autoboot.service&lt;/P&gt;
&lt;P&gt;sudo chmod 777 rfs/initrd/YoctoRfsTiny/etc/init.d/autoboot_sms.sh&lt;/P&gt;
&lt;P&gt;4.enable the service unit:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;sudo systemctl daemon-reload&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;sudo systemctl enable autoboot.service&lt;/P&gt;
&lt;P&gt;5. Please boot rootfs on the target board and check the output in file&amp;nbsp;&lt;STRONG&gt;/root/autoboot.txt.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 06:48:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1576880#M5385</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-04T06:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1576999#M5386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your quick reply.&lt;/P&gt;&lt;P&gt;I will check above points and share the result with you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kumar Keshri&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 09:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1576999#M5386</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-01-04T09:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1580718#M5392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As per your suggestion i did above things in my RFS and i am able to see my application&amp;nbsp;&lt;STRONG&gt;SMSAppV0p4&lt;/STRONG&gt;,when i typed ps command after linux bootup but my application is not running so i could not able to see any print which i have added i my application&amp;nbsp;&lt;STRONG&gt;SMSAppV0p4&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I am able to run application manually and prints are coming as shown in attached log files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But why my application is not running after Linux boot up??&lt;/P&gt;&lt;P&gt;Please find the log file for your reference.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Keshri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 09:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1580718#M5392</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-01-11T09:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1581494#M5396</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The Ubuntu main system is based on Systemd hence the simplest and recommended way to run a script on startup is to create a systemd service script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I assumed that you are using Ubuntu main rootfs previously. In fact, you are using yocto tiny rootfs which doesn't support systemd.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would you please use Ubuntu main rootfs? Or you must use Yocto tiny rootfs in your products?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 07:43:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1581494#M5396</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-12T07:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1581675#M5397</link>
      <description>&lt;P&gt;Please use this method in yocto:tiny rootfs&lt;/P&gt;
&lt;P&gt;Please rename your boot up script&amp;nbsp;&lt;SPAN&gt;autoboot_app.sh as "S100autoboot_app.sh" and add execution mode and put it folder&amp;nbsp;&lt;STRONG&gt;/flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny&lt;/STRONG&gt;/etc/rcS.d/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then regenerate the itb image, S100autoboot_app.sh&amp;nbsp;will be executed automatically when linux booting up.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 10:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1581675#M5397</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-12T10:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1584564#M5404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;As per your suggestion i added&amp;nbsp;&lt;SPAN&gt;S100autoboot_app.sh in&amp;nbsp;&lt;STRONG&gt;/flexbuild_lsdk2012/packages/rfs/initrd/YoctoRfsTiny&lt;/STRONG&gt;/etc/rcS.d/ directory and changed file permission ,which contains below script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#!/bin/bash&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;echo "*******Auto-Boot Enable****************" &amp;gt; /root/autoboot.txt&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;User=root&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PATH:/usr/sbin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;chmod a+x /usr/sbin/SMSAppV0p4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;cd /usr/sbin/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SMSAppV0p4&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After loading .itb file with above modification i observed that linux is not booting completely and getting stuck before &lt;STRONG&gt;login&lt;/STRONG&gt; option and when i disabled SMSAppV0p4&amp;nbsp;as #SMSAppV0p4 in &lt;SPAN&gt;S100autoboot_app.sh&amp;nbsp;&lt;/SPAN&gt;then Linux is booting completely.&lt;/P&gt;&lt;P&gt;Coming to your Question :&lt;/P&gt;&lt;P&gt;From beginning we are using&amp;nbsp;&lt;SPAN&gt;yocto tiny rootfs only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do we need to change our rootfs file system ??.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you &lt;STRONG&gt;provide any link to download&amp;nbsp;Ubuntu main rootfs&lt;/STRONG&gt;,which is compitable with flexbuild based SDK for LS1028A processor??.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Amit Keshri&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 11:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1584564#M5404</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-01-18T11:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1585115#M5406</link>
      <description>&lt;P&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2012/rootfs_lsdk2012_ubuntu_main_arm64.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2012/rootfs_lsdk2012_ubuntu_main_arm64.tgz&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 01:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1585115#M5406</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-19T01:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1595606#M5458</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have download&amp;nbsp;&lt;STRONG&gt;Ubuntu main rootfs&lt;/STRONG&gt;&amp;nbsp;from above link and did below things:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.Created&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;autoboot.service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;script file under&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;flexbuild_lsdk2012/packages/rfs/etc/systemd/system&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;directory and wrote below script in autoboot.sh:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;----------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Unit]&lt;BR /&gt;Description=Auto Launch of app after Linux boot up&lt;BR /&gt;#After=syslog.target&lt;BR /&gt;[Service]&lt;BR /&gt;Type=simple&lt;BR /&gt;ExecStart=/flexbuild_lsdk2012/packages/newrfs/etc/init.d/S100autoboot_app.sh&lt;BR /&gt;[Install]&lt;BR /&gt;WantedBy=sysinit.target.wants&lt;BR /&gt;#WantedBy=default.targ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-----------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.Created S100&lt;STRONG&gt;autoboot_sms.sh&lt;/STRONG&gt;&amp;nbsp;file in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;/flexbuild_lsdk2012/packages/rfs/etc/init.d/&lt;/STRONG&gt;&amp;nbsp;to run the application and written below things inside S100autoboot_sms.sh:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;Change the file&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;permissions for both, the Systemd service unit and script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sudo chmod 777 /rfs/etc/systemd/system/autoboot.service&lt;/P&gt;&lt;P&gt;sudo chmod 777 /rfs/etc/init.d/S100autoboot_sms.sh&lt;/P&gt;&lt;P&gt;4.enable the service unit:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;sudo systemctl daemon-reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sudo systemctl enable autoboot.service&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;But after&amp;nbsp;sudo systemctl enable autoboot.service command ,it is showing below ERROR:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Failed to enable unit: Unit file autoboot.service does not exist.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But when i enable&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;WantedBy=default.targe&lt;/STRONG&gt; in autoboot.service file then&amp;nbsp;&lt;STRONG&gt;sudo systemctl enable autoboot.service&lt;/STRONG&gt; command is getting executed but it is taking default.target from /etc/systemd/system from ubuntu server&amp;nbsp; path not instead of rfs/etc/systemd/system path.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help us on this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kumar Keshri&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:22:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1595606#M5458</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-02-08T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1596278#M5462</link>
      <description>&lt;P&gt;Would you please boot the target board with rootfs&amp;nbsp;rootfs_lsdk2012_ubuntu_main_arm64.tgz?&lt;/P&gt;&lt;P&gt;Then &lt;STRONG&gt;on the target board&lt;/STRONG&gt; do the following configuration.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Created&amp;nbsp;&lt;STRONG&gt;autoboot.service&lt;/STRONG&gt;&amp;nbsp;script file in&lt;STRONG&gt; /etc/systemd/system&lt;/STRONG&gt;&amp;nbsp;directory and wrote below script in&amp;nbsp;&lt;STRONG&gt;autoboot.service&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;STRONG&gt;Unit]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;After=network.target&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[Service]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;ExecStart=/etc/init.d/autoboot_sms.sh&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[Install]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;WantedBy=default.target&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Created&amp;nbsp;&lt;STRONG&gt;autoboot_sms.sh&lt;/STRONG&gt;&amp;nbsp;file in&lt;STRONG&gt; /etc/init.d/&lt;/STRONG&gt;&amp;nbsp;to run the application and wrote below things inside&amp;nbsp;autoboot_sms.sh:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;#!/bin/bash&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;echo "*******Auto-Boot Enable****************" &amp;gt; /root/autoboot.txt&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;User=root&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PATH:/usr/sbin&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;chmod a+x /usr/sbin/SMSAppV0p4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;cd /usr/sbin/&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;./SMSAppV0p4 &amp;amp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;----------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Change the file&amp;nbsp;permissions for both, the Systemd service unit and script::&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;chmod 777 /etc/systemd/system/autoboot.service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;chmod 777 /etc/init.d/autoboot_sms.sh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Enable the service unit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;systemctl daemon-reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;systemctl enable autoboot.service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Please reboot rootfs on the target board and check the output in file&amp;nbsp;&lt;STRONG&gt;/root/autoboot.txt.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 06:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1596278#M5462</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-02-09T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: [LS1028a]: How to enable auto boot of application executable files after linux boot up ?.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1596291#M5463</link>
      <description>&lt;P&gt;Thank You for quick reply.&lt;/P&gt;&lt;P&gt;I will load in board and update you the result.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&amp;nbsp; Keshri&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 07:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/LS1028a-How-to-enable-auto-boot-of-application-executable-files/m-p/1596291#M5463</guid>
      <dc:creator>Amit_Keshri</dc:creator>
      <dc:date>2023-02-09T07:02:31Z</dc:date>
    </item>
  </channel>
</rss>

