From: Craig H. <cr...@hu...> - 2005-02-04 17:46:03
|
On Feb 4, 2005, at 6:58 AM, mark gross wrote: > Sorry I get the crash after freeing init memory with this image :( > > Have you reproduced this failure on your hardware yet? This is a > showstopper. > > I wonder if my hardware differs from yours or is defective. Haven't been able to reproduce that on any gumstix I've tried -- about half a dozen now, including -orig's, -f's and -g's. You may well have a bad block in flash or something. Try creating a file which is all 0s, and another which is all 1s, the size of root_fs space of gumstix flash: (in linux): dd if=/dev/zero of=big_zeros bs=128k count=30 tr '\000' '\377' < big_zeros > big_ones Now, in u-boot, era 1:2-31;crc 40000 3c0000 That will give you the CRC of the wiped flash, which *should* all be 1's. So check: loadb [now send big_ones];crc a2000000 3c0000 <-- should be same CRC. If not, you have a bit or more in flash which won't erase If that worked, then loadb the big_zeros file, and cp it to flash loadb;cp.b a2000000 40000 3c0000;crc 40000 3c0000;crc a2000000 3c0000 If those two crcs differ, then you have at least one bit which won't reset. If both CRCs match, then problem is probably somewhere else -- what version of u-boot are you using? C |