From: "Gundlupet Raju, Sandeep" <sandeep.gundlupet-raju@amd.com>
To: "Lee, Chee Yang" <chee.yang.lee@intel.com>,
"yocto-patches@lists.yoctoproject.org"
<yocto-patches@lists.yoctoproject.org>
Subject: Re: [meta-zephyr][scarthgap][PATCH v6 10/11] zephyr-kernel: Add rpmsg multi services recipe
Date: Wed, 20 Aug 2025 07:47:06 -0600 [thread overview]
Message-ID: <4e4c9192-e629-4cc6-96ab-e05c1d5e3605@amd.com> (raw)
In-Reply-To: <BL4PR11MB879791DA10D548D88531B23DB933A@BL4PR11MB8797.namprd11.prod.outlook.com>
On 8/20/2025 2:02 AM, Lee, Chee Yang wrote:
> I got this error while building the recipe
>
> | /data/scarthgap/poky/build-zephyr/tmp-newlib/work/cortexa9-vfp-yocto-eabi/zephyr-openamp-rpmsg-multi-srv/3.7.0+git/git/open-amp-sys-ref/examples/zephyr/rpmsg_multi_services/src/main_remote.c:26:2: error: #error "Sample requires definition of shared memory for rpmsg"
> | 26 | #error "Sample requires definition of shared memory for rpmsg"
> | | ^~~~~
> | In file included from /data/scarthgap/poky/build-zephyr/tmp-newlib/work/cortexa9-vfp-yocto-eabi/zephyr-openamp-rpmsg-multi-srv/3.7.0+git/git/zephyr/include/zephyr/toolchain/gcc.h:98,
> | from /data/scarthgap/poky/build-zephyr/tmp-newlib/work/cortexa9-vfp-yocto-eabi/zephyr-openamp-rpmsg-multi-srv/3.7.0+git/git/zephyr/include/zephyr/toolchain.h:50,
> | from /data/scarthgap/poky/build-zephyr/tmp-newlib/work/cortexa9-vfp-yocto-eabi/zephyr-openamp-rpmsg-multi-srv/3.7.0+git/git/zephyr/include/zephyr/kernel_includes.h:23,
> | from /data/scarthgap/poky/build-zephyr/tmp-newlib/work/cortexa9-vfp-yocto-eabi/zephyr-openamp-rpmsg-multi-srv/3.7.0+git/git/zephyr/include/zephyr/kernel.h:17,
> | from /data/scarthgap/poky/build-zephyr/tmp-newlib/work/cortexa9-vfp-yocto-eabi/zephyr-openamp-rpmsg-multi-srv/3.7.0+git/git/open-amp-sys-ref/examples/zephyr/rpmsg_multi_services/src/main_remote.c:7:
>
>
> Build With
>
> meta = "scarthgap:6f7e929ea6ea557f107c8ccffea69a7d73439591"
> meta-oe
> meta-python = "scarthgap:c29a18fa39ede952f3f6108ec007c1906e2d9a0d"
[Sandeep]: Looks like you are building for cortex-a processor. rpmsg
works for only these platforms
https://github.com/OpenAMP/openamp-system-reference/blob/main/examples/zephyr/rpmsg_multi_services/sample.yaml#L8-L10
I used "MACHINE=qemu-cortex-r5 bitbake zephyr-openamp-rpmsg-multi-srv"
to test this recipe.,this way we can avoid the issues. I can add a
machine compatible for only these available machines. I will send a v2
patch.
>
>> -----Original Message-----
>> From: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
>> Sent: Tuesday, 19 August, 2025 6:03 AM
>> To: yocto-patches@lists.yoctoproject.org; Lee, Chee Yang
>> <chee.yang.lee@intel.com>
>> Subject: [meta-zephyr][scarthgap][PATCH v6 10/11] zephyr-kernel: Add
>> rpmsg multi services recipe
>>
>> Add zephyr-openamp-rpmsg-mulit-services recipe to build out of tree
>> openamp-system-reference example applications.
>>
>> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-
>> raju@amd.com>
>> ---
>> .../zephyr-openamp-rpmsg-multi-srv.bb | 23 +++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>> create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-
>> openamp-rpmsg-multi-srv.bb
>>
>> diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-
>> rpmsg-multi-srv.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-
>> openamp-rpmsg-multi-srv.bb
>> new file mode 100644
>> index 0000000..222ed2b
>> --- /dev/null
>> +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-
>> rpmsg
>> +++ -multi-srv.bb
>> @@ -0,0 +1,23 @@
>> +SUMMARY = "Open AMP rpmsg multi services"
>> +DESCRIPTION = "Open AMP rpmsg multi services"
>> +
>> +inherit zephyr-sample
>> +
>> +SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF ?=
>> "git://github.com/OpenAMP/openamp-system-reference;protocol=https"
>> +
>> +BRANCH ?= "v2024.05"
>> +BRANCHARG = "${@['nobranch=1',
>> 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
>> +
>> +SRC_URI:append = " \
>> + ${SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF};name=open-amp-sys-
>> ref;${BRANCHARG};destsuffix=git/open-amp-sys-ref \
>> + "
>> +
>> +SRCREV_open-amp-sys-ref =
>> "d78315763fbacba8a74552d0ad570bd01c42ccf9"
>> +
>> +ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/../open-amp-sys-
>> ref/examples/zephyr/rpmsg_multi_services"
>> +
>> +ZEPHYR_MAKE_OUTPUT = "rpmsg_multi_services.elf"
>> +
>> +EXTRA_OECMAKE += " \
>> + -DCONF_FILE="prj.conf" \
>> + "
>> --
>> 2.34.1
next prev parent reply other threads:[~2025-08-20 13:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-18 22:02 [scarthgap][PATCH v6 0/11] Update for scarthgap release Sandeep Gundlupet Raju
2025-08-18 22:02 ` [meta-zephyr][scarthgap][PATCH v6 1/11] zephyr-sdk: Add new inc file and update to 0.16.9 version Sandeep Gundlupet Raju
2025-08-18 22:02 ` [meta-zephyr][scarthgap][PATCH v6 2/11] zephyr-kernel-src: Remove PREFERRED_VERSION_zephyr-kernel Sandeep Gundlupet Raju
2025-08-18 22:02 ` [meta-zephyr][scarthgap][PATCH v6 3/11] zephyr-image: Add image artifacts to output files Sandeep Gundlupet Raju
2025-08-18 22:02 ` [meta-zephyr][scarthgap][PATCH v6 4/11] classes: Move classes to match bbclass scope functionality Sandeep Gundlupet Raju
2025-08-18 22:02 ` [meta-zephyr][scarthgap][PATCH v6 5/11] zephyr-qemuboot: Use image artifact file in qemuimage Sandeep Gundlupet Raju
2025-08-18 22:02 ` [meta-zephyr][scarthgap][PATCH v6 6/11] zephyr-kernel: Add Zephyr LTS3.7.0 support Sandeep Gundlupet Raju
2025-08-18 22:03 ` [meta-zephyr][scarthgap][PATCH v6 7/11] meta-zephyr: Update README files Sandeep Gundlupet Raju
2025-08-18 22:03 ` [meta-zephyr][scarthgap][PATCH v6 8/11] zephyr-kernel: Use relative path Sandeep Gundlupet Raju
2025-08-18 22:03 ` [meta-zephyr][scarthgap][PATCH v6 9/11] classes-recipe: Convert zephyr-sample inc file to bbclass Sandeep Gundlupet Raju
2025-08-18 22:03 ` [meta-zephyr][scarthgap][PATCH v6 10/11] zephyr-kernel: Add rpmsg multi services recipe Sandeep Gundlupet Raju
2025-08-20 8:02 ` Lee, Chee Yang
2025-08-20 13:47 ` Gundlupet Raju, Sandeep [this message]
[not found] ` <185D7DB1A09D3E98.23467@lists.yoctoproject.org>
2025-08-20 18:58 ` [yocto-patches] " Gundlupet Raju, Sandeep
2025-08-18 22:03 ` [meta-zephyr][scarthgap][PATCH v6 11/11] zephyr-kernel-common: Add Board extension support Sandeep Gundlupet Raju
2025-08-20 8:03 ` Lee, Chee Yang
2025-08-20 14:32 ` [yocto-patches] " Gundlupet Raju, Sandeep
2025-08-20 22:11 ` Gundlupet Raju, Sandeep
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4e4c9192-e629-4cc6-96ab-e05c1d5e3605@amd.com \
--to=sandeep.gundlupet-raju@amd.com \
--cc=chee.yang.lee@intel.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.