Flash read/write
Hi All,
I am having problems writing a file to the flash. I am using omap5912 and kernel2.6.17. I have 2 problems here. First, when I create a file(which does not exist) using the standard linux open the return value is always -1 which I think is an error. However, when the file is existing, I can write succesfully. So what I did is create a tmpFile with zero bytes then include it in my filesystem, then use the cp to create the file that I can use. Is this a problem on the permission on jffs2 filesystem? The second problem is the speed in writing to the flash. If I write to the flash for the first time it is taking so long to finish compared to the second time I write to the flash. Could someone enlighten me?
Thanks,
Arnold
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.