* [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
@ 2021-09-29 9:41 Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support Arnaud Pouliquen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Arnaud Pouliquen @ 2021-09-29 9:41 UTC (permalink / raw)
To: yocto; +Cc: Kumar Gala, Kevin Townsend
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support
2021-09-29 9:41 [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Arnaud Pouliquen
@ 2021-09-29 9:41 ` Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 2/2] zephyr-kernel: add openamp-rsc-table sample Arnaud Pouliquen
2021-10-05 7:08 ` [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Saini, Naveen Kumar
2 siblings, 0 replies; 5+ messages in thread
From: Arnaud Pouliquen @ 2021-09-29 9:41 UTC (permalink / raw)
To: yocto; +Cc: Kumar Gala, Kevin Townsend
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 <arnaud.pouliquen@foss.st.com>
---
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 000000000000..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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-zephyr 2/2] zephyr-kernel: add openamp-rsc-table sample
2021-09-29 9:41 [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support Arnaud Pouliquen
@ 2021-09-29 9:41 ` Arnaud Pouliquen
2021-10-05 7:08 ` [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Saini, Naveen Kumar
2 siblings, 0 replies; 5+ messages in thread
From: Arnaud Pouliquen @ 2021-09-29 9:41 UTC (permalink / raw)
To: yocto; +Cc: Kumar Gala, Kevin Townsend
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 <arnaud.pouliquen@foss.st.com>
---
.../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 000000000000..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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* RE: [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
2021-09-29 9:41 [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 2/2] zephyr-kernel: add openamp-rsc-table sample Arnaud Pouliquen
@ 2021-10-05 7:08 ` Saini, Naveen Kumar
2021-10-05 14:13 ` Arnaud POULIQUEN
2 siblings, 1 reply; 5+ messages in thread
From: Saini, Naveen Kumar @ 2021-10-05 7:08 UTC (permalink / raw)
To: Arnaud Pouliquen, yocto; +Cc: Kumar Gala, Kevin Townsend
This is only cover letter, I do not see patches on mailing list..
Regards,
Naveen
> -----Original Message-----
> From: yocto@lists.yoctoproject.org <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 <kumar.gala@linaro.org>; Kevin Townsend
> <kevin.townsend@linaro.org>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157
2021-10-05 7:08 ` [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Saini, Naveen Kumar
@ 2021-10-05 14:13 ` Arnaud POULIQUEN
0 siblings, 0 replies; 5+ messages in thread
From: Arnaud POULIQUEN @ 2021-10-05 14:13 UTC (permalink / raw)
To: Saini, Naveen Kumar, yocto; +Cc: Kumar Gala, Kevin Townsend
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 <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 <kumar.gala@linaro.org>; Kevin Townsend
>> <kevin.townsend@linaro.org>
>> 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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-05 14:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 9:41 [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 1/2] conf: machine: add stm32mp157c-dk2 support Arnaud Pouliquen
2021-09-29 9:41 ` [meta-zephyr 2/2] zephyr-kernel: add openamp-rsc-table sample Arnaud Pouliquen
2021-10-05 7:08 ` [yocto] [meta-zephyr 0/2] add support of the zephyr-openamp-rsc-table sample on STM32MP157 Saini, Naveen Kumar
2021-10-05 14:13 ` Arnaud POULIQUEN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.