Date:2011-09-09 00:07:18 (7 years 9 months ago)
Author:Werner Almesberger
Commit:852210cdfa0b62e85df9c7aa4ca0195ff93f19d6
Message:m1rc3/norruption/: next round of tests, just resetting without power-cycling

Files: m1rc3/norruption/LOG (1 diff)
m1rc3/norruption/README (1 diff)
m1rc3/norruption/loop4 (1 diff)

Change Details

m1rc3/norruption/LOG
130130-0008a380 28 43 00 00 34 64 00 01 58 44 00 00 5c 60 00 1e |(C..4d..XD..\`..|
131131+0008a380 28 43 00 00 00 00 00 01 58 44 00 00 5c 60 00 1e |(C......XD..\`..|
132132...
133
134Recovered the FN partition and unlocked the NOR:
135
136  flashmem 0x920000 flickernoise.fbi noverify
137  unlockflash 0 55
138
139New test series with script loop4. This differs from loop2 in that
140it uses "pld reconfigure" to return to standby, instead of
141power-cycling. If we still observe corruption with this test, then
142a software problem would be to blame.
143
1441 (09:11): started
1452403 (19:07): standby still looks good
m1rc3/norruption/README
2828
2929The log file records the console output from the M1, plus time
3030stamps and cycle numbers written from the "loop" script.
31
32Update: there's another test, loop2, which performs a shorter loop,
33which still produces corruption.
34
35Update: loop4 does the same as loop2, but uses "pld reconfigure" instead
36of power-cycling. Since loop2 was used for a test run #2 (NOR unlocked)
37and a test run #3 (first 55 pages of NOR locked), there is no loop3
38script.
39
m1rc3/norruption/loop4
1#!/bin/sh
2
3reset()
4{
5    jtag <<EOF
6cable milkymist
7detect
8instruction CFG_OUT 000100 BYPASS
9instruction CFG_IN 000101 BYPASS
10pld reconfigure
11EOF
12}
13n=0
14while true; do
15    n=`expr $n + 1`
16    echo ===== $n =====
17
18    reset
19    sleep 2
20
21    make -C ../../m1/jtag-boot boot
22
23    sleep 8
24    echo echo === $n === `date` >/dev/ttyUSB0
25    sleep 2
26done

Archive Download the corresponding diff file

Branches:
master



interactive