-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Open amp refactoring and add more platforms support #17553
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
Conversation
All checks are passing now. Review history of this comment for details about previous failed status. |
dea2528
to
079407e
Compare
@arnop2 can you take a look at this PR. I'm not that familiar with how we should be conveying the shared memory region in DTS. |
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.
one doc question, otherwise looks good.
079407e
to
3149819
Compare
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.
+1 for doc changes, thanks.
d92786d
to
d9d3241
Compare
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.
Just 2 minor remarks remaining, then should be ok for me
d9d3241
to
3c12b92
Compare
c65ba22
to
a5254ca
Compare
defined(CONFIG_SOC_V2M_MUSCA_B1) | ||
u32_t current_core = sse_200_platform_get_cpu_id(); | ||
|
||
ipm_send(ipm_handle, 0, current_core ? 0 : 1, 0, 1); |
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.
Why does the data here mater?
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.
The dummy data is not necessary here for MHU based hardware. But it needs to distinguish the current core No. for notifications.
Ok, I tried this on musca-a1 and qemu-mps2_an521 and it doesn't seem to work. Also tried the |
Okay, I also need some refresh of memory to this context. Maybe some rebase conflicts or other changes need rebase. BTW, do you have some fail details? I just have a test pass on my side with the previous commit I had on AN521, here is the command line for you reference: AN521: Config file: [IMAGES] IMAGE0ADDRESS: 0x10000000 ;Please select the required executable program IMAGE1ADDRESS: 0x100000 |
Hmm, need to parse this in more detail. However is it possible to run the test w/o SECURE/NON-SECURE? |
I might using a wrong binary name here. They are following the start work for tfm integrating with Zpehyr. |
a5254ca
to
c74049b
Compare
This PR seems to require rebasing since there are conflicts. Is something still missing before it can be merged (e.g. approvals or some additional code changes)? |
Hi Johan I think this PR needs approval before the merge. |
@karl-zh while waiting for approval, could you rebase and fix the conflict with |
Hi Thanks for your comments. |
@karl-zh, was this intentional to push a merge commit ? |
da83b2a
to
8162050
Compare
480a371
to
ce90b7e
Compare
All checks are passing now. Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
Move board specific conf info boards/<BOARD>.conf to support other board/SoCs with this sample. Signed-off-by: Kumar Gala <[email protected]>
Add configuable shared memory address for openAMP samples. There is a plan to add more platforms supported for openAMP in zephyr. Each platform can specify the shared memory address and device by device tree and add it's support in openAMP samples. Signed-off-by: Karl Zhang <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
Update serial output for both master and remote. Signed-off-by: Karl Zhang <[email protected]>
Set sse-200 subsystem using MHU (Message Handling Unit) as default. Signed-off-by: Karl Zhang <[email protected]>
AN521 is a dual core FPGA on MPS2+ with both cores are CM33. Add openAMP to support on it. Core 0 is primary core, it runs as master, core 1 is remote, it runs as slave. Signed-off-by: Karl Zhang <[email protected]>
Musca A is a dual core SoC with both cores are CM33. Add openAMP to support on it. Signed-off-by: Karl Zhang <[email protected]>
Musca B1 is a dual core SoC with both cores are CM33. Add openAMP to support on it. Signed-off-by: Karl Zhang <[email protected]>
ce90b7e
to
a21437f
Compare
openAMP is a multiple core IPC which supported in Zephyr. This PR is going to make it supported for more multiple core platforms rather than for lpc54 only.
Currently added the arm platform AN521 and Musca A, for further plan is to supporting Musca B1 when #16729 get merged.