Root/m1/torture/LOG

Source at commit 29677f4707f9b46a7d1ab710607e76234340160a created 12 years 6 months ago.
By Werner Almesberger, m1/torture/LOG: activity log (with various build instructions)
1--- Tue 2011-09-06 ------------------------------------------------------------
2
31: started around 11:53 (M1 configuration is original, without locking)
4(around 500) visually checked boot process; standby was reached normally
5
6--- Wed 2011-09-07 ------------------------------------------------------------
7
8645: neocon stopped working (around 01:58)
9666: detected neocon failure at run 666: restarted neocon; urjtag failed
10     this cycle; back to normal at 667
11684: checked LEDs again (first time since ~500) and found that standby
12     may be failing. stopping test at 685 (around 02:50) for
13     investigation.
14
15Downloaded the standby bitstream:
16
17  wget https://raw.github.com/milkymist/scripts/master/scripts/reflash_m1.sh
18  chmod 755 reflash_m1.sh
19
20  ./reflash_m1.sh --read-flash
21
22Found two corruptions in the standby bitstream:
23
24  diff -u <(hexdump -C standby.fpg) <(hexdump -C /home/root/.qi/milkymist/read-flash/2011...)
25
26-00000080 00 00 4c 83 00 00 4c 87 00 00 cc 85 d8 47 cc 43 |..L...L......G.C|
27+00000080 00 00 4c 83 00 00 4c 87 00 00 c4 80 d8 47 cc 43 |..L...L......G.C|
28
29-00002840 00 08 cc 26 00 00 00 00 00 00 00 00 0c 44 00 98 |...&.........D..|
30+00002840 00 00 cc 26 00 00 00 00 00 00 00 00 0c 44 00 98 |...&.........D..|
31
32CRC-checked the partitions:
33
34  git clone git://github.com/milkymist/milkymist
35  cd milkymist/tools/
36  gcc -Wall -I. -o flterm flterm.c
37  wget http://milkymist.org/updates/current/for-rc3/boot.4e53273.bin
38  ./flterm --port /dev/ttyUSB0 --kernel boot.4e53273.bin
39
40  only standby.fpg failed the CRC check
41
42Reflashed the standby bitstream:
43
44  wget http://milkymist.org/updates/2011-07-13/for-rc3/fjmem.bit
45  (or http://milkymist.org/updates/fjmem.bit.bz2)
46  wget http://milkymist.org/updates/current/standby.fpg
47
48  jtag
49
50  cable milkymist
51  detect
52  instruction CFG_OUT 000100 BYPASS
53  instruction CFG_IN 000101 BYPASS
54  pld load fjmem.bit
55  initbus fjmem opcode=000010
56  frequency 6000000
57  detectflash 0
58  endian big
59  flashmem 0 standby.fpg noverify
60
61M1 enters standby normally again.
62

Archive Download this file

Branches:
master



interactive