From: William_mplx <wi...@mp...> - 2008-09-18 13:51:13
|
I have a Verdex XL6P with a netwifimicroSD EU with a 4GB MicroSD card and a Robostix, running Open Embedded 318 (also tested with 316) and I have noticed that the log files I was writing to the Micro SD card were getting corrupted (actually it was parts of the previous log file, which suggested certain sectors weren't getting erased). I subseqently tested copying an aproximately 300MB file at the command line (incrementing a numerical suffix by one on each copy, then taking a checksum of the file). To my amazement, the checksum did not match, further testing showed that I could reliably get a checksum error after copying 1.5GB. Assuming the card was faulty I a) Replaced the card a second one (2GB and FAT16 rather than FAT32) and repeated the tests -with the same results b) Put the card in a reader attached to a laptop and repeated the test from windows, with the result that the checksum matched every time. Finally, in despair I created a buildroot image -1627 (and after much cursing and head scratching realised that I was using a card formatted FAT32 and that Uboot doesn't do FAT32). I then repeated the file copy test with the buildroot OS and lo and behold, the checksums haven't been wrong yet. I went back and tried OE 316 and 318 (downloaded the minimal images), glibc and uclibc and all gave corruption problems. The only thing I can deduce from my testing is that OE has a problem with handling SD cards? -Which seems pretty unlikely to me. So... Does anyone have any ideas about how I can fix this? I really don't want to have to go back to Buildroot. -- William wi...@mp... -- View this message in context: http://www.nabble.com/File-corruption-on-SD-card-with-OE-tp19561431p19561431.html Sent from the Gumstix mailing list archive at Nabble.com. |