Hello, we are having a problem that only seems to appears with new devices from our factory.

 

yaffs_lstat will return -1, aka file doesn’t exist.

 

Steps:

  1. Initial power-up we default our configuration files.
    1. We have multiply mount points but it appears to happen only on the first mount point. Blocks 1-32
  2. Reboot and files all exist in fist mount point. (yaffs_lstat returns 0)
  3. Do a write to a file in first mount point
    1. Any file (from what I can tell)
  4. Reboot and all files don’t exist (yaffs_lstat returns -1)
  5. From then on any write and reboot the files will exist.
    1. I haven’t been able to reproduce it after this.

 

FYI flash NAND is a micron MT29F1G08ABADA.

 

Has anyone seen such behavior?

 

Any help is appreciated.

 

Regards,

 

Eric Schneeberger

Senior Firmware Engineer

P 651.789.7315

Global Traffic Technologies, LLC  7800 Third Street North • St. Paul, Minnesota 55128-5441

cid:image001.png@01D39C47.26EA0B80

 


Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.