riscv-openocd/tcl
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
..
board nds32: drop it, together with aice adapter driver 2023-01-15 14:46:36 +00:00
chip tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
cpld tcl/cpld/xilinx-xcu: fix typo 2022-11-11 20:24:16 +00:00
cpu tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
fpga tcl/fpga: add Lattice MachXO3 family support 2022-08-20 15:29:50 +00:00
interface tcl/interface: universal config for all Raspberry Pi models 2023-01-28 15:55:10 +00:00
target stm32f3x: Allow overriding the flash bank size 2023-01-21 22:58:16 +00:00
test tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
tools tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
bitsbytes.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
mem_helper.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
memory.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
mmr_helpers.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00