On Tue, Jun 9, 2009 at 8:05 PM, Zach Welch <z...@superlucidity.net> wrote:
> On Tue, 2009-06-09 at 17:52 -0400, Brian Hutchinson wrote: > > > > > > On Tue, Jun 9, 2009 at 5:26 PM, Brian Hutchinson > > <b.hutch...@gmail.com> wrote: > > I searched and saw the thread on find tcl/target etc. from a > > week ago but can't figure out what is going on. Do we not use > > source [find interface/jtagkey.cfg] type lines in our configs > > anymore? > > > > I guess I've missed something ... tough to be on vacation and > > come back to a full inbox :) > > > > Regards, > > > > Brian > > > > I usually start openocd with a line like: > > openocd -c "fast enable" -f board/my_board.cfg -c "init" > > > > With SVN 2177, it complained that it couldn't find my_board.cfg. > > > > I took the "board" out and tried to launch with just: > > openocd -c "fast enable" -f my_board.cfg -c "init" > > > > ... and then it complained about my first source [find target/ ... ] > > line. > > > > Searched the list and the only thing that smelled like what I was > > seeing was: > > > http://www.mail-archive.com/openocd-development@lists.berlios.de/msg05321.html > > > > I'm using custom .cfg files that were already in > > my /usr/loca/lib/openocd tree. > > The installed path of these files changed in revision r1920. Its commit > comment documents the specific changes, but the gist of it would be that > OpenOCD searches for these files in a $(pkgdatadir)/scripts or > $(pkgdatadir)/site. Your scripts should live under the later path. > > Cheers, > > Zach > > Thanks, I noticed that if I launched openocd from my /usr/local/lib/openocd directory that it worked. I'll check out the comments you mentioned and move my scripts to the right place. Regards, Brian
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development