Activity
From 03/21/2018 to 04/19/2018
03/26/2018
- JC 01:56 PM Software Development: RE: Launching Linux Application on Startup
- You also want to figure out where this poll is happening in your code or perhaps a driver you've included. And what action the code is supposed to take when receiving the ERESTART_RESTARTBLOCK signal.
- JC 01:52 PM Software Development: RE: Launching Linux Application on Startup
- > poll([{fd=4,
You need to look higher up in the strace log to find out which file is opened as fd (file descriptor) 4. Note that the file descriptors are reused so a file can be opened early on get fd 4 and then be closed and a new fi...
03/25/2018
- OÇ 12:05 PM Software Development: RE: Launching Linux Application on Startup
- Hi, Jonathan,
I did what you suggested.
The application seems to fail at startup because of a @poll@ call.
*Startup trace:*
03/23/2018
- JC 01:34 PM Software Development: RE: Launching Linux Application on Startup
- Note that you can filter the strace output to reduce the amount of data you get. https://stackoverflow.com/a/30034030
- JC 01:28 PM Software Development: RE: Launching Linux Application on Startup
- Okan Çalış wrote:
> > > +[[Linux Startup Process - Systemd]]+
> ...
Good catch. I'd guess that your service type should be @simple@ instead of oneshot since your program isn't expected to exit. But idle is similar to simple and that ... - OÇ 08:39 AM Software Development: RE: Launching Linux Application on Startup
- I also tried switching @Type@ to @idle@ to ensure the service is not invoked before all other jobs are completed, but that didn't work, either.
Isn't there a way that simulates me typing @./app_name@ with the keyboard after tty is ava... - OÇ 08:18 AM Software Development: RE: Launching Linux Application on Startup
- > > +[[Linux Startup Process - Systemd]]+
> ...
You're right. This one was already working, but I didn't realize it because it couldn't print anything. Adding "@StandardOutput=tty@" to the service file solved this. Here's my service file:
03/21/2018
- JC 02:00 PM Software Development: RE: Launching Linux Application on Startup
- Okan Çalış wrote:
> Hi,
> ...
This is the correct method. Please attach your service file and any logs. Also explain what you expect to happen and what is actually happening.
Note that applications started via this method won't print... - Hi,
I want to adjust the ARM so that it starts an application automatically after startup (or login). There seems to be more than one way to do that, two of which are covered in your wiki. I tried applying them with a dummy script in @/... - OÇ 12:09 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
- Hi,
I solved this problem by writing the JFFS2 image to the NAND partition via the MTD Utilities in Linux, instead of U-Boot. Now, I can boot up Linux properly with the file system.
Thanks for your help. - OÇ 12:08 PM Software Development: RE: Linux Boot Parameter and NAND Partition
- Hi,
I solved this problem by writing the JFFS2 image to the NAND partition via the MTD Utilities in Linux, instead of U-Boot. Now, I can boot up Linux properly with the file system.
Thanks for your help.