From: OpenOCD-Gerrit <ope...@us...> - 2022-11-15 09:55:02
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 1d04ef3e55843f9880b7bbab32f564d2018a4b93 (commit) from 4e077fddadd7d8fedacc61f59ce18a700f6759cf (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1d04ef3e55843f9880b7bbab32f564d2018a4b93 Author: Tomas Vanek <va...@fb...> Date: Thu Nov 3 08:48:53 2022 +0100 tcl/interface: fix raspberrypi2-native.cfg speed coefficient The speed coefficient for Raspberry Pi 2 was probably calibrated for a scaled down clock frequency. To prevent JTAG/SWD overclocking, use the value corresponding to the 'official' maximum CPU clock. Change-Id: Iaff58b092198dce6d6552c9d31d6a3ba4aaaa2d5 Signed-off-by: Tomas Vanek <va...@fb...> Reviewed-on: https://review.openocd.org/c/openocd/+/7305 Tested-by: jenkins Reviewed-by: Jonathan Bell <jon...@ra...> diff --git a/tcl/interface/raspberrypi2-native.cfg b/tcl/interface/raspberrypi2-native.cfg index 5faabed9d..d5edded0f 100644 --- a/tcl/interface/raspberrypi2-native.cfg +++ b/tcl/interface/raspberrypi2-native.cfg @@ -15,9 +15,9 @@ adapter driver bcm2835gpio bcm2835gpio peripheral_base 0x3F000000 # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET -# These depend on system clock, calibrated for stock 700MHz +# These depend on system clock, calibrated for scaling_max_freq 900MHz # bcm2835gpio speed SPEED_COEFF SPEED_OFFSET -bcm2835gpio speed_coeffs 146203 36 +bcm2835gpio speed_coeffs 225000 36 # Each of the JTAG lines need a gpio number set: tck tms tdi tdo # Header pin numbers: 23 22 19 21 ----------------------------------------------------------------------- Summary of changes: tcl/interface/raspberrypi2-native.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |