Skip to content
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

cater for moving ocmb out of proc in device tree - WILL WORK ON THIS IN P11 TIME FRAME - NOW PARKING #85

Closed
wants to merge 1 commit into from

Conversation

devenrao
Copy link
Contributor

  1. As present ocmb is added under proc chip even though ocmb is a chip itself.

  2. Moved ocmb out of proc chip as it needs to use its own pib and iic bus

  3. cater for moving ocmb out of proc chip in device tree

  4. Ensured that ddr4 ocmb targets still use proc pib, fsi bus

Tested:
i------------kernel pib read-----------
PDBG:Translating target addr 0x50001 -> 0x50001 on /proc0/ocmb2 PDBG:pib_read_helper[158]: rc = 0, addr = 0x0000000000050001, data = 0x80c0000200000000, target = /proc0/ocmb2 ody kernel pib read address 0x50001 orig value 0x80c0000200000000 rc =0

-----ocmb ddr5 getscom --------------
get_backend_target FOUND classs sbefifo-ody index = 0x2 ocmb index = 0x2 odyssesy chip ocmb_getscom ocmb index=2 addr= c0002040 orig value 0x4001000a000640 ret 0

-------------cfam-------------------------------
PDBG:Translating target addr 0x2804 -> 0x2804 on /hmfsi-ody@810 PDBG:Failed to read from 0x00002810 (0000000000002804) PDBG:fsi_read_helper[314]: rc = 6, addr = 0x02804, data = 0x10000010, target = /hmfsi-ody@810

--------------dump & ffdc-----------------------
sucessfully collected dump data len is 20184
sbefifo_op_ody_ffdc_get calling fsi_ody_read
PDBG:Translating target addr 0x2809 -> 0x2809 on /hmfsi-ody@110 PDBG:fsi_read_helper[312]: rc = 0, addr = 0x02809, data = 0x9133603f, target = /hmfsi-ody@110

Change-Id: Icf9bbee5f5f47659ae005777d21bd8c8bc60ea39

1) As present ocmb is added under proc chip even though ocmb
is a chip itself.

2) Moved ocmb out of proc chip as it needs to use its own
pib and iic bus

3) cater for moving ocmb out of proc chip in device tree

4) Ensured that ddr4 ocmb targets still use proc pib, fsi bus

Tested:
i------------kernel pib read-----------
PDBG:Translating target addr 0x50001 -> 0x50001 on /proc0/ocmb2
PDBG:pib_read_helper[158]: rc = 0, addr = 0x0000000000050001, data = 0x80c0000200000000, target = /proc0/ocmb2
ody kernel pib read address 0x50001 orig value 0x80c0000200000000 rc =0

-----ocmb ddr5 getscom --------------
get_backend_target FOUND  classs sbefifo-ody index = 0x2 ocmb index = 0x2
odyssesy chip ocmb_getscom  ocmb index=2 addr= c0002040 orig value 0x4001000a000640 ret 0

-------------cfam-------------------------------
PDBG:Translating target addr 0x2804 -> 0x2804 on /hmfsi-ody@810
PDBG:Failed to read from 0x00002810 (0000000000002804)
PDBG:fsi_read_helper[314]: rc = 6, addr = 0x02804, data = 0x10000010, target = /hmfsi-ody@810

--------------dump & ffdc-----------------------
sucessfully collected dump data len is 20184
sbefifo_op_ody_ffdc_get calling fsi_ody_read
PDBG:Translating target addr 0x2809 -> 0x2809 on /hmfsi-ody@110
PDBG:fsi_read_helper[312]: rc = 0, addr = 0x02809, data = 0x9133603f, target = /hmfsi-ody@110

DDR4 system validation
1) IPLed the system and ensured it reached runtime

Tested hardeare dump
Jan 28 06:04:20 ever6bmc phosphor-dump-manager[12876]: getDump callig sbe_dump
Jan 28 06:04:33 ever6bmc phosphor-dump-manager[12876]: dataLen received is 0x00004ED8 /n
Jan 28 06:04:33 ever6bmc phosphor-dump-manager[12877]: PDBG Initilization started

Signed-off-by: Marri Devender Rao <[email protected]>
Change-Id: Icf9bbee5f5f47659ae005777d21bd8c8bc60ea39
@devenrao devenrao changed the title cater for moving ocmb out of proc in device tree cater for moving ocmb out of proc in device tree - WILL WORK ON THIS IN P11 TIME FRAME - NOW PARKING Jan 31, 2024
@devenrao devenrao closed this Feb 1, 2024
@devenrao devenrao deleted the dtree branch March 1, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant