Hi,
I just did a "svn update" on my work machine (Debian 5.0). It seems
XScale (IXP42x) is broken because OpenOCD can't find the debug handler
in the installed location:
I did:
./bootstrap
./configure --enable-maintainer-mode --prefix=/opt/openocd \
--enable-parport --enable-parport_ppdev \
--enable-ft2232_libftdi \
CFLAGS="-O2 -Wall -W"
make
make install
When running OpenOCD:
/opt/openocd/bin/openocd -s ~/.openocd -f altium.cfg -f l54.cfg
I get:
Error: couldn't open xscale/debug_handler.bin
strace shows:
open("xscale/debug_handler.bin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/opt/openocd/share/openocd/site/xscale/debug_handler.bin",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/openocd/share/openocd/scripts/xscale/debug_handler.bin",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/mschwing/.openocd/xscale/debug_handler.bin", O_RDONLY) = -1
ENOENT (No such file or directory)
debug_handler.bin is installed by "make install" in
/opt/openocd/lib/openocd/xscale/debug_handler.bin
which is not where the compiled executable looks for it.
cu
Michael
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development