AnsweredAssumed Answered

i.mx53 Linux BSP_ High CPU usage for the app with the read-only file system:

Question asked by GopiNagaBharath on Feb 24, 2014
Latest reply on Apr 13, 2014 by Yixing Kong

Hello Everyone,


I have come across this strange issue with the read-only ext2 file system on my i.MX53 board.

If I make the file system as read-only and run a Qt application from /etc/rc.d/init.d/app during the linux startup, the CPU usage of the application goes very high (reaches up to 100% and crashes the app).

However, if i run the app manually from the console, everything works perfectly (the CPU usage is 20 to 30%).


Also, if i make the file system read & write then application works properly in both the cases (running manually & starting with script from init.d with linux bootup).


I am not sure why this is happening. One thing which i have noticed is, the application debug prints are not shown on the console (mxctty) when the application is started in background from init.d (startup).


Has any one faced this issue with read-only file system? Or any ideas what must causing this behavior?