On 12/02/15 06:28, Lancellot Karklin wrote: > Essentially, my issue is that I can successfully execute my program > after sshing to the BBB, logging in as root or default user, and > manually executing the program (all overlays are enabled in a startup > script beforehand). However, if I attempt to execute my program from a > startup script, it fails when it reaches the first point from which it > must access a PRU, leading me to believe that is the issue.
I recently had an error that looked quite similiar.
It turned out that the difference between "startup script" and "started
from shell" in my case was the current working directory: as startup
script the program was started in / and did not find the binaries it
tried to upload to the PRU --> fail.
Another typical difference are the environment variables. Your program
might depend on some environment variables not set when started from a
startup script.
Bye,
Simon
--
Simon Budig kernel concepts GmbH
[email protected] Sieghuetter Hauptweg 48
+49-271-771091-17 D-57072 Siegen
--
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.
signature.asc
Description: OpenPGP digital signature
