[yocto] [meta-zephyr][PATCH] zephyr-sdk: upgrade 0.14.2 -> 0.15.1

2022-10-25 Thread Naveen Saini
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.1

Signed-off-by: Naveen Saini 
---
 .../zephyr-sdk/{zephyr-sdk_0.14.2.bb => zephyr-sdk_0.15.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-zephyr-core/recipes-devtools/zephyr-sdk/{zephyr-sdk_0.14.2.bb => 
zephyr-sdk_0.15.1.bb} (83%)

diff --git a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb 
b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb
similarity index 83%
rename from meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb
rename to meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb
index c893652..f5a9466 100644
--- a/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.14.2.bb
+++ b/meta-zephyr-core/recipes-devtools/zephyr-sdk/zephyr-sdk_0.15.1.bb
@@ -14,8 +14,8 @@ SDK_ARCHIVE = "zephyr-sdk-${PV}_linux-${BUILD_ARCH}.tar.gz"
 SDK_NAME = "${BUILD_ARCH}"
 SRC_URI = 
"https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${PV}/${SDK_ARCHIVE};subdir=${S};name=${SDK_NAME};
 
-SRC_URI[x86_64.sha256sum] = 
"2ff0e4d79bffe1468247a3e1958aa9183a0252225ab721cf1c37188bd4b649a2"
-SRC_URI[aarch64.sha256sum] = 
"cbb616a50e940388ea737788d48dcea3624a85bb3ee04d9aae105496a21ae75e"
+SRC_URI[x86_64.sha256sum] = 
"0a7406045102197b9edc759b242499941814a1c6df29dd9fbd479ad50eb0fba9"
+SRC_URI[aarch64.sha256sum] = 
"d2c5de994376a287e8bf12e5776ab8f5105eafa14826608df085142fd01b7f84"
 
 do_configure[noexec] = "1"
 do_compile[noexec] = "1"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58417): https://lists.yoctoproject.org/g/yocto/message/58417
Mute This Topic: https://lists.yoctoproject.org/mt/94575811/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][yocto-kernel-cache][yocto-5.15][PATCH] nxp-lx2xxx: enable kernel config CONFIG_CRYPTO_DEV_FSL_CAAM_JR

2022-10-25 Thread Xulin Sun
Enable kernel config CONFIG_CRYPTO_DEV_FSL_CAAM_JR, this is to enable
Freescale CAAM Job Ring driver backend.

Signed-off-by: Xulin Sun 
---
 bsp/nxp-lx2xxx/nxp-lx2xxx.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsp/nxp-lx2xxx/nxp-lx2xxx.cfg b/bsp/nxp-lx2xxx/nxp-lx2xxx.cfg
index 217d8e6d..b2eb451c 100644
--- a/bsp/nxp-lx2xxx/nxp-lx2xxx.cfg
+++ b/bsp/nxp-lx2xxx/nxp-lx2xxx.cfg
@@ -163,6 +163,7 @@ CONFIG_CRYPTO_SHA2_ARM64_CE=y
 CONFIG_CRYPTO_GHASH_ARM64_CE=y
 CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
 CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y
 
 # dpaa2 drivers
 CONFIG_FSL_SDK_DPA=y
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11817): 
https://lists.yoctoproject.org/g/linux-yocto/message/11817
Mute This Topic: https://lists.yoctoproject.org/mt/94575030/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel-src: add support for v3.2.0

2022-10-25 Thread Jon Mason
Testing (both of them together) shows some issues
https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/676605867

When using the zephyr toolchain, there is an error of
2022-10-25 18:28:16 - INFO - |   Could not find a configuration file for 
package "Zephyr-sdk" that is
2022-10-25 18:28:16 - INFO - |   compatible with requested version "0.15".

zephyr-coap-server doesn't seem to want to compile for the machines it
currently works on, and a few other test regressions.

Thanks,
Jon


