Running openrd_load_uboot from a freshly made uboot v2011.06 tagged release 
directory gives:

sudo openocd -f /opt/openocd/share/openocd/scripts/board/openrd.cfg
Open On-Chip Debugger 0.6.0-dev-00048-ge175f02 (2011-08-29-04:39)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
3000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
openrd_load_uboot
Info : clock speed 3000 kHz
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 
0x0a02, ver:
0x2)
Info : Embedded ICE version 0
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
Info : accepting 'telnet' connection from 4444
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x000000d3 pc: 0xffff0000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
379160 bytes written at address 0x00600000
downloaded 379160 bytes in 2.431249s (152.298 KiB/s)
Error: checksum mismatch - attempting binary compare
diff 0 address 0x006000af. Was 0x00 instead of 0xe5
diff 1 address 0x006000cf. Was 0x00 instead of 0xe5
diff 2 address 0x006000d7. Was 0x00 instead of 0xe5
....
diff 126 address 0x00603d2f. Was 0x00 instead of 0xe5
diff 127 address 0x00603e97. Was 0x00 instead of 0xe5
More than 128 errors, the rest are not printed.
Runtime Error: /opt/openocd/share/openocd/scripts/board/openrd.cfg:119:
in procedure 'openrd_load_uboot'
in procedure 'verify_image' called at file
"/opt/openocd/share/openocd/scripts/board/openrd.cfg", line 119


I compiled with --enable-ft2232_libftdi, and have libftdi1 and libftdi-dev 
0.19-3 debian
packages on my system.  The actual u-boot elf file is 1598411 bytes, but 
there's a
u-boot.bin that is the same 379160 bytes in size.  Why would load_image not 
pulll in the
full file?  Is that what's causing the verify_image to fail?

openrd_reflash_uboot also fails:

nc  localhost 4444
????????Open On-Chip Debugger
> openrd_reflash_uboot
openrd_reflash_uboot
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x000000d3 pc: 0xffff0000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
NAND flash device 'NAND 512MiB 3.3V 8-bit (Hynix)' found
erased blocks 0 to 5 on NAND flash device #0 'NAND 512MiB 3.3V 8-bit'
> 

> resume
resume
target not halted
in procedure 'resume'


Aaaaah, anyone know what to try?  I don't know what these kind of failures 
indicate.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to