Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
785 Views

Linux boot runs application differently to command line

Hi, 

I'm running linux 3.10.87-ltsi on a Cyclone V. 

I have an application that starts multiple threads, and changes the priority on some of these as well. It also loads two kernel drivers to give me access to a GPIO interrupt and contiguous memory for FPGA access. 

 

All of these load and run fine, if I run them from the ssh shell. 

However, if I run them from a script that systemd runs at boot time, then although the drivers load correctly, and the threads priorities get set correctly the application itself doesn't seem to run at the same performance level - ie we get data loss. 

 

Is there any trick to persuading linux to run the application as if it were run from the command line once boot had finished? 

 

Or any hints as to what I should watch for when starting applications during boot? 

 

Regards, 

Simon
0 Kudos
0 Replies