|
=> nand erase.chip && mw.b $loadaddr ff 40000 && load mmc 0 $loadaddr MLO && nand write.i $loadaddr 0 $filesize
|
|
|
|
=> setenv ram_addr1 $loadaddr
|
|
=> setenv page_addr 0
|
|
=> setenv page_size 1000
|
|
|
|
=> nand read.raw ${ram_addr1} ${page_addr} 1
|
|
|
|
NAND read: 4320 bytes read: OK
|
|
|
|
=> md.l $ram_addr1 40
|
|
83000000: 00000040 0000000c 00000000 00000000 @...............
|
|
83000010: 00000000 45534843 4e495454 00005347 ....CHSETTINGS..
|
|
83000020: ffffffff ffffffff ffffffff ffffffff ................
|
|
83000030: ffffffff ffffffff ffffffff ffffffff ................
|
|
83000040: c0c0c0c1 00000100 00000000 00000000 ................
|
|
83000050: 00000000 00000000 00000000 00000000 ................
|
|
83000060: 00000000 00000000 00000000 00000000 ................
|
|
83000070: 00000000 00000000 00000000 00000000 ................
|
|
83000080: 00000000 00000000 00000000 00000000 ................
|
|
83000090: 00000000 00000000 00000000 00000000 ................
|
|
830000a0: 00000000 00000000 00000000 00000000 ................
|
|
830000b0: 00000000 00000000 00000000 00000000 ................
|
|
830000c0: 00000000 00000000 00000000 00000000 ................
|
|
830000d0: 00000000 00000000 00000000 00000000 ................
|
|
830000e0: 00000000 00000000 00000000 00000000 ................
|
|
830000f0: 00000000 00000000 00000000 00000000 ................
|
|
|
|
=> mm $ram_addr1
|
|
83000000: 00000040 ?
|
|
83000004: 0000000c ?
|
|
83000008: 00000000 ?
|
|
8300000c: 00000000 ?
|
|
83000010: 00000000 ?
|
|
83000014: 45534843 ?
|
|
83000018: 4e495454 ?
|
|
8300001c: 00005347 ?
|
|
83000020: ffffffff ? efffffff
|
|
83000024: ffffffff ? => <INTERRUPT>
|
|
|
|
=> nand write.raw ${ram_addr1} ${page_addr} 1
|
|
|
|
NAND write: 4320 bytes written: OK
|
|
|
|
=> nand read ${ram_addr1} ${page_addr} ${page_size}
|
|
|
|
NAND read: device 0 offset 0x0, size 0x40000
|
|
elm_config: 2
|
|
nand: bit-flip corrected @data=35
|
|
262144 bytes read: OK
|
|
=> md.l $ram_addr1 40
|
|
83000000: 00000040 0000000c 00000000 00000000 @...............
|
|
83000010: 00000000 45534843 4e495454 00005347 ....CHSETTINGS..
|
|
83000020: ffffffff ffffffff ffffffff ffffffff ................
|
|
83000030: ffffffff ffffffff ffffffff ffffffff ................
|
|
83000040: c0c0c0c1 00000100 00000000 00000000 ................
|
|
83000050: 00000000 00000000 00000000 00000000 ................
|
|
83000060: 00000000 00000000 00000000 00000000 ................
|
|
83000070: 00000000 00000000 00000000 00000000 ................
|
|
83000080: 00000000 00000000 00000000 00000000 ................
|
|
83000090: 00000000 00000000 00000000 00000000 ................
|
|
830000a0: 00000000 00000000 00000000 00000000 ................
|
|
830000b0: 00000000 00000000 00000000 00000000 ................
|
|
830000c0: 00000000 00000000 00000000 00000000 ................
|
|
830000d0: 00000000 00000000 00000000 00000000 ................
|
|
830000e0: 00000000 00000000 00000000 00000000 ................
|
|
830000f0: 00000000 00000000 00000000 00000000 ................
|
|
|
|
=> nand read.raw ${ram_addr1} ${page_addr} 1
|
|
|
|
NAND read: 4320 bytes read: OK
|
|
=> mm $ram_addr1
|
|
83000000: 00000040 ?
|
|
83000004: 0000000c ?
|
|
83000008: 00000000 ?
|
|
8300000c: 00000000 ?
|
|
83000010: 00000000 ?
|
|
83000014: 45534843 ?
|
|
83000018: 4e495454 ?
|
|
8300001c: 00005347 ?
|
|
83000020: efffffff ? eeeeeeef
|
|
83000024: ffffffff ? => <INTERRUPT>
|
|
=> nand write.raw ${ram_addr1} ${page_addr} 1
|
|
|
|
NAND write: 4320 bytes written: OK
|
|
=> nand read ${ram_addr1} ${page_addr} ${page_size}
|
|
|
|
NAND read: device 0 offset 0x0, size 0x40000
|
|
elm_config: 2
|
|
nand: bit-flip corrected @data=35
|
|
nand: bit-flip corrected @data=35
|
|
nand: bit-flip corrected @data=34
|
|
nand: bit-flip corrected @data=34
|
|
nand: bit-flip corrected @data=33
|
|
nand: bit-flip corrected @data=33
|
|
nand: bit-flip corrected @data=32
|
|
262144 bytes read: OK
|
|
=> md.l $ram_addr1 40
|
|
83000000: 00000040 0000000c 00000000 00000000 @...............
|
|
83000010: 00000000 45534843 4e495454 00005347 ....CHSETTINGS..
|
|
83000020: ffffffff ffffffff ffffffff ffffffff ................
|
|
83000030: ffffffff ffffffff ffffffff ffffffff ................
|
|
83000040: c0c0c0c1 00000100 00000000 00000000 ................
|
|
83000050: 00000000 00000000 00000000 00000000 ................
|
|
83000060: 00000000 00000000 00000000 00000000 ................
|
|
83000070: 00000000 00000000 00000000 00000000 ................
|
|
83000080: 00000000 00000000 00000000 00000000 ................
|
|
83000090: 00000000 00000000 00000000 00000000 ................
|
|
830000a0: 00000000 00000000 00000000 00000000 ................
|
|
830000b0: 00000000 00000000 00000000 00000000 ................
|
|
830000c0: 00000000 00000000 00000000 00000000 ................
|
|
830000d0: 00000000 00000000 00000000 00000000 ................
|
|
830000e0: 00000000 00000000 00000000 00000000 ................
|
|
830000f0: 00000000 00000000 00000000 00000000 ................
|
|
|
|
|
|
=> nand read.raw ${ram_addr1} ${page_addr} 1
|
|
|
|
NAND read: 4320 bytes read: OK
|
|
=> mm $ram_addr1
|
|
83000000: 00000040 ?
|
|
83000004: 0000000c ?
|
|
83000008: 00000000 ?
|
|
8300000c: 00000000 ?
|
|
83000010: 00000000 ?
|
|
83000014: 45534843 ?
|
|
83000018: 4e495454 ?
|
|
8300001c: 00005347 ?
|
|
83000020: cccccccc ?
|
|
83000024: ffffffff ? => <INTERRUPT>
|
|
=> mm $ram_addr1
|
|
83000000: 00000040 ?
|
|
83000004: 0000000c ?
|
|
83000008: 00000000 ?
|
|
8300000c: 00000000 ?
|
|
83000010: 00000000 ?
|
|
83000014: 45534843 ?
|
|
83000018: 4e495454 ?
|
|
8300001c: 00005347 ?
|
|
83000020: cccccccc ? 8ccccccc
|
|
83000024: ffffffff ? => <INTERRUPT>
|
|
=> nand write.raw ${ram_addr1} ${page_addr} 1
|
|
|
|
NAND write: 4320 bytes written: OK
|
|
=> nand read ${ram_addr1} ${page_addr} ${page_size}
|
|
|
|
NAND read: device 0 offset 0x0, size 0x40000
|
|
elm_config: 2
|
|
omap-elm: uncorrectable ECC errors
|
|
NAND read from offset 0 failed -74
|
|
0 bytes read: ERROR
|
|
|