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

Add getscom support for odyssey chipunit #82

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

deepakala-k
Copy link
Contributor

Added the translation required for the odyssey chipunit like memport. With this change, the getscom and the putscom support for odyssey chipunits shall work as expected.

Tested and Working as expected.

@deepakala-k deepakala-k force-pushed the chipunit_getscom branch 3 times, most recently from a705c6b to badd02f Compare January 10, 2024 07:33
libpdbg/target.c Outdated Show resolved Hide resolved
libpdbg/target.c Outdated Show resolved Hide resolved
Added the translation required for the odyssey chipunit like memport.
With this change, the getscom and the putscom support for odyssey
chipunits shall work as expected.

Tested and Working as expected.
root@p10bmc:/tmp# putscom odyssey c0002040 -p2 deadbeefdeadbeef
odyssey k0:n0:s0:p02
/usr/bin/edbg putscom odyssey c0002040 -p2 deadbeefdeadbeef

root@p10bmc:/tmp# getscom odyssey c0002040 -all
odyssey k0:n0:s0:p02       0xDEADBEEFDEADBEEF
odyssey k0:n0:s0:p03       0x004011000A000640
odyssey k0:n0:s0:p34       0x004011000A000640
odyssey k0:n0:s0:p35       0x004011000A000640
/usr/bin/edbg getscom odyssey c0002040 -all

root@p10bmc:/tmp# putscom odyssey c0002040 -p2 004011000A000640
odyssey k0:n0:s0:p02
/usr/bin/edbg putscom odyssey c0002040 -p2 004011000A000640

root@p10bmc:/tmp# getscom odyssey c0002040 -all
odyssey k0:n0:s0:p02       0x004011000A000640
odyssey k0:n0:s0:p03       0x004011000A000640
odyssey k0:n0:s0:p34       0x004011000A000640
odyssey k0:n0:s0:p35       0x004011000A000640
/usr/bin/edbg getscom odyssey c0002040 -all

Signed-off-by: Deepa Karthikeyan <[email protected]>
@aravynd aravynd merged commit be61a82 into open-power:master Jan 12, 2024
1 check passed
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.

3 participants