This is an automated email from Gerrit.

"Wolfram Sang <w...@kernel.org>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/7522

-- gerrit

commit 46c51d80c9ff16a8b5e17b8b8726d664a2b3f481
Author: Wolfram Sang <w...@kernel.org>
Date:   Fri Mar 3 12:26:46 2023 +0100

    tcl/interface/ftdi/calao: fix broken SAM9260 include
    
    Fixes the following bug:
    
    $openocd -f interface/ftdi/calao-usb-a9260-c01.cfg
    ...
    embedded:startup.tcl:28: Error: Can't find target/at91sam9260minimal.cfg
    
    Use the default 9260 config without SDRAM and flash. While here fix the
    warnings about "untested on HW" and the auto-selection of the transport.
    Remove now defunct web address. Tested with a Calao USB-A9G20 and a
    hacked 'device_desc' to match the -c01 cfg.
    
    Signed-off-by: Wolfram Sang <w...@kernel.org>
    Change-Id: Iec578c8777c5a6134e132dbac17c2988c7634742

diff --git a/tcl/interface/ftdi/calao-usb-a9260-c01.cfg 
b/tcl/interface/ftdi/calao-usb-a9260-c01.cfg
index c84e778746..171e73a531 100644
--- a/tcl/interface/ftdi/calao-usb-a9260-c01.cfg
+++ b/tcl/interface/ftdi/calao-usb-a9260-c01.cfg
@@ -1,16 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 
-#
 # CALAO Systems USB-A9260-C01
-#
-# http://www.calao-systems.com/
-#
-
-echo "WARNING!"
-echo "This file was not tested with real interface, but is assumed to work as 
this"
-echo "interface uses the same layout as configs that were verified. Please 
report your"
-echo "experience with this file to openocd-devel mailing list, so it could be 
marked"
-echo "as working or fixed."
 
 adapter driver ftdi
 ftdi device_desc "USB-A9260"
@@ -19,6 +9,7 @@ ftdi vid_pid 0x0403 0x6010
 ftdi layout_init 0x0c08 0x0f1b
 ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
 ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
+transport select jtag
 
 script interface/calao-usb-a9260.cfg
-script target/at91sam9260minimal.cfg
+script target/at91sam9260.cfg
diff --git a/tcl/interface/ftdi/calao-usb-a9260-c02.cfg 
b/tcl/interface/ftdi/calao-usb-a9260-c02.cfg
index 9d79b26005..cc4de52812 100644
--- a/tcl/interface/ftdi/calao-usb-a9260-c02.cfg
+++ b/tcl/interface/ftdi/calao-usb-a9260-c02.cfg
@@ -1,16 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 
-#
 # CALAO Systems USB-A9260-C02
-#
-# http://www.calao-systems.com/
-#
-
-echo "WARNING!"
-echo "This file was not tested with real interface, but is assumed to work as 
this"
-echo "interface uses the same layout as configs that were verified. Please 
report your"
-echo "experience with this file to openocd-devel mailing list, so it could be 
marked"
-echo "as working or fixed."
 
 adapter driver ftdi
 ftdi device_desc "USB-A9260"
@@ -19,6 +9,7 @@ ftdi vid_pid 0x0403 0x6001
 ftdi layout_init 0x0c08 0x0f1b
 ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
 ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
+transport select jtag
 
 script interface/calao-usb-a9260.cfg
-script target/at91sam9260minimal.cfg
+script target/at91sam9260.cfg

-- 

Reply via email to