From 29677f4707f9b46a7d1ab710607e76234340160a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 7 Sep 2011 04:20:08 -0300 Subject: [PATCH] m1/torture/LOG: activity log (with various build instructions) --- m1/torture/LOG | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 m1/torture/LOG diff --git a/m1/torture/LOG b/m1/torture/LOG new file mode 100644 index 0000000..fcc41f1 --- /dev/null +++ b/m1/torture/LOG @@ -0,0 +1,61 @@ +--- Tue 2011-09-06 ------------------------------------------------------------ + +1: started around 11:53 (M1 configuration is original, without locking) +(around 500) visually checked boot process; standby was reached normally + +--- Wed 2011-09-07 ------------------------------------------------------------ + +645: neocon stopped working (around 01:58) +666: detected neocon failure at run 666: restarted neocon; urjtag failed + this cycle; back to normal at 667 +684: checked LEDs again (first time since ~500) and found that standby + may be failing. stopping test at 685 (around 02:50) for + investigation. + +Downloaded the standby bitstream: + + wget https://raw.github.com/milkymist/scripts/master/scripts/reflash_m1.sh + chmod 755 reflash_m1.sh + + ./reflash_m1.sh --read-flash + +Found two corruptions in the standby bitstream: + + diff -u <(hexdump -C standby.fpg) <(hexdump -C /home/root/.qi/milkymist/read-flash/2011...) + +-00000080 00 00 4c 83 00 00 4c 87 00 00 cc 85 d8 47 cc 43 |..L...L......G.C| ++00000080 00 00 4c 83 00 00 4c 87 00 00 c4 80 d8 47 cc 43 |..L...L......G.C| + +-00002840 00 08 cc 26 00 00 00 00 00 00 00 00 0c 44 00 98 |...&.........D..| ++00002840 00 00 cc 26 00 00 00 00 00 00 00 00 0c 44 00 98 |...&.........D..| + +CRC-checked the partitions: + + git clone git://github.com/milkymist/milkymist + cd milkymist/tools/ + gcc -Wall -I. -o flterm flterm.c + wget http://milkymist.org/updates/current/for-rc3/boot.4e53273.bin + ./flterm --port /dev/ttyUSB0 --kernel boot.4e53273.bin + + only standby.fpg failed the CRC check + +Reflashed the standby bitstream: + + wget http://milkymist.org/updates/2011-07-13/for-rc3/fjmem.bit + (or http://milkymist.org/updates/fjmem.bit.bz2) + wget http://milkymist.org/updates/current/standby.fpg + + jtag + + cable milkymist + detect + instruction CFG_OUT 000100 BYPASS + instruction CFG_IN 000101 BYPASS + pld load fjmem.bit + initbus fjmem opcode=000010 + frequency 6000000 + detectflash 0 + endian big + flashmem 0 standby.fpg noverify + +M1 enters standby normally again.