-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ac03: boundary-scan user configs [DO NOT UPSTREAM]
Add 1P and 2P boundary-scan user configuration files for AmpereOne Family chips. Change-Id: Iacd78fe64846ecbc7fff2796f47ca30d4168189b Signed-off-by: Daniel Goehring <dgoehrin@os.amperecomputing.com>
- Loading branch information
1 parent
acc360d
commit 6a9fcf2
Showing
4 changed files
with
216 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# | ||
# Example OpenOCD user configuration for the AST2600 BMC | ||
# on the AmpereOne and AmpereOne X development platforms | ||
# | ||
# Copyright (c) 2022-2024, Ampere Computing LLC | ||
# | ||
|
||
# Command Line Argument Description | ||
# | ||
# JTAGFREQ | ||
# Override the default JTAG clock frequency | ||
# If not specified, defaults to "1000" kHz | ||
# Syntax: -c "set JTAGFREQ {1000}" | ||
|
||
# Operating System Environment Variable Overrides | ||
# | ||
# OCD_TELNET_PORT | ||
# Specify OpenOCD's Telnet port | ||
# csh: setenv OCD_TELNET_PORT 4444 | ||
# bash: export OCD_TELNET_PORT=4444 | ||
# | ||
# OCD_TCL_PORT | ||
# Specify OpenOCD's TCL port | ||
# csh: setenv OCD_TCL_PORT 6666 | ||
# bash: export OCD_TCL_PORT=6666 | ||
|
||
bindto 0.0.0.0 | ||
#debug_level 3 | ||
|
||
if { [info exists env(OCD_TELNET_PORT)] } { | ||
telnet_port $::env(OCD_TELNET_PORT) | ||
} | ||
|
||
if { [info exists env(OCD_TCL_PORT)] } { | ||
tcl_port $::env(OCD_TCL_PORT) | ||
} | ||
|
||
# | ||
# Interface Configuration | ||
# | ||
|
||
source [find interface/jtag_driver.cfg] | ||
|
||
# | ||
# Board (Platform) Configuration | ||
# | ||
|
||
if { ![info exists JTAGFREQ] } { | ||
set JTAGFREQ 1000 | ||
} | ||
|
||
set AMPERE_PLATFORM silicon | ||
source [find board/ampere_ac03_1s_bs.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# | ||
# Example OpenOCD user configuration for the AmpereOne | ||
# and AmpereOne X Development Platforms | ||
# | ||
# Copyright (c) 2022-2024, Ampere Computing LLC | ||
# | ||
|
||
# Command Line Argument Description | ||
# | ||
# JTAGFREQ | ||
# Override the default JTAG clock frequency | ||
# If not specified, defaults to "1000" kHz | ||
# Syntax: -c "set JTAGFREQ {1000}" | ||
|
||
# Operating System Environment Variable Overrides | ||
# | ||
# OCD_TELNET_PORT | ||
# Specify OpenOCD's Telnet port | ||
# csh: setenv OCD_TELNET_PORT 4444 | ||
# bash: export OCD_TELNET_PORT=4444 | ||
# | ||
# OCD_TCL_PORT | ||
# Specify OpenOCD's TCL port | ||
# csh: setenv OCD_TCL_PORT 6666 | ||
# bash: export OCD_TCL_PORT=6666 | ||
|
||
bindto 0.0.0.0 | ||
#debug_level 3 | ||
|
||
if { [info exists env(OCD_TELNET_PORT)] } { | ||
telnet_port $::env(OCD_TELNET_PORT) | ||
} | ||
|
||
if { [info exists env(OCD_TCL_PORT)] } { | ||
tcl_port $::env(OCD_TCL_PORT) | ||
} | ||
|
||
# | ||
# Interface Configuration | ||
# | ||
|
||
source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg] | ||
|
||
# | ||
# Board (Platform) Configuration | ||
# | ||
|
||
if { ![info exists JTAGFREQ] } { | ||
set JTAGFREQ 1000 | ||
} | ||
|
||
set AMPERE_PLATFORM silicon | ||
source [find board/ampere_ac03_1s_bs.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# | ||
# Example OpenOCD user configuration for the AST2600 BMC | ||
# on the AmpereOne and AmpereOne X development platforms | ||
# | ||
# Copyright (c) 2022-2024, Ampere Computing LLC | ||
# | ||
|
||
# Command Line Argument Description | ||
# | ||
# JTAGFREQ | ||
# Override the default JTAG clock frequency | ||
# If not specified, defaults to "1000" kHz | ||
# Syntax: -c "set JTAGFREQ {1000}" | ||
|
||
# Operating System Environment Variable Overrides | ||
# | ||
# OCD_TELNET_PORT | ||
# Specify OpenOCD's Telnet port | ||
# csh: setenv OCD_TELNET_PORT 4444 | ||
# bash: export OCD_TELNET_PORT=4444 | ||
# | ||
# OCD_TCL_PORT | ||
# Specify OpenOCD's TCL port | ||
# csh: setenv OCD_TCL_PORT 6666 | ||
# bash: export OCD_TCL_PORT=6666 | ||
|
||
bindto 0.0.0.0 | ||
#debug_level 3 | ||
|
||
if { [info exists env(OCD_TELNET_PORT)] } { | ||
telnet_port $::env(OCD_TELNET_PORT) | ||
} | ||
|
||
if { [info exists env(OCD_TCL_PORT)] } { | ||
tcl_port $::env(OCD_TCL_PORT) | ||
} | ||
|
||
# | ||
# Interface Configuration | ||
# | ||
|
||
source [find interface/jtag_driver.cfg] | ||
|
||
# | ||
# Board (Platform) Configuration | ||
# | ||
|
||
if { ![info exists JTAGFREQ] } { | ||
set JTAGFREQ 1000 | ||
} | ||
|
||
set AMPERE_PLATFORM silicon | ||
source [find board/ampere_ac03_2s_bs.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# | ||
# Example OpenOCD user configuration for the AmpereOne | ||
# and AmpereOne X Development Platforms | ||
# | ||
# Copyright (c) 2022-2024, Ampere Computing LLC | ||
# | ||
|
||
# Command Line Argument Description | ||
# | ||
# JTAGFREQ | ||
# Override the default JTAG clock frequency | ||
# If not specified, defaults to "1000" kHz | ||
# Syntax: -c "set JTAGFREQ {1000}" | ||
|
||
# Operating System Environment Variable Overrides | ||
# | ||
# OCD_TELNET_PORT | ||
# Specify OpenOCD's Telnet port | ||
# csh: setenv OCD_TELNET_PORT 4444 | ||
# bash: export OCD_TELNET_PORT=4444 | ||
# | ||
# OCD_TCL_PORT | ||
# Specify OpenOCD's TCL port | ||
# csh: setenv OCD_TCL_PORT 6666 | ||
# bash: export OCD_TCL_PORT=6666 | ||
|
||
bindto 0.0.0.0 | ||
#debug_level 3 | ||
|
||
if { [info exists env(OCD_TELNET_PORT)] } { | ||
telnet_port $::env(OCD_TELNET_PORT) | ||
} | ||
|
||
if { [info exists env(OCD_TCL_PORT)] } { | ||
tcl_port $::env(OCD_TCL_PORT) | ||
} | ||
|
||
# | ||
# Interface Configuration | ||
# | ||
|
||
source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg] | ||
|
||
# | ||
# Board (Platform) Configuration | ||
# | ||
|
||
if { ![info exists JTAGFREQ] } { | ||
set JTAGFREQ 1000 | ||
} | ||
|
||
set AMPERE_PLATFORM silicon | ||
source [find board/ampere_ac03_2s_bs.cfg] |