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-e…
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
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 9a814dac131c2cf61b87b8b1e76ac639db35fa2f
https://github.com/OpenAMP/libmetal/commit/9a814dac131c2cf61b87b8b1e76ac639…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2022-09-21 (Wed, 21 Sep 2022)
Changed paths:
M lib/system/freertos/zynqmp_r5/sys.c
M lib/system/generic/zynqmp_r5/sys.c
Log Message:
-----------
zynqmp_r5: replace Xil_SetMPURegion with Xil_MemMap
The metal_machine_io_mem_map() used to call Xil_SetMPURegion directly
and could get into an infinite loop. Replace the faulty code in
metal_machine_io_mem_map() with Xil_MemMap() call and assert it succeeds.
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>