riscv-openocd/tcl/interface
Tomas Vanek bec6c0eb09 tcl/interface: universal config for all Raspberry Pi models
Speed calibration coeffs are computed from cpufreq/scaling_max_freq
and from the device-tree compatibility information.

Raspberry Pi linux offers /dev/gpiomem for non-root access
to the GPIO registers since ~2016.
Do not configure 'bcm2835gpio peripheral_base' as it is necessary
only if /dev/mem is used - it requires running OpenOCD as root
- it's a security risk so it should be avoided.

The configuration of the GPIO connector (40-pin header)
is factored out and ready to use in interface configuration
for other driver (e.g. linux gpiod).

Mark raspberrypi2-native.cfg as deprecated and redirect
it to raspberrypi-native.cfg

Change-Id: Icce856fb660b45374e94174da279feb51f529908
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7264
Tested-by: jenkins
Reviewed-by: Jonathan Bell <jonathan@raspberrypi.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2023-01-28 15:55:10 +00:00
..
ft232r tcl/interface: replace last deprecated commands 2022-09-13 22:16:37 +00:00
ftdi tcl/interface: replace last deprecated commands 2022-09-13 22:16:37 +00:00
altera-usb-blaster.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
altera-usb-blaster2.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
arm-jtag-ew.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
ast2600-gpiod.cfg tcl/interface: add linuxgpiod cfg for Aspeed AST2600 2022-08-20 15:30:20 +00:00
at91rm9200.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
beaglebone-jtag-native.cfg drivers/am335xgpio: Migrate to adapter gpio commands 2022-08-15 13:24:36 +00:00
beaglebone-swd-native.cfg drivers/am335xgpio: Migrate to adapter gpio commands 2022-08-15 13:24:36 +00:00
buspirate.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
calao-usb-a9260.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
chameleon.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
cmsis-dap.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
dln-2-gpiod.cfg drivers/linuxgpiod: Migrate to adapter gpio commands 2022-08-15 13:24:54 +00:00
dummy.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
esp_usb_bridge.cfg jtag: add esp_usb_jtag driver 2022-07-02 08:24:01 +00:00
estick.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
flashlink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
ft232r.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
imx-native.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
jlink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
jtag_dpi.cfg tcl: replace FSF boilerplate with SPDX tag 2022-06-24 21:51:58 +00:00
jtag_hat_rpi2.cfg drivers/bcm2835gpio: Migrate to adapter gpio commands 2022-09-13 22:17:14 +00:00
jtag_vpi.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
kitprog.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
nulink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
opendous.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
openjtag.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
osbdm.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
parport.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
parport_dlc5.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
raspberrypi-gpio-connector.cfg tcl/interface: universal config for all Raspberry Pi models 2023-01-28 15:55:10 +00:00
raspberrypi-native.cfg tcl/interface: universal config for all Raspberry Pi models 2023-01-28 15:55:10 +00:00
raspberrypi2-native.cfg tcl/interface: universal config for all Raspberry Pi models 2023-01-28 15:55:10 +00:00
rlink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
rshim.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
stlink-dap.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
stlink-v1.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
stlink-v2-1.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
stlink-v2.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
stlink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
sysfsgpio-raspberrypi.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
ti-icdi.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
ulink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
usb-jtag.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
usbprog.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
vdebug.cfg tcl/interface/vdebug: add newline to file's last line 2022-06-24 21:51:15 +00:00
vsllink.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00
xds110.cfg tcl/interface: add SPDX tag 2022-06-24 21:54:01 +00:00