Hello all,
There are few example source code exist in meta-openamp repository currently.
Here: https://github.com/OpenAMP/meta-openamp/tree/master/recipes-openamp/rpmsg-ex...
These examples are not using libopenamp or libmetal but, they are using kernel device nodes (rpmsg device) to interact with RPU firmware.
Ideally any meta-* layer should contain only bitabake recipes or patch files, but not actual source code.
I would like to move these source code examples under OpenAMP/open-amp repository here: https://github.com/OpenAMP/open-amp
I have few questions regarding this:
1) Is it appropriate to move under open-amp/apps/examples/<new_dir> ( I am open to suggestions for name of <new_dir>. I suggest host_example) or please suggest new path where to move these files?
2) These demos uses "make" utility for compilation. However, open-amp repo uses "CMAKE" utility to compile source code. Is it wise to remove "Makefile" right away and add CMAKE support to compile source code? I am trying to avoid backward compatibility issues here.
Thanks,
Tanmay
Status Update: This issue was discussed on openamp-rp call.
Here are the notes: https://github.com/OpenAMP/open-amp/wiki/OpenAMP-remoteproc-Subgroup-Meeting...
Conclusion:
1) Move demos to openamp-system-reference repo
2) Use make utility for compilation.
On 9/21/22 2:50 PM, Tanmay Shah via Openamp-rp wrote:
Hello all,
There are few example source code exist in meta-openamp repository currently.
Here: https://github.com/OpenAMP/meta-openamp/tree/master/recipes-openamp/rpmsg-ex...
These examples are not using libopenamp or libmetal but, they are using kernel device nodes (rpmsg device) to interact with RPU firmware.
Ideally any meta-* layer should contain only bitabake recipes or patch files, but not actual source code.
I would like to move these source code examples under OpenAMP/open-amp repository here: https://github.com/OpenAMP/open-amp
I have few questions regarding this:
- Is it appropriate to move under open-amp/apps/examples/<new_dir> (
I am open to suggestions for name of <new_dir>. I suggest host_example) or please suggest new path where to move these files?
- These demos uses "make" utility for compilation. However, open-amp
repo uses "CMAKE" utility to compile source code. Is it wise to remove "Makefile" right away and add CMAKE support to compile source code? I am trying to avoid backward compatibility issues here.
Thanks,
Tanmay
openamp-rp@lists.openampproject.org