Re: [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
Hello Saini, On 10/5/21 9:08 AM, Saini, Naveen Kumar wrote: > This is only cover letter, I do not see patches on mailing list.. Yes something strange, they are not listed on same page of the archive on https://lists.yoctoproject.org/ Patch 1/2 and patch 2/2 associated with this one are visible in the Yocto archive: link to the patches on mail-archive.com: https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg07088.html https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg07089.html Please tell me if you need that I resend the series. Regards, Arnaud > > Regards, > Naveen > >> -Original Message- >> From: yocto@lists.yoctoproject.org On >> Behalf Of Arnaud Pouliquen >> Sent: Wednesday, September 29, 2021 5:41 PM >> To: yocto@lists.yoctoproject.org >> Cc: Kumar Gala ; Kevin Townsend >> >> Subject: [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc- >> table sample on STM32MP157 >> >> Add capability to genereate the "zephyr-openamp-rsc-table" sample in yocto >> build. >> >> This example demonstrates inter-processor communication based on a >> resource table, with the objective of responding to the Linux kernel rpmsg >> sample. >> >> This sample is compatible with the stm32mp157c_dk2 board. >> The support of the board is also added in this series. >> >> Arnaud Pouliquen (2): >> conf: machine: add stm32mp157c-dk2 support >> zephyr-kernel: add openamp-rsc-table sample >> >> conf/machine/stm32mp157c-dk2.conf | 8 >> .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 10 ++ >> 2 files changed, 18 insertions(+) >> create mode 100644 conf/machine/stm32mp157c-dk2.conf create mode >> 100644 recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb >> >> -- >> 2.17.1 > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54958): https://lists.yoctoproject.org/g/yocto/message/54958 Mute This Topic: https://lists.yoctoproject.org/mt/85944703/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support
The board is based on STMicroelectronics STM32MP157 processor based on a dual Cortex-A7 core and a Cortex-M4 core. STM32MP1 family support depends on STM32 HAL and OpenAMP for inter-core communication. This change has been verified with zephyr-philosophers and zephyr-shell sample applications on by loading Zephyr image to Cortex-M4 core from Linux using remoteproc framework. Signed-off-by: Arnaud Pouliquen --- conf/machine/stm32mp157c-dk2.conf | 8 1 file changed, 8 insertions(+) create mode 100644 conf/machine/stm32mp157c-dk2.conf diff --git a/conf/machine/stm32mp157c-dk2.conf b/conf/machine/stm32mp157c-dk2.conf new file mode 100644 index ..52c18192b2c3 --- /dev/null +++ b/conf/machine/stm32mp157c-dk2.conf @@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: stm32mp1-openamp + +#@DESCRIPTION: Machine configuration for stm32mp157x-DK2 Board. + +require conf/machine/include/stm32mp1-cortex-m4.inc + +ARCH:stm32mp157c-dk2 = "arm" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54908): https://lists.yoctoproject.org/g/yocto/message/54908 Mute This Topic: https://lists.yoctoproject.org/mt/85944705/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
Add capability to genereate the "zephyr-openamp-rsc-table" sample in yocto build. This example demonstrates inter-processor communication based on a resource table, with the objective of responding to the Linux kernel rpmsg sample. This sample is compatible with the stm32mp157c_dk2 board. The support of the board is also added in this series. Arnaud Pouliquen (2): conf: machine: add stm32mp157c-dk2 support zephyr-kernel: add openamp-rsc-table sample conf/machine/stm32mp157c-dk2.conf | 8 .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 10 ++ 2 files changed, 18 insertions(+) create mode 100644 conf/machine/stm32mp157c-dk2.conf create mode 100644 recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54906): https://lists.yoctoproject.org/g/yocto/message/54906 Mute This Topic: https://lists.yoctoproject.org/mt/85944703/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [meta-zephyr 2/2] zephyr-kernel: add openamp-rsc-table sample
The recipe to build rpmsg sample demonstrating messaging between main core dunning Linux and and the coprocessor running Zephyr. Useful to demonstrate inter-processing communication. Signed-off-by: Arnaud Pouliquen --- .../zephyr-kernel/zephyr-openamp-rsc-table.bb | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb diff --git a/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb b/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb new file mode 100644 index ..3eec58adb17b --- /dev/null +++ b/recipes-kernel/zephyr-kernel/zephyr-openamp-rsc-table.bb @@ -0,0 +1,10 @@ +include zephyr-sample.inc + + +ZEPHYR_MAKE_OUTPUT = "zephyr_openamp_rsc_table.elf" +ZEPHYR_MAKE_BIN_OUTPUT = "zephyr_openamp_rsc_table.bin" +ZEPHYR_MAKE_EFI_OUTPUT = "zephyr_openamp_rsc_table.efi" + +ZEPHYR_SRC_DIR = "${S}/samples/subsys/ipc/openamp_rsc_table" + +COMPATIBLE_MACHINE = "(stm32mp157c-dk2)" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54907): https://lists.yoctoproject.org/g/yocto/message/54907 Mute This Topic: https://lists.yoctoproject.org/mt/85944704/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-