-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix rainier backend device tree to use different port mapping for rainier and everest #86
Conversation
1) Everest and rainier systems with odyssey support has different device path mappings so creating different backend device tree files 2) Reverting the changes done to existing sbefifo and kernel backend device trees to its pre odyssey state. 3) DDR4 odyssey mapping of fapi position to port is different for rainier and everest. Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I7e733758ddea8e7ae06b124f8e630ff2795e4985
c6610e4
to
02410f1
Compare
Please check if bonnell can support odyssey. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good but I have only one major request apart from few queries and minor observations. Replace the hard coded machine names in multiple places by variables declared and defined in one place for easy maintenance and debugging
0157337
to
a91dd08
Compare
1) Rainier and everest uses different port mapping so modified to use different device trees for everest and rainier 2) Modified to use fapi_pos over ocmb index for determining the backend sbefifo target Tested: ----rainxx test result--- odyssey p[3] mp[0] perv[8] p[26] mp[0] perv[8] p[27] mp[0] perv[8] root@xxxx:/tmp# getscom odyssey 08012400 -all pdbg_default_dtb PDBG_BACKEND_SBEFIFO ***sbefifo_target system type returned is Rainier 4U ****sbefifo_target - loading bmc sbefifo rainier target sbefifo_ocmb_getscom odyssey k0:n0:s0:p03 0x0008000000000000 sbefifo_ocmb_getscom odyssey k0:n0:s0:p26 0x0008000000000000 sbefifo_ocmb_getscom odyssey k0:n0:s0:p27 0x0008000000000000 /usr/bin/edbg getscom odyssey 08012400 -all ---rainxx test result----- ecmdquery chips -dc odyssey p[4] mp[0,1] perv[8] p[5] mp[0,1] perv[8] root@xxx:/tmp# getscom odyssey 08012400 -all system type returned is Rainier 2U loading bmc sbefifo rainier target sbefifo_ocmb_getscom odyssey k0:n0:s0:p04 0x0008000000000000 sbefifo_ocmb_getscom odyssey k0:n0:s0:p05 0x0008000000000000 /usr/bin/edbg getscom odyssey 08012400 -all ------everest---------------- odyssey p[2] mp[0,1] perv[8] p[3] mp[0,1] perv[8] p[34] mp[0,1] perv[8] p[35] mp[0,1] perv[8] root@xxxx:~# getscom odyssey 08012400 -all pdbg_default_dtb PDBG_BACKEND_SBEFIFO ***sbefifo_target system type returned is Everest **** sbefifo_target - loading bmc sbefifo everest target sbefifo_ocmb_getscom odyssey k0:n0:s0:p02 0x0008000000000000 sbefifo_ocmb_getscom odyssey k0:n0:s0:p03 0x0008000000000000 sbefifo_ocmb_getscom odyssey k0:n0:s0:p34 0x0008000000000000 sbefifo_ocmb_getscom odyssey k0:n0:s0:p35 0x0008000000000000 /usr/bin/edbg getscom odyssey 08012400 -all Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I832b5b71351a5d34a9c9223753ef211caf51731c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved from my side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alignments are still an issue
Everest and rainier systems with odyssey support has different device path mappings so creating different backend device tree files
Reverting the changes done to existing sbefifo and kernel backend device trees to its pre odyssey state.
DDR4 odyssey mapping of fapi position to port is different for rainier and everest.
Change-Id: I7e733758ddea8e7ae06b124f8e630ff2795e4985