open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
17 stars 39 forks source link

openbmc pdbg can't access P9 cfam reg 0x2918 #14

Closed spinler closed 7 years ago

spinler commented 7 years ago

We need to set bits 28 and 29 in P9 CFAM reg 0x2918 to get P9 to boot properly. However, pdbg can't seem to access that register on a read or write:

# pdbg -a -b fsi -d p9w getcfam 0x2918
 getaddr: Error reading register
 No valid targets found or specified. Try adding -p/-c/-t options to specify a target.
 Alternatively run pdbg -a probe to get a list of all valid targets

What I want to put in the scripts is: pdbg ... putcfam 0x2918 0x0000000C 0x0000000C

Alistair has already been investigating this, but I was asked to open this issue so people can track it.

apopple commented 7 years ago

This should have been fixed by the below commit, so closing.

commit 4ce90bfe6ddfd4f7c8f76298a10a6f31a6e9cf7a Author: Dinesh Chinari chinari@us.ibm.com Date: Wed Feb 22 14:12:11 2017 -0600

Fix CFAM address computing for OpenFSI.