blob: 5d466a20e561da22518270e4f07fa2d1c60452b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
echo "Attempting to register SBE Tools"
# Load SBE debug tools.
try {
$sbe_startup_path = (lookup-file sbfw/simics-debug-framework.py);
$sbe_script_location = (python "''.join(map('/'.__add__,\""+$sbe_startup_path+"\"[1:].split('/')[0:-1]))")
python "os.environ['SBE_TOOLS_PATH'] = \""+$sbe_script_location+"\""
echo $sbe_script_location;
run-python-file (lookup-file sbfw/simics-debug-framework.py)
# Set mailbox scratch registers so that the SBE starts in plck mode
# p9Proc0.proc_chip.invoke parallel_store SCOM 0x5003F "20000000_00000000" 64
# p9Proc0.proc_chip.invoke parallel_store SCOM 0x5003A "00000000_00000000" 64
} except { echo "ERROR: Failed to load SBE debug tools." }
|