How do you invoke the startupscript? (Maybe it's to early during boot.) On Thu, Jun 25, 2015 at 10:35 AM, terra ÜÝÜ <[email protected]> wrote: > Hi, > > I have a basic application which use PRU1. program works 100% when executes > as "root" from user space (via putty). > I have a bash start up script, which synchronizes with RTC and executes my > program. > cat /usr/share/rtc_ds3231/clock_init.sh > > #!/bin/bash > sleep 15 > echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device > hwclock -s -f /dev/rtc1 > hwclock -w > /home/myprogram > > as a result, the time synch is working, the program executes (ps ax|grep > myprogram) shows it running; though no PRU1 activity. > I need to login as root (via putty) kill the process and start is again (as > root), and it works just fine. Literally no other actions are taken, killing > the program multiple times still results in 100% operation each time. > ps ax|grep myprogram > kill -9 myprogramPID > /home/myprogram & > > Kind help would be most appreciated > Thank You > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout.
-- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
