Just submitted the patch.
--- ** [tickets:#384] Error in interface/raspberrypi-native.cfg** **Status:** new **Milestone:** 0.11.0 **Created:** Tue Feb 28, 2023 07:11 PM UTC by Tomáš Deingruber **Last Updated:** Tue Feb 28, 2023 07:51 PM UTC **Owner:** nobody Hi, I am trying to use OpenOCD on RPi 3B+. In openocd.cfg immediately on the line with: ~~~ source [find interface/raspberrypi2-native.cfg] ~~~ I do get the following error: ~~~ Open On-Chip Debugger 0.12.0+dev-00077-g0a20e78b7 (2023-02-28-16:48) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html WARNING: interface/raspberrypi2-native.cfg is deprecated. WARNING: Please use interface/raspberrypi-native.cfg for all Raspberry Pi models. /usr/local/bin/../share/openocd/scripts/interface/raspberrypi-native.cfg:71: Error: couldn't read file "raspberrypi-gpio-connector.cfg": No such file or directory in procedure 'script' at file "embedded:startup.tcl", line 28 at file "openocd.cfg", line 3 at file "/usr/local/bin/../share/openocd/scripts/interface/raspberrypi2-native.cfg", line 6 at file "/usr/local/bin/../share/openocd/scripts/interface/raspberrypi-native.cfg", line 71 Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Warn : An adapter speed is not selected in the init scripts. OpenOCD will try to run the adapter at very low speed (100 kHz). Warn : To remove this warnings and achieve reasonable communication speed with the target, set "adapter speed" or "jtag_rclk" in the init scripts. Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : clock speed 100 kHz Error: session transport was not selected. Use 'transport select <transport>' Error: Transports available: Error: jtag Error: swd /usr/local/bin/../share/openocd/scripts/interface/raspberrypi-native.cfg:71: Error: in procedure 'script' at file "embedded:startup.tcl", line 28 at file "openocd.cfg", line 3 at file "/usr/local/bin/../share/openocd/scripts/interface/raspberrypi2-native.cfg", line 6 at file "/usr/local/bin/../share/openocd/scripts/interface/raspberrypi-native.cfg", line 71 /usr/local/bin/../share/openocd/scripts/interface/raspberrypi-native.cfg:71: Error: in procedure 'script' at file "embedded:startup.tcl", line 28 at file "openocd.cfg", line 3 at file "/usr/local/bin/../share/openocd/scripts/interface/raspberrypi2-native.cfg", line 6 at file "/usr/local/bin/../share/openocd/scripts/interface/raspberrypi-native.cfg", line 71 ~~~ And I noticed that at the end of the "interface/raspberrypi-native.cfg" seems to be an error: ~~~ source raspberrypi-gpio-connector.cfg ~~~ Instead of: ~~~ source [find interface/raspberrypi-gpio-connector.cfg] ~~~ A side note. It seems that I am running the master branch. Am I supposed to compile a tagged version? e.g. 0.11? --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.