JFFS2 ERROR WHEN QT APPLICATION RUNNING

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JFFS2 ERROR WHEN QT APPLICATION RUNNING

1,626 Views
arunkmrvn
Contributor II

I am using i.mx51 processor, From few days i am facing error of JFFS2 by initialisation itself. After Launching QT Application, The running application goes hang state. In debug state its showing JFFS2 error (493). After showing this error application speed slows down. So, at one state it become hangs. After some time VFS makes freeing memory. Then starts normal execution. I suspect, its due to garbage collection in cache memory. so, for this i clearing the dropcaches memory by the command echo 3 > /proc/sys/vm/drop_caches and command sync in each time of before initialisation of application.

Still, Hanging Happens while running QT application. In Application FILE operations (read & write 300 ticks) going on continuously, The File Operation is in this sequence Open -> Writing 300 values (writing to FPGA through EMI communication) -> fflushing -> closing file. Reading also asusual except flushing. But, Why this Application makes JFFS2 hangs, (It'll not Hangs, if the same application runs in TFTP) if cache is the problem means, how can i resolve it.

What changes has to make in kernel to came over from this problem.

0 Kudos
Reply
1 Reply

1,483 Views
igorpadykov
NXP Employee
NXP Employee

Hi Arun

one can try new nand flash since old may be weared out.

Additionally one can check if it is suitable for i.MX51 : max. page size 4K, spare 218 byte

ecc 8 bit. Program using attached document sect.5.3 NAND flash and BSP on

i.MX51 Evaluation Kit|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply