Project

General

Profile

Activity

From 02/25/2018 to 03/26/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. Jonathan Cormier
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...
Jonathan Cormier

03/25/2018

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:*
Okan Çalış

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 Jonathan Cormier
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 ...
Jonathan Cormier
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...
Okan Çalış
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:
Okan Çalış

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...
Jonathan Cormier
12:31 PM Software Development: Launching Linux Application on Startup
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 @/...
Okan Çalış
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.
Okan Çalış
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.
Okan Çalış

03/12/2018

JC 05:46 PM Software Development: RE: Linux Boot Parameter and NAND Partition
Okan Çalış wrote:
> I know I can do that. _(You suggested doing so when we realized, the kernel on the custom board listed the MTD partitions differently than configured in U-Boot. It's the same problem, but still, MityDsp can boot to L...
Jonathan Cormier
01:31 PM Software Development: RE: Linux Boot Parameter and NAND Partition
Also, when I issue a "@cat /proc/mtd@" with NFS, it prints only the SPI partitions starting from @mtd0@; it doesn't print @rootfs@ and @homefs@. Okan Çalış
08:16 AM Software Development: RE: Linux Boot Parameter and NAND Partition
I know I can do that. _(You suggested doing so when we realized, the kernel on the custom board listed the MTD partitions differently than configured in U-Boot. It's the same problem, but still, MityDsp can boot to Linux, while the custo... Okan Çalış

03/09/2018

JC 02:00 PM Software Development: RE: Linux Boot Parameter and NAND Partition
You can manually update the nand partition tables by changing the file arch/arm/mach-davinci/board-mityomapl138.c and look for @mityomapl138_nandflash_partition@. Jonathan Cormier
05:20 AM Software Development: RE: Linux Boot Parameter and NAND Partition
> Where did you print out this partition table?
From the @mtdparts@ command of the U-Boot. It is also consistent with environment variable of the same name.
> ...
As you suspected, the MTD partitions listed by Linux don't match tho...
Okan Çalış

03/08/2018

JC 02:41 PM Software Development: RE: Linux Boot Parameter and NAND Partition
Okan Çalış wrote:
> Hi,
> ...
Where did you print out this partition table?
> @device nand0 <nand>, # parts = 3
> ...
Yes I agree with you. Given that parition table, I would expect you to have to use mtdblock1.
Can you run @cat...
Jonathan Cormier
12:49 PM Software Development: Linux Boot Parameter and NAND Partition
Hi,
I have a general question about Linux on MityDsp, which might help me solve "the problem I consulted you about before.":https://support.criticallink.com/redmine/boards/10/topics/5615
On my MityDsp, the NAND flash is partitioned...
Okan Çalış
 

Also available in: Atom