Project

General

Profile

Testing ECC bitflip correction » uboot_512MBnand_biterr.txt

Jonathan Cormier, 06/03/2020 04:11 PM

 
1
=> nand erase.chip && mw.b $loadaddr ff 40000 &&  load mmc 0 $loadaddr MLO &&  nand write.i $loadaddr 0 $filesize
2

    
3
=> setenv ram_addr1 $loadaddr
4
=> setenv page_addr 0
5
=> setenv page_size 1000
6

    
7
=> nand read.raw ${ram_addr1} ${page_addr} 1
8

    
9
NAND read:  4320 bytes read: OK
10

    
11
 => md.l $ram_addr1 40
12
83000000: 00000040 0000000c 00000000 00000000    @...............
13
83000010: 00000000 45534843 4e495454 00005347    ....CHSETTINGS..
14
83000020: ffffffff ffffffff ffffffff ffffffff    ................
15
83000030: ffffffff ffffffff ffffffff ffffffff    ................
16
83000040: c0c0c0c1 00000100 00000000 00000000    ................
17
83000050: 00000000 00000000 00000000 00000000    ................
18
83000060: 00000000 00000000 00000000 00000000    ................
19
83000070: 00000000 00000000 00000000 00000000    ................
20
83000080: 00000000 00000000 00000000 00000000    ................
21
83000090: 00000000 00000000 00000000 00000000    ................
22
830000a0: 00000000 00000000 00000000 00000000    ................
23
830000b0: 00000000 00000000 00000000 00000000    ................
24
830000c0: 00000000 00000000 00000000 00000000    ................
25
830000d0: 00000000 00000000 00000000 00000000    ................
26
830000e0: 00000000 00000000 00000000 00000000    ................
27
830000f0: 00000000 00000000 00000000 00000000    ................
28

    
29
=> mm $ram_addr1
30
83000000: 00000040 ?
31
83000004: 0000000c ?
32
83000008: 00000000 ?
33
8300000c: 00000000 ?
34
83000010: 00000000 ?
35
83000014: 45534843 ?
36
83000018: 4e495454 ?
37
8300001c: 00005347 ?
38
83000020: ffffffff ? efffffff
39
83000024: ffffffff ? => <INTERRUPT>
40

    
41
=> nand write.raw ${ram_addr1} ${page_addr} 1
42

    
43
NAND write:  4320 bytes written: OK
44

    
45
=> nand read ${ram_addr1} ${page_addr} ${page_size}
46

    
47
NAND read: device 0 offset 0x0, size 0x40000
48
elm_config: 2
49
nand: bit-flip corrected @data=35
50
 262144 bytes read: OK
51
=> md.l $ram_addr1 40
52
83000000: 00000040 0000000c 00000000 00000000    @...............
53
83000010: 00000000 45534843 4e495454 00005347    ....CHSETTINGS..
54
83000020: ffffffff ffffffff ffffffff ffffffff    ................
55
83000030: ffffffff ffffffff ffffffff ffffffff    ................
56
83000040: c0c0c0c1 00000100 00000000 00000000    ................
57
83000050: 00000000 00000000 00000000 00000000    ................
58
83000060: 00000000 00000000 00000000 00000000    ................
59
83000070: 00000000 00000000 00000000 00000000    ................
60
83000080: 00000000 00000000 00000000 00000000    ................
61
83000090: 00000000 00000000 00000000 00000000    ................
62
830000a0: 00000000 00000000 00000000 00000000    ................
63
830000b0: 00000000 00000000 00000000 00000000    ................
64
830000c0: 00000000 00000000 00000000 00000000    ................
65
830000d0: 00000000 00000000 00000000 00000000    ................
66
830000e0: 00000000 00000000 00000000 00000000    ................
67
830000f0: 00000000 00000000 00000000 00000000    ................
68

    
69
=> nand read.raw ${ram_addr1} ${page_addr} 1
70

    
71
NAND read:  4320 bytes read: OK
72
=> mm $ram_addr1
73
83000000: 00000040 ?
74
83000004: 0000000c ?
75
83000008: 00000000 ?
76
8300000c: 00000000 ?
77
83000010: 00000000 ?
78
83000014: 45534843 ?
79
83000018: 4e495454 ?
80
8300001c: 00005347 ?
81
83000020: efffffff ? eeeeeeef
82
83000024: ffffffff ? => <INTERRUPT>
83
=> nand write.raw ${ram_addr1} ${page_addr} 1
84

    
85
NAND write:  4320 bytes written: OK
86
=> nand read ${ram_addr1} ${page_addr} ${page_size}
87

    
88
NAND read: device 0 offset 0x0, size 0x40000
89
elm_config: 2
90
nand: bit-flip corrected @data=35
91
nand: bit-flip corrected @data=35
92
nand: bit-flip corrected @data=34
93
nand: bit-flip corrected @data=34
94
nand: bit-flip corrected @data=33
95
nand: bit-flip corrected @data=33
96
nand: bit-flip corrected @data=32
97
 262144 bytes read: OK
