| Message ID | 20250815035449.2816001-12-sandeep.gundlupet-raju@amd.com |
|---|---|
| State | New |
| Headers | show |
| Series | Update for master | expand |
> -----Original Message----- > From: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> > Sent: Friday, 15 August, 2025 11:55 AM > To: yocto-patches@lists.yoctoproject.org; Lee, Chee Yang > <chee.yang.lee@intel.com> > Subject: [meta-zephyr][master][PATCH 11/12] 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 \ should be " destsuffix=${P}/open-amp-sys-ref " for master branch I was facing error while building this recipe CMake Error at /data/master/poky/build-zephyr/tmp/work/qemu-cortex-a9-zephyr/zephyr-openamp-rpmsg-multi-srv/4.1.0+git/sources/zephyr-openamp-rpmsg-multi-srv-4.1.0+git/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.
On 8/18/2025 8:02 PM, Lee Chee Yang via lists.yoctoproject.org wrote: > >> -----Original Message----- >> From: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> >> Sent: Friday, 15 August, 2025 11:55 AM >> To: yocto-patches@lists.yoctoproject.org; Lee, Chee Yang >> <chee.yang.lee@intel.com> >> Subject: [meta-zephyr][master][PATCH 11/12] 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 \ > should be " destsuffix=${P}/open-amp-sys-ref " for master branch > > I was facing error while building this recipe > > CMake Error at /data/master/poky/build-zephyr/tmp/work/qemu-cortex-a9-zephyr/zephyr-openamp-rpmsg-multi-srv/4.1.0+git/sources/zephyr-openamp-rpmsg-multi-srv-4.1.0+git/modules/hal/libmetal/libmetal/CMakeLists.txt:1 (cmake_minimum_required): > Compatibility with CMake < 3.5 has been removed from CMake. [Sandeep]: Let me check why I didn't see this issue. and send a v2 patch. > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#2053): https://lists.yoctoproject.org/g/yocto-patches/message/2053 > Mute This Topic: https://lists.yoctoproject.org/mt/114713062/8188369 > Group Owner: yocto-patches+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/14211927/8188369/518048116/xyzzy [santraju@amd.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
On 8/19/2025 1:43 PM, Sandeep Gundlupet Raju via lists.yoctoproject.org wrote: > > On 8/18/2025 8:02 PM, Lee Chee Yang via lists.yoctoproject.org wrote: >> >>> -----Original Message----- >>> From: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> >>> Sent: Friday, 15 August, 2025 11:55 AM >>> To: yocto-patches@lists.yoctoproject.org; Lee, Chee Yang >>> <chee.yang.lee@intel.com> >>> Subject: [meta-zephyr][master][PATCH 11/12] 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 \ >> should be " destsuffix=${P}/open-amp-sys-ref " for master branch >> >> I was facing error while building this recipe >> >> CMake Error at >> /data/master/poky/build-zephyr/tmp/work/qemu-cortex-a9-zephyr/zephyr-openamp-rpmsg-multi-srv/4.1.0+git/sources/zephyr-openamp-rpmsg-multi-srv-4.1.0+git/modules/hal/libmetal/libmetal/CMakeLists.txt:1 >> (cmake_minimum_required): >> Compatibility with CMake < 3.5 has been removed from CMake. > [Sandeep]: Let me check why I didn't see this issue. and send a v2 patch. [Sandeep]: I was able to reproduce the issue on master will send a v2 patch now. >> >> >> >> >> >> >> >> > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#2059): > https://lists.yoctoproject.org/g/yocto-patches/message/2059 > Mute This Topic: https://lists.yoctoproject.org/mt/114713062/8188369 > Group Owner: yocto-patches+owner@lists.yoctoproject.org > Unsubscribe: > https://lists.yoctoproject.org/g/yocto-patches/leave/14211927/8188369/518048116/xyzzy > [santraju@amd.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
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" \ + "
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