From 852210cdfa0b62e85df9c7aa4ca0195ff93f19d6 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 8 Sep 2011 19:07:18 -0300 Subject: [PATCH] m1rc3/norruption/: next round of tests, just resetting without power-cycling --- m1rc3/norruption/LOG | 13 +++++++++++++ m1rc3/norruption/README | 9 +++++++++ m1rc3/norruption/loop4 | 26 ++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100755 m1rc3/norruption/loop4 diff --git a/m1rc3/norruption/LOG b/m1rc3/norruption/LOG index e0e8a83..83681aa 100644 --- a/m1rc3/norruption/LOG +++ b/m1rc3/norruption/LOG @@ -130,3 +130,16 @@ Compare with the original: -0008a380 28 43 00 00 34 64 00 01 58 44 00 00 5c 60 00 1e |(C..4d..XD..\`..| +0008a380 28 43 00 00 00 00 00 01 58 44 00 00 5c 60 00 1e |(C......XD..\`..| ... + +Recovered the FN partition and unlocked the NOR: + + flashmem 0x920000 flickernoise.fbi noverify + unlockflash 0 55 + +New test series with script loop4. This differs from loop2 in that +it uses "pld reconfigure" to return to standby, instead of +power-cycling. If we still observe corruption with this test, then +a software problem would be to blame. + +1 (09:11): started +2403 (19:07): standby still looks good diff --git a/m1rc3/norruption/README b/m1rc3/norruption/README index 5a425dd..1fa289c 100644 --- a/m1rc3/norruption/README +++ b/m1rc3/norruption/README @@ -28,3 +28,12 @@ This will: The log file records the console output from the M1, plus time stamps and cycle numbers written from the "loop" script. + +Update: there's another test, loop2, which performs a shorter loop, +which still produces corruption. + +Update: loop4 does the same as loop2, but uses "pld reconfigure" instead +of power-cycling. Since loop2 was used for a test run #2 (NOR unlocked) +and a test run #3 (first 55 pages of NOR locked), there is no loop3 +script. + diff --git a/m1rc3/norruption/loop4 b/m1rc3/norruption/loop4 new file mode 100755 index 0000000..37f1e1b --- /dev/null +++ b/m1rc3/norruption/loop4 @@ -0,0 +1,26 @@ +#!/bin/sh + +reset() +{ + jtag </dev/ttyUSB0 + sleep 2 +done