98
=> md.l $ram_addr1 40
99
83000000: 00000040 0000000c 00000000 00000000    @...............
100
83000010: 00000000 45534843 4e495454 00005347    ....CHSETTINGS..
101
83000020: ffffffff ffffffff ffffffff ffffffff    ................
102
83000030: ffffffff ffffffff ffffffff ffffffff    ................
103
83000040: c0c0c0c1 00000100 00000000 00000000    ................
104
83000050: 00000000 00000000 00000000 00000000    ................
105
83000060: 00000000 00000000 00000000 00000000    ................
106
83000070: 00000000 00000000 00000000 00000000    ................
107
83000080: 00000000 00000000 00000000 00000000    ................
108
83000090: 00000000 00000000 00000000 00000000    ................
109
830000a0: 00000000 00000000 00000000 00000000    ................
110
830000b0: 00000000 00000000 00000000 00000000    ................
111
830000c0: 00000000 00000000 00000000 00000000    ................
112
830000d0: 00000000 00000000 00000000 00000000    ................
113
830000e0: 00000000 00000000 00000000 00000000    ................
114
830000f0: 00000000 00000000 00000000 00000000    ................
115

    
116

    
117
=> nand read.raw ${ram_addr1} ${page_addr} 1
118

    
119
NAND read:  4320 bytes read: OK
120
=> mm $ram_addr1
121
83000000: 00000040 ?
122
83000004: 0000000c ?
123
83000008: 00000000 ?
124
8300000c: 00000000 ?
125
83000010: 00000000 ?
126
83000014: 45534843 ?
127
83000018: 4e495454 ?
128
8300001c: 00005347 ?
129
83000020: cccccccc ?
130
83000024: ffffffff ? => <INTERRUPT>
131
=> mm $ram_addr1
132
83000000: 00000040 ?
133
83000004: 0000000c ?
134
83000008: 00000000 ?
135
8300000c: 00000000 ?
136
83000010: 00000000 ?
137
83000014: 45534843 ?
138
83000018: 4e495454 ?
139
8300001c: 00005347 ?
140
83000020: cccccccc ? 8ccccccc
141
83000024: ffffffff ? => <INTERRUPT>
142
=> nand write.raw ${ram_addr1} ${page_addr} 1
143

    
144
NAND write:  4320 bytes written: OK
145
=> nand read ${ram_addr1} ${page_addr} ${page_size}
146

    
147
NAND read: device 0 offset 0x0, size 0x40000
148
elm_config: 2
149
omap-elm: uncorrectable ECC errors
150
NAND read from offset 0 failed -74
151
 0 bytes read: ERROR
152

    
(1-1/2) Go to top
Add picture from clipboard (Maximum size: 1 GB)