I use AT91RM9200, memory is 32MB, kernel version is 2.6,13, compiler is arm-linux-gcc 3.3.2, lib is glibc-2.3.3.
My board died per about 3 days. Maybe the software writed too many files.
the test program is
for(i=1; i<=2000; i++) {
sprintf(filename, "/test/t%.d", i);
pf = fopen(filename, "wb");
if(NULL == pf) return;
fwrite(buffer, 1024, 1, pf);
fclose(pf);
if(0 == i%100) printf("write %d files.\n", i);
}
system died after print "write 1600 files."
I runned this program on JFFS2 and NFS. Problem is same.
when I use EP9302, linux 2.4.21, system did not died after write over

10000 files.
I don't known where the error occured...
thanks a lot.