On Thu, Oct 10, 2019 at 9:04 PM Schneeberger, Eric <
eric.schneeberger@gtt.com> wrote:
> 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.
>
Hello Eric
In all cases that I have seen something like this it has come down to
either a driver or a configuration issue causing some overlap.
Can you give me some more info:
1) 32 blocks is reasonably small for a Yaffs partition. Not too small, but
still smaller than normal. That in itself should not be an issue. How many
files are there? How much free space is there before modifying the files?
2) Are the other partitions mounted at the same time or are they left
unmounted?
Regards
Charles
>
> Regards,
>
>
>
> *Eric Schneeberger*
>
> Senior Firmware Engineer
>
> P 651.789.7315
>
> Global Traffic Technologies, LLC • 7800 Third Street North • St. Paul,
> Minnesota 55128-5441
>
> [image: 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.
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>