Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify to use different device tree for rainier and everest
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[2] mp[0] perv[8] 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
- Loading branch information