How to Autorun application at the start up in BeagleBone

116 Aufrufe
Direkt zur ersten ungelesenen Nachricht

santosh...@devtechm2m.com

ungelesen,
04.04.2018, 07:27:3904.04.18
an BeagleBoard


 I am using BBB with latest debian version 9.2.I want Autorun application at the start up.
firstly i am trying to crontab & systemd service it's working but not showing debugged data on serial debug. 

Chris Green

ungelesen,
04.04.2018, 16:03:3404.04.18
an beagl...@googlegroups.com
santosh...@devtechm2m.com wrote:
> [-- multipart/alternative, encoding 7bit, 51 lines --]
>
> [-- text/plain, encoding 7bit, charset: UTF-8, 16 lines --]
> <https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux#Systemd>
>
A basic method I use is to run things from /etc/rc.local. Any program
called from /etc/rc.local will get run at system startup.

--
Chris Green
·

santosh...@devtechm2m.com

ungelesen,
13.04.2018, 09:18:0513.04.18
an BeagleBoard

/etc/rc.local directory not available
also write script file in rc5d ,rc3.d directory but not working.
need a help!!!!!!!!!!

Przemek Klosowski

ungelesen,
13.04.2018, 12:19:0913.04.18
an beagl...@googlegroups.com
On Fri, Apr 13, 2018 at 9:07 AM, <santosh...@devtechm2m.com> wrote:
>
> /etc/rc.local directory not available
It's a file, not a directory. Just try it:

echo touch /tmp/testRClocal > /etc/rc.local

and reboot the system. You should see the newly created file
/tmp/testRClocal when you login into the running system.


> also write script file in rc5d ,rc3.d directory but not working.
What did you write into those files? which OS version are you running?
Need more detail to help you.
Most new systems use systemd rather than the old SysV /etc/rc* files,
so this may not work (but /etc/rc.local is actually emulated by
systemd so that should be OK).

Yiling Cao

ungelesen,
14.04.2018, 04:53:5914.04.18
an beagl...@googlegroups.com
crontab log can be specified if your /etc/rc.local is not existent or executed. 

https://stackoverflow.com/questions/4883069/debugging-crontab-jobs

depend on you linux distro also have a look like /etc/init.d/




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgEPWy9Nd%2BffMy%2BMr5917de%3DrYgRdR2%3D8LYRzcnY%2BP%2BUSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--

santosh...@devtechm2m.com

ungelesen,
19.04.2018, 07:43:3419.04.18
an BeagleBoard
Details
eeprom:[A335BNLT000C1633BBBG0061]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-01-07]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-rc3-00002-gb33224]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2017.09-00002-g0f3f1c7907]
kernel:[4.9.74-ti-r90]
nodejs:[v6.12.3]
 

santosh...@devtechm2m.com

ungelesen,
19.04.2018, 07:43:3919.04.18
an BeagleBoard
on crontab working but output not showing on serial debug.


On Saturday, April 14, 2018 at 2:23:59 PM UTC+5:30, c2h2 wrote:
crontab log can be specified if your /etc/rc.local is not existent or executed. 

https://stackoverflow.com/questions/4883069/debugging-crontab-jobs

depend on you linux distro also have a look like /etc/init.d/


On Sat, Apr 14, 2018 at 1:18 AM, Przemek Klosowski <przemek....@gmail.com> wrote:
On Fri, Apr 13, 2018 at 9:07 AM,  <santosh...@devtechm2m.com> wrote:
>
> /etc/rc.local directory not available
It's a file, not a directory. Just try it:

echo touch /tmp/testRClocal > /etc/rc.local

and reboot the system. You should see the newly created file
/tmp/testRClocal when you login into the running system.


> also write script file in rc5d ,rc3.d directory but not working.
What did you write into those files? which OS version are you running?
Need more detail to help you.
Most new systems use systemd rather than the old SysV /etc/rc* files,
so this may not work (but /etc/rc.local is actually emulated by
systemd so that should be OK).

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten