Replies: 1 comment
-
Not sure that the Linux implementation is adapted. I suggest you to have a look instead in https://github.com/OpenAMP/open-amp/blob/main/apps/machine/zynqmp_r5/platform_info.c. this implemntation is adapted for
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are currently experimentalling Open-AMP with OpenHarmony LiteOS-A on 3516DV300 board. We want to make as less efforts as possible to make the
echo
program run on LiteOS-A. LiteOS-A is similar to Linux, it has POSIX API layer.What we are trying:
In Open-AMP, we find several different implementations of
platform_info.c
:We have tried to adapt
apps/system/linux/machine/generic/platform_info.c
toapps/system/liteos_a/machine/generic/platform_info.c
, but theshm_open
is broken on LiteOS-A. Then we found the other implementations usesmetal_device_open
butmetal_shmem_open
.Questions:
openamp.shm
and/dev/uio0
?metal_shmem_open
, or should we try to usemetal_device_open
likezynqmp
?Beta Was this translation helpful? Give feedback.
All reactions