On Tue, Oct 25, 2022 at 03:48:30PM +0800, Naveen Saini wrote:
> https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.2.0
> 
> Signed-off-by: Naveen Saini 
> ---
>  .../zephyr-kernel/zephyr-kernel-src-3.2.0.inc | 239 ++
>  .../zephyr-kernel/zephyr-kernel-src.inc   |   2 +-
>  2 files changed, 240 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc
> 
> diff --git 
> a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc 
> b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc
> new file mode 100644
> index 000..5d8ddfa
> --- /dev/null
> +++ 
> b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc
> @@ -0,0 +1,239 @@
> +# Auto-generated from zephyr-kernel-src.inc.jinja
> +
> +SRCREV_FORMAT = "default"
> +
> +SRCREV_default = "4b58ae97f30338dd343f110fef068b21b94b6555"
> +SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724"
> +SRCREV_chre = "ef76d3456db07e4959df555047d6962279528c8d"
> +SRCREV_cmsis = "093de61c2a7d12dc9253daf8692f61f793a9254a"
> +SRCREV_edtt = "1ea61a390d2bfcf3b2ecdba8f8b0b98dfdffbd11"
> +SRCREV_fatfs = "a30531af3a95a9a3ea7d771ea8a578ebfed45514"
> +SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16"
> +SRCREV_hal_altera = "0d225ddd314379b32355a00fb669eacf911e750d"
> +SRCREV_hal_atmel = "1d237f2e2f262751975b6da6e03af569b2b49b2b"
> +SRCREV_hal_espressif = "2cb20ac6c5b25f3c91b35e7997451db47030b7cb"
> +SRCREV_hal_gigadevice = "dd0e0322474462b58059e6fedaf1d67d2a0864d0"
> +SRCREV_hal_infineon = "4af06965f57ba1e7d170e6a97d24c33785543a8c"
> +SRCREV_hal_microchip = "5d079f1683a00b801373f5d181d4e33b30d5"
> +SRCREV_hal_nordic = "249199ec5a5c31d170659921048764e96d05cc0e"
> +SRCREV_hal_nuvoton = "b4d31f33238713a568e23618845702fadd67386f"
> +SRCREV_hal_nxp = "708c95825b0d5279620935a1356299fff5dfbc6e"
> +SRCREV_hal_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262"
> +SRCREV_hal_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0"
> +SRCREV_hal_renesas = "468d3f2146d18c7f86a4640fc641cc1d20a4a100"
> +SRCREV_hal_rpi_pico = "a094c060e0c2d43c7f9d8f5c06cc0665117e0c18"
> +SRCREV_hal_silabs = "1ec8dd99aa4ac3e8632d2aa28a7438049bb27102"
> +SRCREV_hal_st = "cccbc24c14decfd3f93959f7b14514536af973c7"
> +SRCREV_hal_stm32 = "642e199c59828137dc6b1c7044a289d4269886d1"
> +SRCREV_hal_telink = "38573af589173259801ae6c2b34b7d4c9e626746"
> +SRCREV_hal_ti = "000b944a788b6005d7776198e1348f5c8a657259"
> +SRCREV_hal_wurthelektronik = "24ca9873c3d608fad1fea0431836bc8f144c132e"
> +SRCREV_hal_xtensa = "63f655362423aa49507da7977a2d37142e8debeb"
> +SRCREV_libmetal = "2f586b4f1276fb075ee145421bdf6cbe5403aa41"
> +SRCREV_liblc3 = "448f3de31f49a838988a162ef1e23a89ddf2d2ed"
> +SRCREV_littlefs = "ca583fd297ceb48bced3c2548600dc615d67af24"
> +SRCREV_loramac-node = "ce57712f3e42613acaec97b45369f716f43a"
> +SRCREV_lvgl = "af95bdfcf6784edd958ea08139c713e2d3dee7af"
> +SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d"
> +SRCREV_mbedtls = "7fed49c9b9f983ad6416986661ef637459723bcb"
> +SRCREV_mcuboot = "13f63976bca672ee018f9d55f1e31f02f4135b64"
> +SRCREV_mipi-sys-t = "0d521d8055f3b2b4842f728b0365d3f0ece9c37f"
> +SRCREV_nanopb = "dc4deed54fd4c7e1935e3b6387eedf21bb45dc38"
> +SRCREV_net-tools = "e0828aa9629b533644dc96ff6d1295c939bd713c"
> +SRCREV_nrf_hw_models = "65bc5305d432c08e24a3f343006d1e7deaff4908"
> +SRCREV_open-amp = "8d53544871e1f300c478224faca6be8384ab0d04"
> +SRCREV_openthread = "b21e99b4b3d823f71c902b9174ff62b964c124f0"
> +SRCREV_picolibc = "04ada5951cbaf8e7b17f8226ce31cb6837c28ba7"
> +SRCREV_segger = "d4e568a920b4bd087886170a5624c167b2d0665e"
> +SRCREV_sof = "fed466c264ad078c66f7bff9218ba1d3fa0eb201"
> +SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6"
> +SRCREV_tinycbor = "9e1f34bc08123aaad7666d3652aaa839e8178b3b"
> +SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0"
> +SRCREV_TraceRecorderSource = "9893bf1cf649a2c4ee2e27293f887994f3d0da5b"
> +SRCREV_trusted-firmware-m = "231235f26f5295ac4faf8c5617dbb9779869d821"
> +SRCREV_trusted-firmware-a = "d29cddecde614d81cbec1fb0086cdaebd77d3575"
> +SRCREV_tf-m-tests = "c99a86b295c4887520da9d8402566d7f225c974e"
> +SRCREV_psa-arch-tests = "f4fc2442b8e29e2a03d9899e46e5a3ea3df8c2c9"
> +SRCREV_uoscore-uedhoc = "e8920192b66db4f909eb9cd3f155d5245c1ae825"
> +SRCREV_zcbor = "a0d6981f14d4001d6f0d608d1a427f9bc6bb6d02"
> +SRCREV_zscilib = "ca070ddabdaf67175a2da901d0bd62e8899371c5"
> +
> 

[yocto] OpenEmbedded Happy Hour October 26 9pm/2100 UTC

2022-10-25 Thread Tim Orling
All,

You are cordially invited to the next OpenEmbedded Happy Hour on October 26
for Asia/Pacific time zones @ 2100/9pm UTC (5pm ET / 2pm PT).

https://www.openembedded.org/wiki/Calendar
https://www.openembedded.org/wiki/Happy_Hours
https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenEmbedded+Happy+Hour+October+26=20221026T21=1440=1

Regards,
Tim "moto-timo" Orling

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58415): https://lists.yoctoproject.org/g/yocto/message/58415
Mute This Topic: https://lists.yoctoproject.org/mt/94561792/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][yocto-kernel-cache yocto-5.15] disable CONFIG_OCTEONTX_SERDES for marvell-cn106xx

2022-10-25 Thread Bruce Ashfield
In message: [linux-yocto][yocto-kernel-cache yocto-5.15] disable 
CONFIG_OCTEONTX_SERDES for marvell-cn106xx
on 25/10/2022 Ruiqiang Hao wrote:

> Hi Bruce,
> 
> Please help to merge this patch into our linux-yocto repo.
> 
> repo:
> yocto-kernel-cache
> branch:
> yocto-5.15

merged.

Bruce

> 
> Thanks,
> Ruiqiang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11816): 
https://lists.yoctoproject.org/g/linux-yocto/message/11816
Mute This Topic: https://lists.yoctoproject.org/mt/94554682/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][linux-yocto v5.15] kernel code for marvell octeon

2022-10-25 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v5.15] kernel code for marvell octeon
on 25/10/2022 Ruiqiang Hao wrote:

> Hi Bruce,
> 
> Please help to merge this patch into our linux-yocto repo.
> 
> repo:
>   linux-yocto
> branch:
>   v5.15/standard/cn-sdkv5.4/octeon
>   v5.15/standard/preempt-rt/cn-sdkv5.4/octeon

merged.

Bruce

> 
> Thanks,
> Ruiqiang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11815): 
https://lists.yoctoproject.org/g/linux-yocto/message/11815
Mute This Topic: https://lists.yoctoproject.org/mt/94554594/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][linux-yocto v5.15/standard/sdkv5.10/axxia & v5.15/standard/preempt-rt/sdkv5.10/axxia ][PATCH 1/1] usb: ehci: adjust to use platform_drivers to register/unregister driver

2022-10-25 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto][linux-yocto v5.15/standard/sdkv5.10/axxia & 
v5.15/standard/preempt-rt/sdkv5.10/axxia ][PATCH 1/1] usb: ehci: adjust to use 
platform_drivers to register/unregister driver
on 25/10/2022 Liwei Song wrote:

> Since upstream commit aad06846a230 ("usb: ehci: Simplify platform driver
> registration"), PLATFORM_DRIVER was replace by platform_drivers,
> adjust the old implement to use platform_drivers to register or
> unregister platform.
> 
> This is use to fix a compile warning that import by axxia SDK
> commit 7048bd2a0f58 ("usb: xhci: Add CI13612A USB driver for
> Axxia AXM55xx"):
> 
> In file included from drivers/usb/host/ehci-hcd.c:1325:0:
> drivers/usb/host/ehci-ci13612.c:223:31: warning: ‘ci13612_ehci_driver’ 
> defined but not used [-Wunused-variable]
>  static struct platform_driver ci13612_ehci_driver = {
>^~~
> 
> Signed-off-by: Liwei Song 
> ---
>  drivers/usb/host/ehci-hcd.c | 10 ++
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index 8e0414e8438e..9b9dca484237 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -1306,6 +1306,10 @@ MODULE_LICENSE ("GPL");
>  #include "ehci-grlib.c"
>  #endif
>  
> +#ifdef CONFIG_USB_CI13612_HCD
> +#include "ehci-ci13612.c"
> +#endif
> +
>  static struct platform_driver * const platform_drivers[] = {
>  #ifdef CONFIG_USB_EHCI_SH
>   _hcd_sh_driver,
> @@ -1319,12 +1323,10 @@ static struct platform_driver * const 
> platform_drivers[] = {
>  #ifdef CONFIG_SPARC_LEON
>   _grlib_driver,
>  #endif
> -};
> -
>  #ifdef CONFIG_USB_CI13612_HCD
> -#include "ehci-ci13612.c"
> -#define PLATFORM_DRIVER  ci13612_ehci_driver
> + _ehci_driver,
>  #endif
> +};
>  
>  static int __init ehci_hcd_init(void)
>  {
> -- 
> 2.32.0
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11814): 
https://lists.yoctoproject.org/g/linux-yocto/message/11814
Mute This Topic: https://lists.yoctoproject.org/mt/94552882/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Yocto Project Status 25 October 2022 (WW43)

2022-10-25 Thread Stephen Jolley
Current Dev Position: YP 4.2 M1

Next Deadline: 5th December 2022 YP 4.2 Build

 

Next Team Meetings:

*   Bug Triage meeting Thursday October 27th 7:30 am PDT (

https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09)
*   Weekly Project Engineering Sync Tuesday October 25th at 8 am PDT (

https://zoom.us/j/990892712?pwd=cHU1MjhoM2x6ck81bkcrYjRrcmJsUT09
 )
*   Twitch -  See  
https://www.twitch.tv/theyoctojester

 

Key Status/Updates:

*   YP 4.1 was released.
*   Fixes for issues mentioned in the 4.1 release notes have merged to
the langdale branch (thanks Ross).
*   Patches for queued for master will be processed over the next week
*   Our patch wranglers Alex and Luca have been maintain staging
branches at oe-core-contrib/abelloni/master-next and
oe-core-contrib/lucaceresoli/master-next if you'd like to see what they've
tested.
*   AB-INT issues and open CVEs have both risen.
*   Help is very much welcome in trying to resolve our autobuilder
intermittent issues. You can see the list of failures we're continuing to
see by searching for the "AB-INT" tag in bugzilla:

https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT. In
particular there is a long-standing qemuppc failure which needs
investigating ( 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14824)

 

Ways to contribute:

*   There are bugs identified as possible for newcomers to the project:

https://wiki.yoctoproject.org/wiki/Newcomers
*   There are bugs that are currently unassigned for YP 4.2. See:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Medium.2B_4.2_Unassigned_Enhan
cements.2FBugs
*   We'd welcome new maintainers for recipes in OE-Core. Please see the
list at:

http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/conf/distro/include/main
tainers.inc and discuss with the existing maintainer, or ask on the OE-Core
mailing list. We will likely move a chunk of these to "Unassigned" soon to
help facilitate this.
*   Help us resolve CVE issues:
 CVE metrics 

 

YP 4.2 Milestone Dates:

*   YP 4.2 M1 build date 2022/12/05
*   YP 4.2 M1 Release date 2022/12/16
*   YP 4.2 M2 build date 2023/01/23
*   YP 4.2 M2 Release date 2023/02/03
*   YP 4.2 M3 build date 2023/02/20
*   YP 4.2 M3 Release date 2023/03/03
*   YP 4.2 M4 build date 2023/04/03
*   YP 4.2 M4 Release date 2023/04/28

 

Upcoming dot releases:

*   YP 3.1.20 is released
*   YP 4.0.5 build date 2022/10/31
*   YP 4.0.5 Release date 2022/11/11
*   YP 4.1.1 build date 2022/11/14
*   YP 4.1.1 Release date 2022/11/25
*   YP 3.1.21 build date 2022/11/28
*   YP 3.1.21 Release date 2022/12/09
*   YP 4.0.6 build date 2022/12/12
*   YP 4.0.6 Release date 2022/12/23
*   YP 4.1.2 build date 2023/01/09
*   YP 4.1.2 Release date 2023/01/20
*   YP 3.1.22 build date 2023/01/16
*   YP 3.1.22 Release date 2023/01/27
*   YP 4.0.7 build date 2023/01/30
*   YP 4.0.7 Release date 2023/02/10
*   YP 3.1.23 build date 2023/02/13
*   YP 3.1.23 Release date 2023/02/24
*   YP 4.0.8 build date 2023/02/27
*   YP 4.0.8 Release date 2023/03/10
*   YP 4.1.3 build date 2023/03/06
*   YP 4.1.3 Release date 2023/03/17
*   YP 3.1.24 build date 2023/03/20
*   YP 3.1.24 Release date 2023/03/31
*   YP 4.0.9 build date 2023/04/10
*   YP 4.0.9 Release date 2023/04/21
*   YP 4.1.4 build date 2023/05/01
*   YP 4.1.4 Release date 2023/05/13
*   YP 3.1.25 build date 2023/05/08
*   YP 3.1.25 Release date 2023/05/19
*   YP 4.0.10 build date 2023/05/15
*   YP 4.0.10 Release date 2023/05/26

 

Tracking Metrics:

*   WDD 2481 (last week 2459) (

https://wiki.yoctoproject.org/charts/combo.html)
*   OE-Core/Poky Patch Metrics

*   Total patches found: 1217 (last week 1217)
*   Patches in the Pending State: 311 (26%) [last week 311 (26%)]

*
https://autobuilder.yocto.io/pub/non-release/patchmetrics/

 

The Yocto Project's technical governance is through its Technical Steering
Committee, more information is available at:

 
https://wiki.yoctoproject.org/wiki/TSC

 

The Status reports are now stored on the wiki at:

[linux-yocto] [PATCH] marvell-cn106xx: disable OCTEONTX_SERDES debug driver

2022-10-25 Thread Ruiqiang Hao
From: Ruiqiang Hao 

CONFIG_OCTEONTX_SERDES is for cn96xx, we do not need this in cn106xx,
disable this option to avoid misuse.

Signed-off-by: Ruiqiang Hao 
---
 bsp/marvell-cn106xx/marvell-cn106xx.cfg | 4 
 1 file changed, 4 insertions(+)

diff --git a/bsp/marvell-cn106xx/marvell-cn106xx.cfg 
b/bsp/marvell-cn106xx/marvell-cn106xx.cfg
index 82da82cb..d5d5e8e4 100644
--- a/bsp/marvell-cn106xx/marvell-cn106xx.cfg
+++ b/bsp/marvell-cn106xx/marvell-cn106xx.cfg
@@ -159,3 +159,7 @@ CONFIG_ACPI_APEI=y
 CONFIG_ACPI_APEI_GHES=y
 CONFIG_ARM_SDE_INTERFACE=y
 CONFIG_EDAC_OCTEONTX=y
+
+# Currently this driver only work for cn96xx, but it is set to 'm' by default.
+# So we have to disable it explicitly.
+# CONFIG_OCTEONTX_SERDES is not set
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11813): 
https://lists.yoctoproject.org/g/linux-yocto/message/11813
Mute This Topic: https://lists.yoctoproject.org/mt/94554683/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][yocto-kernel-cache yocto-5.15] disable CONFIG_OCTEONTX_SERDES for marvell-cn106xx

2022-10-25 Thread Ruiqiang Hao
Hi Bruce,

Please help to merge this patch into our linux-yocto repo.

repo:
yocto-kernel-cache
branch:
yocto-5.15

Thanks,
Ruiqiang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11812): 
https://lists.yoctoproject.org/g/linux-yocto/message/11812
Mute This Topic: https://lists.yoctoproject.org/mt/94554682/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][linux-yocto v5.15] kernel code for marvell octeon

2022-10-25 Thread Ruiqiang Hao
Hi Bruce,

Please help to merge this patch into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/cn-sdkv5.4/octeon
v5.15/standard/preempt-rt/cn-sdkv5.4/octeon

Thanks,
Ruiqiang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11810): 
https://lists.yoctoproject.org/g/linux-yocto/message/11810
Mute This Topic: https://lists.yoctoproject.org/mt/94554594/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH] firmware: arm_scmi: Increase MBOX_TX_QUEUE_LEN

2022-10-25 Thread Ruiqiang Hao
From: Ruiqiang Hao 

Marvell-cn106xx has 24 cpu cores, each of which uses a separate policy,
so we need 24 message slot at least to ensure the normal data flow for
cpu_freq. Increase MBOX_TX_QUEUE_LEN and the max_msg of scmi_xfer to avoid
the following errors:

arm-scmi firmware:scmi: failed to get free message slot(-12)

Signed-off-by: Ruiqiang Hao 
---
 drivers/firmware/arm_scmi/mailbox.c | 2 +-
 include/linux/mailbox_controller.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/firmware/arm_scmi/mailbox.c 
b/drivers/firmware/arm_scmi/mailbox.c
index bb15def8901f..22f1ad268a91 100644
--- a/drivers/firmware/arm_scmi/mailbox.c
+++ b/drivers/firmware/arm_scmi/mailbox.c
@@ -199,6 +199,6 @@ static const struct scmi_transport_ops scmi_mailbox_ops = {
 const struct scmi_desc scmi_mailbox_desc = {
.ops = _mailbox_ops,
.max_rx_timeout_ms = 500,   /* We may increase this if required */
-   .max_msg = 20, /* Limited by MBOX_TX_QUEUE_LEN */
+   .max_msg = 40, /* Limited by MBOX_TX_QUEUE_LEN */
.max_msg_size = 256,
 };
diff --git a/include/linux/mailbox_controller.h 
b/include/linux/mailbox_controller.h
index 6fee33cb52f5..45539dd612ce 100644
--- a/include/linux/mailbox_controller.h
+++ b/include/linux/mailbox_controller.h
@@ -100,7 +100,7 @@ struct mbox_controller {
  * REVISIT: If too many platforms see the "Try increasing MBOX_TX_QUEUE_LEN"
  * print, it needs to be taken from config option or somesuch.
  */
-#define MBOX_TX_QUEUE_LEN  20
+#define MBOX_TX_QUEUE_LEN  40
 
 /**
  * struct mbox_chan - s/w representation of a communication chan
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11811): 
https://lists.yoctoproject.org/g/linux-yocto/message/11811
Mute This Topic: https://lists.yoctoproject.org/mt/94554595/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] license manifest files effectively disappear when do_rootfs is not rerun

2022-10-25 Thread Christian Thießen via lists . yoctoproject . org
Sorry for first posting to the wrong board, beginner's mistake.
For reference, discussion has moved to 
https://lists.openembedded.org/g/openembedded-core/topic/94530086 and led to a 
bug report at https://bugzilla.yoctoproject.org/show_bug.cgi?id=14946 .

Christian

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58413): https://lists.yoctoproject.org/g/yocto/message/58413
Mute This Topic: https://lists.yoctoproject.org/mt/94475516/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] How to enabled systemd unit files automatically using recipe?

2022-10-25 Thread Sourabh Hegde
Cool. Thanks again

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58412): https://lists.yoctoproject.org/g/yocto/message/58412
Mute This Topic: https://lists.yoctoproject.org/mt/94553177/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] How to enabled systemd unit files automatically using recipe?

2022-10-25 Thread Sergei Nikulov
Yes, sure.
Use space to separate multiple paths
For example:
SYSTEMD_SERVICE:${PN} = "one.service two.service one.path two.path"

On Tue, Oct 25, 2022 at 10:31 AM Sourabh Hegde  wrote:
>
> Hello Sergei,
>
> Thanks for the update.
>
> I have already added "SYSTEMD_SERVICE:${PN}" to my recipe. But, it is set to 
> different file(.service file). Can I add multiple files to it?
> 
>


-- 
Best Regards,
Sergei Nikulov

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58411): https://lists.yoctoproject.org/g/yocto/message/58411
Mute This Topic: https://lists.yoctoproject.org/mt/94553177/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] How to enabled systemd unit files automatically using recipe?

2022-10-25 Thread Sourabh Hegde
Hello Sergei,

Thanks for the update.

I have already added " SYSTEMD_SERVICE:${PN}" to my recipe. But, it is set to 
different file(.service file). Can I add multiple files to it?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58410): https://lists.yoctoproject.org/g/yocto/message/58410
Mute This Topic: https://lists.yoctoproject.org/mt/94553177/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [meta-zephyr][PATCH 1/2] zephyr-kernel-src: add support for v3.2.0

2022-10-25 Thread Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.2.0

Signed-off-by: Naveen Saini 
---
 .../zephyr-kernel/zephyr-kernel-src-3.2.0.inc | 239 ++
 .../zephyr-kernel/zephyr-kernel-src.inc   |   2 +-
 2 files changed, 240 insertions(+), 1 deletion(-)
 create mode 100644 
meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc

diff --git 
a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc 
b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc
new file mode 100644
index 000..5d8ddfa
--- /dev/null
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-3.2.0.inc
@@ -0,0 +1,239 @@
+# Auto-generated from zephyr-kernel-src.inc.jinja
+
+SRCREV_FORMAT = "default"
+
+SRCREV_default = "4b58ae97f30338dd343f110fef068b21b94b6555"
+SRCREV_canopennode = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724"
+SRCREV_chre = "ef76d3456db07e4959df555047d6962279528c8d"
+SRCREV_cmsis = "093de61c2a7d12dc9253daf8692f61f793a9254a"
+SRCREV_edtt = "1ea61a390d2bfcf3b2ecdba8f8b0b98dfdffbd11"
+SRCREV_fatfs = "a30531af3a95a9a3ea7d771ea8a578ebfed45514"
+SRCREV_fff = "6ce5ba26486e93d5b7696a3e23f0585932c14b16"
+SRCREV_hal_altera = "0d225ddd314379b32355a00fb669eacf911e750d"
+SRCREV_hal_atmel = "1d237f2e2f262751975b6da6e03af569b2b49b2b"
+SRCREV_hal_espressif = "2cb20ac6c5b25f3c91b35e7997451db47030b7cb"
+SRCREV_hal_gigadevice = "dd0e0322474462b58059e6fedaf1d67d2a0864d0"
+SRCREV_hal_infineon = "4af06965f57ba1e7d170e6a97d24c33785543a8c"
+SRCREV_hal_microchip = "5d079f1683a00b801373f5d181d4e33b30d5"
+SRCREV_hal_nordic = "249199ec5a5c31d170659921048764e96d05cc0e"
+SRCREV_hal_nuvoton = "b4d31f33238713a568e23618845702fadd67386f"
+SRCREV_hal_nxp = "708c95825b0d5279620935a1356299fff5dfbc6e"
+SRCREV_hal_openisa = "40d049f69c50b58ea20473bee14cf93f518bf262"
+SRCREV_hal_quicklogic = "b3a66fe6d04d87fd1533a5c8de51d0599fcd08d0"
+SRCREV_hal_renesas = "468d3f2146d18c7f86a4640fc641cc1d20a4a100"
+SRCREV_hal_rpi_pico = "a094c060e0c2d43c7f9d8f5c06cc0665117e0c18"
+SRCREV_hal_silabs = "1ec8dd99aa4ac3e8632d2aa28a7438049bb27102"
+SRCREV_hal_st = "cccbc24c14decfd3f93959f7b14514536af973c7"
+SRCREV_hal_stm32 = "642e199c59828137dc6b1c7044a289d4269886d1"
+SRCREV_hal_telink = "38573af589173259801ae6c2b34b7d4c9e626746"
+SRCREV_hal_ti = "000b944a788b6005d7776198e1348f5c8a657259"
+SRCREV_hal_wurthelektronik = "24ca9873c3d608fad1fea0431836bc8f144c132e"
+SRCREV_hal_xtensa = "63f655362423aa49507da7977a2d37142e8debeb"
+SRCREV_libmetal = "2f586b4f1276fb075ee145421bdf6cbe5403aa41"
+SRCREV_liblc3 = "448f3de31f49a838988a162ef1e23a89ddf2d2ed"
+SRCREV_littlefs = "ca583fd297ceb48bced3c2548600dc615d67af24"
+SRCREV_loramac-node = "ce57712f3e42613acaec97b45369f716f43a"
+SRCREV_lvgl = "af95bdfcf6784edd958ea08139c713e2d3dee7af"
+SRCREV_lz4 = "8e303c264fc21c2116dc612658003a22e933124d"
+SRCREV_mbedtls = "7fed49c9b9f983ad6416986661ef637459723bcb"
+SRCREV_mcuboot = "13f63976bca672ee018f9d55f1e31f02f4135b64"
+SRCREV_mipi-sys-t = "0d521d8055f3b2b4842f728b0365d3f0ece9c37f"
+SRCREV_nanopb = "dc4deed54fd4c7e1935e3b6387eedf21bb45dc38"
+SRCREV_net-tools = "e0828aa9629b533644dc96ff6d1295c939bd713c"
+SRCREV_nrf_hw_models = "65bc5305d432c08e24a3f343006d1e7deaff4908"
+SRCREV_open-amp = "8d53544871e1f300c478224faca6be8384ab0d04"
+SRCREV_openthread = "b21e99b4b3d823f71c902b9174ff62b964c124f0"
+SRCREV_picolibc = "04ada5951cbaf8e7b17f8226ce31cb6837c28ba7"
+SRCREV_segger = "d4e568a920b4bd087886170a5624c167b2d0665e"
+SRCREV_sof = "fed466c264ad078c66f7bff9218ba1d3fa0eb201"
+SRCREV_tflite-micro = "9156d050927012da87079064db59d07f03b8baf6"
+SRCREV_tinycbor = "9e1f34bc08123aaad7666d3652aaa839e8178b3b"
+SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0"
+SRCREV_TraceRecorderSource = "9893bf1cf649a2c4ee2e27293f887994f3d0da5b"
+SRCREV_trusted-firmware-m = "231235f26f5295ac4faf8c5617dbb9779869d821"
+SRCREV_trusted-firmware-a = "d29cddecde614d81cbec1fb0086cdaebd77d3575"
+SRCREV_tf-m-tests = "c99a86b295c4887520da9d8402566d7f225c974e"
+SRCREV_psa-arch-tests = "f4fc2442b8e29e2a03d9899e46e5a3ea3df8c2c9"
+SRCREV_uoscore-uedhoc = "e8920192b66db4f909eb9cd3f155d5245c1ae825"
+SRCREV_zcbor = "a0d6981f14d4001d6f0d608d1a427f9bc6bb6d02"
+SRCREV_zscilib = "ca070ddabdaf67175a2da901d0bd62e8899371c5"
+
+SRC_URI_ZEPHYR ?= 
"git://github.com/zephyrproject-rtos/zephyr.git;protocol=https"
+SRC_URI_CANOPENNODE ?= 
"git://github.com/zephyrproject-rtos/canopennode;protocol=https"
+SRC_URI_CHRE ?= "git://github.com/zephyrproject-rtos/chre;protocol=https"
+SRC_URI_CMSIS ?= "git://github.com/zephyrproject-rtos/cmsis;protocol=https"
+SRC_URI_EDTT ?= "git://github.com/zephyrproject-rtos/edtt;protocol=https"
+SRC_URI_FATFS ?= "git://github.com/zephyrproject-rtos/fatfs;protocol=https"
+SRC_URI_FFF ?= "git://github.com/zephyrproject-rtos/fff;protocol=https"
+SRC_URI_HAL_ALTERA ?= 
"git://github.com/zephyrproject-rtos/hal_altera;protocol=https"
+SRC_URI_HAL_ATMEL ?= 
"git://github.com/zephyrproject-rtos/hal_atmel;protocol=https"

[yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src: drop support for v2.7.3

2022-10-25 Thread Naveen Saini
Support for zephyr v3.2.0 is already being added. So time to drop it.

Signed-off-by: Naveen Saini 
---
 .../0001-2.7-cmake-add-yocto-toolchain.patch  |  63 --
 ...ry-generation-issue-in-cross-compila.patch |  80 ---
 .../zephyr-kernel/files/dtc.patch |  43 
 .../zephyr-kernel/zephyr-kernel-src-2.7.3.inc | 196 --
 4 files changed, 382 deletions(-)
 delete mode 100644 
meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch
 delete mode 100644 
meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch
 delete mode 100644 
meta-zephyr-core/recipes-kernel/zephyr-kernel/files/dtc.patch
 delete mode 100644 
meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.7.3.inc

diff --git 
a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch
 
b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch
deleted file mode 100644
index 563af7d..000
--- 
a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-cmake-add-yocto-toolchain.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From bfab268c870548e3e7a24ea67ebed2a0513b2307 Mon Sep 17 00:00:00 2001
-From: Naveen Saini 
-Date: Wed, 7 Jul 2021 13:53:05 +0800
-Subject: [PATCH] cmake: add yocto toolchain
-
-Upstream status: inappropriate [OE specific]
-
-Signed-off-by: Naveen Saini 

- cmake/compiler/gcc/target.cmake |  7 ---
- cmake/toolchain/yocto/generic.cmake | 13 +
- cmake/toolchain/yocto/target.cmake  |  1 +
- 3 files changed, 14 insertions(+), 7 deletions(-)
- create mode 100644 cmake/toolchain/yocto/generic.cmake
- create mode 100644 cmake/toolchain/yocto/target.cmake
-
-diff --git a/cmake/compiler/gcc/target.cmake b/cmake/compiler/gcc/target.cmake
-index 2b90c5d2ef..b6f28b2f87 100644
 a/cmake/compiler/gcc/target.cmake
-+++ b/cmake/compiler/gcc/target.cmake
-@@ -68,13 +68,6 @@ execute_process(
-   OUTPUT_STRIP_TRAILING_WHITESPACE
-   )
- 
--assert_exists(LIBGCC_FILE_NAME)
--
--get_filename_component(LIBGCC_DIR ${LIBGCC_FILE_NAME} DIRECTORY)
--
--assert_exists(LIBGCC_DIR)
--
--LIST(APPEND LIB_INCLUDE_DIR "-L\"${LIBGCC_DIR}\"")
- LIST(APPEND TOOLCHAIN_LIBS gcc)
- 
- if(SYSROOT_DIR)
-diff --git a/cmake/toolchain/yocto/generic.cmake 
b/cmake/toolchain/yocto/generic.cmake
-new file mode 100644
-index 00..45e5777e2a
 /dev/null
-+++ b/cmake/toolchain/yocto/generic.cmake
-@@ -0,0 +1,13 @@
-+set(COMPILER gcc)
-+set(LINKER ld)
-+set(BINTOOLS gnu)
-+
-+set(ZEPHYR_SYSROOT ${ZEPHYR_SYSROOT})
-+set(SYSROOT_DIR ${ZEPHYR_SYSROOT})
-+set(LIBC_LIBRARY_DIR "\"${SYSROOT_DIR}\"/")
-+set(LIBC_INCLUDE_DIR ${SYSROOT_DIR}/include)
-+LIST(APPEND TOOLCHAIN_LIBS gcc)
-+
-+LIST(APPEND LIB_INCLUDE_DIR "-L\"${STAGING_LIBDIR}\"")
-+
-+set(TOOLCHAIN_LIBS gcc)
-diff --git a/cmake/toolchain/yocto/target.cmake 
b/cmake/toolchain/yocto/target.cmake
-new file mode 100644
-index 00..9881313609
 /dev/null
-+++ b/cmake/toolchain/yocto/target.cmake
-@@ -0,0 +1 @@
-+# SPDX-License-Identifier: Apache-2.0
--- 
-2.17.1
-
diff --git 
a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch
 
b/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch
deleted file mode 100644
index fd6fc6b..000
--- 
a/meta-zephyr-core/recipes-kernel/zephyr-kernel/files/0001-2.7-x86-fix-efi-binary-generation-issue-in-cross-compila.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From cfde3b1018c3151b6cc1fbe3e9e163d0aaf16954 Mon Sep 17 00:00:00 2001
-From: Naveen Saini 
-Date: Tue, 11 May 2021 13:46:39 +0800
-Subject: [PATCH] x86: fix efi binary generation issue in cross compilation env
-
-Set root directory for headers.
-
-Upstream-Status: Inappropriate [Cross-compilation specific]
-
-Signed-off-by: Naveen Saini 

- arch/x86/zefi/zefi.py| 6 +-
- boards/x86/ehl_crb/CMakeLists.txt| 1 +
- boards/x86/qemu_x86/CMakeLists.txt   | 1 +
- boards/x86/up_squared/CMakeLists.txt | 1 +
- 4 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/arch/x86/zefi/zefi.py b/arch/x86/zefi/zefi.py
-index d3514391a8..b9eccbfa10 100755
 a/arch/x86/zefi/zefi.py
-+++ b/arch/x86/zefi/zefi.py
-@@ -106,7 +106,10 @@ def build_elf(elf_file):
- #  + We need pic to enforce that the linker adds no relocations
- #  + UEFI can take interrupts on our stack, so no red zone
- #  + UEFI API assumes 16-bit wchar_t
--cmd = [args.compiler, "-shared", "-Wall", "-Werror", "-I.",
-+
-+#  Pass --sysroot path for cross compilation
-+sysrootarg = "--sysroot=" + args.sysroot
-+cmd = [args.compiler, "-shared", "-Wall", "-Werror", "-I.", sysrootarg,
- "-fno-stack-protector", "-fpic", "-mno-red-zone", "-fshort-wchar",
- "-Wl,-nostdlib", "-T", ldscript, "-o", "zefi.elf", cfile]
- verbose(" ".join(cmd))
-@@ 

Re: [yocto] How to enabled systemd unit files automatically using recipe?

2022-10-25 Thread Sergei Nikulov
On Tue, Oct 25, 2022 at 9:29 AM Sourabh Hegde  wrote:
>
> Hello,
>
> This might not be directly related to Yocto.
>
> I have a systemd .path unit file that restarts the system service if the file 
> changes. But, the path ubit file needs to be enabled once to make this work. 
> So, my question is when I flash new image on the device will the path unit 
> file enabled automatically by systemctl? Or should I do this manually using 
> "systemctl enable --now *.path" ? Is there any way to make this work using 
> Yocto recipe?
>
> The custome systemd service files are installed in dir 
> "${D}${systemd_unitdir}/system/".
>
> Thanks in advance
> 
>

You should add you file to your bb recipe SYSTEMD_SERVICE:${PN} = "file.path"

https://docs.yoctoproject.org/current/ref-manual/classes.html?highlight=systemd_service

-- 
Best Regards,
Sergei Nikulov

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58407): https://lists.yoctoproject.org/g/yocto/message/58407
Mute This Topic: https://lists.yoctoproject.org/mt/94553177/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] How to enabled systemd unit files automatically using recipe?

2022-10-25 Thread Sourabh Hegde
Hello,

This might not be directly related to Yocto.

I have a systemd .path unit file that restarts the system service if the file 
changes. But, the path ubit file needs to be enabled once to make this work. 
So, my question is when I flash new image on the device will the path unit file 
enabled automatically by systemctl? Or should I do this manually using 
"systemctl enable --now *.path" ? Is there any way to make this work using 
Yocto recipe?

The custome systemd service files are installed in dir 
"${D}${systemd_unitdir}/system/".

Thanks in advance

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58406): https://lists.yoctoproject.org/g/yocto/message/58406
Mute This Topic: https://lists.yoctoproject.org/mt/94553177/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-