[yocto] [yocto-autobuilder2][PATCH] schedulers: use proper bitbake repo and branch for abelloni-next

2024-01-08 Thread Alexandre Belloni via lists.yoctoproject.org
From: Alexandre Belloni 

Signed-off-by: Alexandre Belloni 
---
 schedulers.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/schedulers.py b/schedulers.py
index 5c2ba5e1b8bd..c14b7678b5fd 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -45,6 +45,8 @@ branchdefaults = {
 'branch_poky': 'abelloni/master-next',
 'repo_oecore': 
'ssh://g...@push.openembedded.org/openembedded-core-contrib',
 'branch_oecore': 'abelloni/master-next',
+'repo_bitbake': 'ssh://g...@push.openembedded.org/bitbake-contrib',
+'branch_bitbake': 'abelloni/master-next',
 },
 'mut': {
 'branch': 'master',
-- 
2.43.0


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



Re: [yocto] Problem with overlayed recipes

2024-01-08 Thread Marco Cavallini
Hi Daniele,
maybe you forgot to add your layer *meta-mytest* to *bblayers.conf* ?

Ciao
--
Marco Cavallini | KOAN sas
Bergamo - Italia
embedded software engineering
✆:+39 351-9518710
https://KoanSoftware.com

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



[linux-yocto][linux-yocto v6.1] kernel code for for marvell octeon

2024-01-08 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Please help to merge following PR into our linux-yocto repo.

repo:
linux-yocto
branch:
v6.1/standard/cn-sdkv5.15/octeon

Thanks,
Ruiqiang

The following changes since commit 85675a982b45af594a8b7066ec345d9ce9253b3a:

  Merge branch 'v6.1/standard/base' into v6.1/standard/cn-sdkv5.15/octeon 
(2024-01-03 15:53:12 -0500)

are available in the Git repository at:

  g...@github.com:cythe/linux.git linux-yocto/v6.1/standard/cn-sdkv5.15/octeon

for you to fetch changes up to 341bc92efd79b66c100f15002982b0d14bb9c28f:

  Revert "mmc: revert emmc timing changes" (2024-01-09 09:57:57 +0800)


Amit Prakash Shukla (1):
  octeontx2-dpi: configure dma engine FIFO

Amit Singh Tomar (2):
  arm_mpam: make an explicit of_node_get call
  arm_mpam: Fix lock related warnings

Anagha K J (1):
  net: mvpp2: fix mvpp2 IRQ affinity issue

Anshumali Gaur (1):
  net: thunderx: update dmac filter when user changes mac addr

Bharat Bhushan (1):
  drivers: watchdog: marvell_gti: fix zero pretimeout handling

Chandrakala Chavva (1):
  driver: edac: octeontx: Improvements to GIC RAS handler

Geetha sowjanya (3):
  octeontx2-pf: TC flower offload support for ICMP type and code
  octeontx2-pf: Add support for offload tc with skbedit mark action
  octeontx2-af: Dump hw register state on error

George Cherian (2):
  genirq: Increase the number of interrupters
  amba: Honour the CPU association while adding a new device

Hariprasad Kelam (6):
  octeontx2-pf: Tc flower offload support for MPLS
  octeontx2-pf: ethtool: Remove dependency of phyad
  octeontx-pf: Update SGMII mode mapping
  octeontx2-pf: ethtool: support multi advertise mode
  octeontx2-af: Enable loading more KPU profiles
  octeontx2-af: Fix pause frame configuration

Harman Kalra (1):
  octeontx2: fix race condition between up and down mbox

Harshal Chaudhari (1):
  dt-bindings: cn9130: Add r1p3 C dts config documents

Jayanthi Annadurai (1):
  edac: octeontx: Add support for GIC RAS reporting

Jenishkumar Patel (4):
  net: mvpp2: resolved ioctl issue when initialising mvpp2 driver
  net: mvpp2: resolved Segmentation fault when running DPDK
  net: mvpp2: corrected BM pool size
  net: mvpp2: fix ethernet issue caused after stopping DPDK app

Linu Cherian (1):
  coresight: etm4x: Rework OcteonTx2 quirk

Muhammad Asim Zahid (1):
  resctrl: fix NULL pointer dereference

Naveen Mamindlapalli (3):
  octeontx2-bphy-netdev: Fix PTP PHC sw timecounter reset ioctl
  Revert "octeontx-bphy-netdev: enable mbt full drop enable"
  octeontx2-af: Always configure NIX TX link credits based on max frame size

Paul Way (4):
  mmc: added delay_element calculation from dll lock
  mmc: change read dqs cmd and read dqs values
  MMC: fix the init_timings lookup.
  Revert "mmc: revert emmc timing changes"

Pavan Nikhilesh (7):
  octeontx2-af: add mbox to capture counters
  octeontx2-dpi: fix incorrect chunk size config
  octeontx2-af: prevent TIM register read reorder
  octeontx2-af: account for cycle wraparound
  octeontx2-af: disable preemption when enabling TIM
  octeontx2-af: clear state on TIM ring disable
  octeontx2-af: add TIM error af interrupt handlers

Petr Malat (1):
  coresight: Add panic notifier cleanup

Piyush Malgujar (3):
  driver: mmc: sdhci: Add ACPI check
  driver: mmc: sdhci-cadence: ACPI support added for eMMC driver for CN10K
  soc: marvell: otx2: Add Kconfig option for otx2-ghes-init file.

Ratheesh Kannoth (11):
  net: flow_dissector: Use 64bits for used_keys
  net: flow_dissector: Add IPSEC dissector
  tc: flower: support for SPI
  tc: flower: Enable offload support for SPI field.
  octeontx2-pf: TC flower offload for SPI field
  octeontx2-af: Harden offlod rule validation
  octeontx2-pf: fix page_pool creation fail for rings > 32k
  octeontx2-pf: Fix page pool cache index corruption.
  octeontx2-pf: Fix page pool frag allocation failure.
  octeontx2-af: Added missed code while back porting.
  octeontx2-af: Fix printing of SPI field

Ruiqiang Hao (3):
  octeontx2: pf: fix the buffer size of sending queues
  octeontx2: nic: remove function otx2_qos_sq_setup()
  octeontx2: nic: drop the duplicate invoking

Sai Krishna (5):
  Revert "octeontx2-pf: Use HW PTP timestamp atomic update to avoid SW 
timecounter."
  octeontx2-pf: Use PTP HW timestamp counter atomic update feature
  octeontx2-vf: Fix VF mbox up message error on PTP RX enable
  octeontx2-bphy-netdev: Add SW workaround for Zero padding
  octeontx2-pf: Add TC flower offload support for TCP flags

Satha Rao (1):
  octeontx2-dpi: extend sysfs to dump DPI PF registers

Simon Horman (1):
  octeontx2-af: update type of prof fields in nix_aw_enq_req

Srujana Challa 

[linux-yocto][linux-yocto v6.1] kernel code for for marvell octeon[RT]

2024-01-08 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Please help to merge following PR into our linux-yocto repo.

repo:
linux-yocto
branch:
v6.1/standard/preempt-rt/cn-sdkv5.15/octeon

Thanks,
Ruiqiang

The following changes since commit 85dcdbd7ee65c485f5d8f5607e47f5e1e1085439:

  Merge branch 'v6.1/standard/base' into 
v6.1/standard/preempt-rt/cn-sdkv5.15/octeon (2024-01-03 15:54:12 -0500)

are available in the Git repository at:

  g...@github.com:cythe/linux.git 
linux-yocto/v6.1/standard/preempt-rt/cn-sdkv5.15/octeon

for you to fetch changes up to c4fde4e1c1093a1a8af6aaad295d1068c259cb3f:

  Revert "mmc: revert emmc timing changes" (2024-01-09 10:04:35 +0800)


Amit Prakash Shukla (1):
  octeontx2-dpi: configure dma engine FIFO

Amit Singh Tomar (2):
  arm_mpam: make an explicit of_node_get call
  arm_mpam: Fix lock related warnings

Anagha K J (1):
  net: mvpp2: fix mvpp2 IRQ affinity issue

Anshumali Gaur (1):
  net: thunderx: update dmac filter when user changes mac addr

Bharat Bhushan (1):
  drivers: watchdog: marvell_gti: fix zero pretimeout handling

Chandrakala Chavva (1):
  driver: edac: octeontx: Improvements to GIC RAS handler

Geetha sowjanya (3):
  octeontx2-pf: TC flower offload support for ICMP type and code
  octeontx2-pf: Add support for offload tc with skbedit mark action
  octeontx2-af: Dump hw register state on error

George Cherian (2):
  genirq: Increase the number of interrupters
  amba: Honour the CPU association while adding a new device

Hariprasad Kelam (6):
  octeontx2-pf: Tc flower offload support for MPLS
  octeontx2-pf: ethtool: Remove dependency of phyad
  octeontx-pf: Update SGMII mode mapping
  octeontx2-pf: ethtool: support multi advertise mode
  octeontx2-af: Enable loading more KPU profiles
  octeontx2-af: Fix pause frame configuration

Harman Kalra (1):
  octeontx2: fix race condition between up and down mbox

Harshal Chaudhari (1):
  dt-bindings: cn9130: Add r1p3 C dts config documents

Jayanthi Annadurai (1):
  edac: octeontx: Add support for GIC RAS reporting

Jenishkumar Patel (4):
  net: mvpp2: resolved ioctl issue when initialising mvpp2 driver
  net: mvpp2: resolved Segmentation fault when running DPDK
  net: mvpp2: corrected BM pool size
  net: mvpp2: fix ethernet issue caused after stopping DPDK app

Linu Cherian (1):
  coresight: etm4x: Rework OcteonTx2 quirk

Muhammad Asim Zahid (1):
  resctrl: fix NULL pointer dereference

Naveen Mamindlapalli (3):
  octeontx2-bphy-netdev: Fix PTP PHC sw timecounter reset ioctl
  Revert "octeontx-bphy-netdev: enable mbt full drop enable"
  octeontx2-af: Always configure NIX TX link credits based on max frame size

Paul Way (4):
  mmc: added delay_element calculation from dll lock
  mmc: change read dqs cmd and read dqs values
  MMC: fix the init_timings lookup.
  Revert "mmc: revert emmc timing changes"

Pavan Nikhilesh (7):
  octeontx2-af: add mbox to capture counters
  octeontx2-dpi: fix incorrect chunk size config
  octeontx2-af: prevent TIM register read reorder
  octeontx2-af: account for cycle wraparound
  octeontx2-af: disable preemption when enabling TIM
  octeontx2-af: clear state on TIM ring disable
  octeontx2-af: add TIM error af interrupt handlers

Petr Malat (1):
  coresight: Add panic notifier cleanup

Piyush Malgujar (3):
  driver: mmc: sdhci: Add ACPI check
  driver: mmc: sdhci-cadence: ACPI support added for eMMC driver for CN10K
  soc: marvell: otx2: Add Kconfig option for otx2-ghes-init file.

Ratheesh Kannoth (11):
  net: flow_dissector: Use 64bits for used_keys
  net: flow_dissector: Add IPSEC dissector
  tc: flower: support for SPI
  tc: flower: Enable offload support for SPI field.
  octeontx2-pf: TC flower offload for SPI field
  octeontx2-af: Harden offlod rule validation
  octeontx2-pf: fix page_pool creation fail for rings > 32k
  octeontx2-pf: Fix page pool cache index corruption.
  octeontx2-pf: Fix page pool frag allocation failure.
  octeontx2-af: Added missed code while back porting.
  octeontx2-af: Fix printing of SPI field

Ruiqiang Hao (3):
  octeontx2: pf: fix the buffer size of sending queues
  octeontx2: nic: remove function otx2_qos_sq_setup()
  octeontx2: nic: drop the duplicate invoking

Sai Krishna (5):
  Revert "octeontx2-pf: Use HW PTP timestamp atomic update to avoid SW 
timecounter."
  octeontx2-pf: Use PTP HW timestamp counter atomic update feature
  octeontx2-vf: Fix VF mbox up message error on PTP RX enable
  octeontx2-bphy-netdev: Add SW workaround for Zero padding
  octeontx2-pf: Add TC flower offload support for TCP flags

Satha Rao (1):
  octeontx2-dpi: extend sysfs to dump DPI PF registers

Simon Horman (1):
  octeontx2-af: update type of prof fields in 

[yocto] M+ & H bugs with Milestone Movements WW01

2024-01-08 Thread Stephen Jolley
All,

YP M+ or high bugs which moved to a new milestone in WW01 are listed below:
Priority Bug ID Short Description Changer Owner Was Became
High 15334  opkg-utils
0.6.3 upgrade causes different GID values in ipk and image
randy.macl...@windriver.com p.lob...@welotec.com 0.0.0 5.0 M2
Medium+ 14921  devtool
failure: No such file or directory: '/tmp/devtoolqambdi_6eh/singletask.lock'
randy.macl...@windriver.com richard.pur...@linuxfoundation.org 5.0 M1 5.0 M2
15079  AB-INT
PTEST: strace count ptest failure randy.macl...@windriver.com
randy.macl...@windriver.com 5.0 M1 5.0 M2
15080  AB-INT
PTEST: strace regex.gen ptest failure randy.macl...@windriver.com
randy.macl...@windriver.com 5.0 M1 5.0 M2
15101  AB-INT:
dnf.DnfRepoTest.test_dnf_reinstall failure randy.macl...@windriver.com
pa...@zhukoff.net 5.0 M1 5.0 M2
15225  AB-INT
PTEST: openssl 80-test_ssl_new.t ptest failure randy.macl...@windriver.com
william@windriver.com 5.0 M1 5.0 M2
15289  AB-INT:
sstatetests.SStatePrintdiff.test_gcc_runtime_vs_gcc_source failure
randy.macl...@windriver.com alex.kana...@gmail.com 5.0 M1 5.0 M2
15333 
bitbake/lib/hashserv/sqlite.py:294:
DeprecationWarning: The default datetime adapter is deprecated as of Python
3.12 randy.macl...@windriver.com jpewhac...@gmail.com 0.0.0 5.0 M2

Thanks,



*Stephen K. Jolley*

*Yocto Project Program Manager*

(*Cell*:(208) 244-4460

* *Email*: *s
jolley.yp...@gmail.com *

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



[yocto] Enhancements/Bugs closed WW01!

2024-01-08 Thread Stephen Jolley
All,

The below were the owners of enhancements or bugs closed during the last
week!
Who Count
tim.orl...@konsulko.com 3
richard.pur...@linuxfoundation.org 3
sundeep.kokko...@windriver.com 1
randy.macl...@windriver.com 1
bruce.ashfi...@gmail.com 1
alexandre.bell...@bootlin.com 1
Grand Total 10

Thanks,



*Stephen K. Jolley*

*Yocto Project Program Manager*

(*Cell*:(208) 244-4460

* *Email*: *s
jolley.yp...@gmail.com *

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



[yocto] Current high bug count owners for Yocto Project 5.0

2024-01-08 Thread Stephen Jolley
All,

Below is the list of top 31 bug owners as of the end of WW01 who have open
medium or higher bugs and enhancements against YP 5.0. There are 78
possible work days left until the final release candidates for YP 5.0 needs
to be released.
Who Count
michael.opdenac...@bootlin.com 35
ross.bur...@arm.com 30
randy.macl...@windriver.com 26
bruce.ashfi...@gmail.com 25
richard.pur...@linuxfoundation.org 24
david.re...@windriver.com 15
jpewhac...@gmail.com 11
pa...@zhukoff.net 9
yoann.con...@smile.fr 6
tim.orl...@konsulko.com 6
pi...@pidge.org 5
yash.shi...@windriver.com 3
sakib.sa...@windriver.com 3
p.lob...@welotec.com 2
kexin@windriver.com 2
jon.ma...@arm.com 2
dl...@gmx.de 2
alexis.loth...@bootlin.com 2
alexandre.bell...@bootlin.com 2
tvgamb...@gmail.com 1
thr...@amazon.de 1
thomas.per...@bootlin.com 1
sundeep.kokko...@windriver.com 1
st...@sakoman.com 1
s...@bigsur.com 1
rybczyn...@gmail.com 1
rpj...@crashcourse.ca 1
mark.asselst...@windriver.com 1
louis.ran...@syslinbit.com 1
jens.ge...@desy.de 1
fathi.bou...@linaro.org 1
Grand Total 222

Thanks,



*Stephen K. Jolley*

*Yocto Project Program Manager*

(*Cell*:(208) 244-4460

* *Email*: *s
jolley.yp...@gmail.com *

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



[yocto] Problem with overlayed recipes

2024-01-08 Thread Daniele Lugli
Hi all,

I am trying to to generate an image with PREEMPT_RT kernel for an 
intel-corei7-64 target machine.
I see that the meta-intel layer already has a couple of recipes for that in 
recipes-rt/images/core-image-rt.bb and core-image-rt-sdk.bb, so I add this 
layer.
I choose core-image-rt-sdk.bb since I would like to have the development tools 
too.
In my local.conf I set
PREFERRED_PROVIDER_virtual/kernel = "linux-intel-rt"
as requested by meta-intel/recipes-rt/images/core-image-rt-sdk.bb, and also
MACHINE ?= "intel-corei7-64"
After several hours of bitbake core-image-rt-sdk , I get a 
core-image-rt-sdk-intel-corei7-64.rootfs.wic with which I can boot my machine, 
where uname .-r says 6-1-59-rt16-intel-pk-preempt-rt.
Everything looks fine up to here.

Now I am trying to add a new layer of mine, where I will put some stuff I need 
on the target machine. For the moment, I only have a "hello world" program 
there, just to check.
So I have meta-mytest/conf/layer.conf with:

BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "mytest"
BBFILE_PATTERN_mytest = "^${LAYERDIR}/"
BBFILE_PRIORITY_mytest = "6"
LAYERDEPENDS_mytest = "intel"
LAYERSERIES_COMPAT_mytest = "nanbield"

and meta-mytest/recipes-mytest/images/mytest-image.bb with:

require recipes-rt/images/core-image-rt-sdk.bb
DESCRIPTION="Just a test"
IMAGE_INSTALL += "simple-local"

where simple-local is the hello world program, having its own recipe.

When I try bitbake mytest-image I get

ERROR: Nothing PROVIDES 'mytest-image'
mytest-image was skipped: Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it

If I understand, the problem is that there are two overlayed recipes, 
poky/meta/recipes-rt/images/core-image-rt-sdk.bb and 
meta-intel/recipes-rt/images/core-image-rt-sdk.bb , and bitbake is giving 
preference to the first one, requiring linux-yocto-rt as the PREFERRED_PROVIDER 
(the second one requires linux-intel-rt instead)

I also changed the priority of the meta-intel layer from 5 to 6, but to no 
effect.

Could somebody be so kind as to tell me what am I missing here?

Thank you in advance and best regards

--
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
Italy
tel +39 329 3933041
www.general-logic.com ( http://www.general-logic.com/ )
www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lugli )

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



[yocto] [RFC PATCH v2 2/3] add nodejs-18 from mickledore

2024-01-08 Thread António Oliveira
Signed-off-by: António Oliveira 
---
 .../nodejs/nodejs-oe-cache-18.18/oe-npm-cache |  77 
 .../nodejs/nodejs-oe-cache-native_18.18.bb|  21 ++
 ...e-running-gyp-files-for-bundled-deps.patch |  51 +
 .../nodejs/0001-Using-native-binaries.patch   |  77 
 ...-liftoff-Correct-function-signatures.patch |  85 
 ...Use-32bit-cast-for-operand-on-mips32.patch |  34 
 ...4-Do-not-use-mminimal-toc-with-clang.patch |  23 +++
 .../0004-v8-don-t-override-ARM-CFLAGS.patch   | 102 ++
 .../nodejs/nodejs/big-endian.patch|  18 ++
 .../nodejs/nodejs/libatomic.patch |  21 ++
 .../nodejs/nodejs/mips-less-memory.patch  |  37 
 recipes-devtools/nodejs/nodejs/run-ptest  |   3 +
 .../nodejs/nodejs/system-c-ares.patch |  24 +++
 recipes-devtools/nodejs/nodejs_18.18.2.bb | 185 ++
 14 files changed, 758 insertions(+)
 create mode 100755 recipes-devtools/nodejs/nodejs-oe-cache-18.18/oe-npm-cache
 create mode 100644 recipes-devtools/nodejs/nodejs-oe-cache-native_18.18.bb
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-mips-Use-32bit-cast-for-operand-on-mips32.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/big-endian.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/libatomic.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/mips-less-memory.patch
 create mode 100755 recipes-devtools/nodejs/nodejs/run-ptest
 create mode 100644 recipes-devtools/nodejs/nodejs/system-c-ares.patch
 create mode 100644 recipes-devtools/nodejs/nodejs_18.18.2.bb

diff --git a/recipes-devtools/nodejs/nodejs-oe-cache-18.18/oe-npm-cache 
b/recipes-devtools/nodejs/nodejs-oe-cache-18.18/oe-npm-cache
new file mode 100755
index 000..f596207
--- /dev/null
+++ b/recipes-devtools/nodejs/nodejs-oe-cache-18.18/oe-npm-cache
@@ -0,0 +1,77 @@
+#!/usr/bin/env node
+
+/// Usage: oe-npm-cache
+/// ... meta - metainformation about package
+///   tgz  - tarball
+
+const process = require("node:process");
+
+module.paths.unshift("@@libdir@@/node_modules/npm/node_modules");
+
+const cacache = require('cacache')
+const fs = require('fs')
+
+// argv[0] is 'node', argv[1] is this script
+const cache_dir = process.argv[2]
+const type  = process.argv[3]
+const key   = process.argv[4]
+const file  = process.argv[5]
+
+const data = fs.readFileSync(file)
+
+// metadata content is highly nodejs dependent; when cache entries are not
+// found, place debug statements in 'make-fetch-happen/lib/cache/policy.js'
+// (CachePolicy::satisfies())
+const xlate = {
+'meta': {
+   'key_prefix': 'make-fetch-happen:request-cache:',
+   'metadata': function() {
+   return {
+   time: Date.now(),
+   url:  key,
+   reqHeaders: {
+   'accept': 'application/vnd.npm.install-v1+json; q=1.0, 
application/json; q=0.8, */*',
+   },
+   resHeaders: {
+   "content-type": "application/json",
+   "status": 200,
+   },
+   options: {
+   compress: true,
+   }
+   };
+   },
+},
+
+'tgz': {
+   'key_prefix': 'make-fetch-happen:request-cache:',
+   'metadata': function() {
+   return {
+   time: Date.now(),
+   url:  key,
+   reqHeaders: {
+   'accept': '*/*',
+   },
+   resHeaders: {
+   "content-type": "application/octet-stream",
+   "status": 200,
+   },
+   options: {
+   compress: true,
+   },
+   };
+   },
+},
+};
+
+const info = xlate[type];
+let opts = {}
+
+if (info.metadata) {
+opts['metadata'] = info.metadata();
+}
+
+cacache.put(cache_dir, info.key_prefix + key, data, opts)
+.then(integrity => {
+   console.log(`Saved content of ${key} (${file}).`);
+})
diff --git a/recipes-devtools/nodejs/nodejs-oe-cache-native_18.18.bb 
b/recipes-devtools/nodejs/nodejs-oe-cache-native_18.18.bb
new file mode 100644
index 000..a61dd50
--- /dev/null
+++ b/recipes-devtools/nodejs/nodejs-oe-cache-native_18.18.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "OE helper for manipulating npm cache"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI = "\
+file://oe-npm-cache \
+"
+
+inherit native
+
+B = 

[yocto] [RFC PATCH v2 3/3] add layer configuration for default node

2024-01-08 Thread António Oliveira
* declared dependency on meta-openembedded to meet depends of nodejs
  when built with default settings.
* added selector for default version of nodejs.

Signed-off-by: António Oliveira 
---
 conf/layer.conf | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 19a19b2..7e198c8 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -12,4 +12,10 @@ LAYERSERIES_COMPAT_lts-nodejs-mixin = "kirkstone"
 
 LAYERDEPENDS_lts-nodejs-mixin = " \
 core \
+openembedded-layer \
 "
+
+NODE_VERSION ?= "18%"
+
+PREFERRED_VERSION_nodejs ?= "${NODE_VERSION}"
+PREVERRED_VERSION_nodejs-oe-cache-native ?= "${NODE_VERSION}"
-- 
2.34.1


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



[yocto] [RFC PATCH v2 0/3] lts mixin: kirkstone/nodejs proposal

2024-01-08 Thread António Oliveira
Hi all,

This patch contains my proposal for an mixin layer that adds nodejs v18
to kirkstone.

Kirkstone ships with nodejs-16, whose maintenance window ended in
October 2023 (a).

Kirkstone will be supported until April 2026 and it would be nice to have
some level of support for a maintained version of nodejs during that time
window.

This proposal seeks to address that by adding nodejs-18, which will be
maintained until April 2025.

The recipes for nodejs-18 are taken from Mickledore

The variable NODE_VERSION is set from the layer configuration to select
nodejs-18. It can be overridden in case anyone wants to use any other.

This is my first attempt at sending a patch upstream with git send-email
so any comments or suggestions for improvement are welcome. That's also
the reason why I marked this as an RFC.

Revisions of this proposal:
v1:
  * Initial attempt at this proposal with nodejs-18 and nodejs-20

v2
  * split into smaller commits
  * included José's suggestion of adding the dependency on the
  "openembedded-layer" due to default configuration settings of nodejs.
  * Updating to the latest nodejs-20 recipes forced me to also backport
  icu_74-1 from master. Sadly this broke a build of lvgl and I opted to
  keep nodejs-20 on the backburner for now.


Cheers,
António

António Oliveira (3):
  initial commit: license, readme, conf
  add nodejs-18 from mickledore
  add layer configuration for default node

 COPYING.MIT   |  17 ++
 README|  22 +++
 conf/layer.conf   |  21 ++
 .../nodejs/nodejs-oe-cache-18.18/oe-npm-cache |  77 
 .../nodejs/nodejs-oe-cache-native_18.18.bb|  21 ++
 ...e-running-gyp-files-for-bundled-deps.patch |  51 +
 .../nodejs/0001-Using-native-binaries.patch   |  77 
 ...-liftoff-Correct-function-signatures.patch |  85 
 ...Use-32bit-cast-for-operand-on-mips32.patch |  34 
 ...4-Do-not-use-mminimal-toc-with-clang.patch |  23 +++
 .../0004-v8-don-t-override-ARM-CFLAGS.patch   | 102 ++
 .../nodejs/nodejs/big-endian.patch|  18 ++
 .../nodejs/nodejs/libatomic.patch |  21 ++
 .../nodejs/nodejs/mips-less-memory.patch  |  37 
 recipes-devtools/nodejs/nodejs/run-ptest  |   3 +
 .../nodejs/nodejs/system-c-ares.patch |  24 +++
 recipes-devtools/nodejs/nodejs_18.18.2.bb | 185 ++
 17 files changed, 818 insertions(+)
 create mode 100644 COPYING.MIT
 create mode 100644 README
 create mode 100644 conf/layer.conf
 create mode 100755 recipes-devtools/nodejs/nodejs-oe-cache-18.18/oe-npm-cache
 create mode 100644 recipes-devtools/nodejs/nodejs-oe-cache-native_18.18.bb
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-Using-native-binaries.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-mips-Use-32bit-cast-for-operand-on-mips32.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch
 create mode 100644 
recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/big-endian.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/libatomic.patch
 create mode 100644 recipes-devtools/nodejs/nodejs/mips-less-memory.patch
 create mode 100755 recipes-devtools/nodejs/nodejs/run-ptest
 create mode 100644 recipes-devtools/nodejs/nodejs/system-c-ares.patch
 create mode 100644 recipes-devtools/nodejs/nodejs_18.18.2.bb

-- 
2.34.1


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



[yocto] [RFC PATCH v2 1/3] initial commit: license, readme, conf

2024-01-08 Thread António Oliveira
From: António Oliveira 

Signed-off-by: António Oliveira 
---
 COPYING.MIT | 17 +
 README  | 22 ++
 conf/layer.conf | 15 +++
 3 files changed, 54 insertions(+)
 create mode 100644 COPYING.MIT
 create mode 100644 README
 create mode 100644 conf/layer.conf

diff --git a/COPYING.MIT b/COPYING.MIT
new file mode 100644
index 000..fb950dc
--- /dev/null
+++ b/COPYING.MIT
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy 
+of this software and associated documentation files (the "Software"), to deal 
+in the Software without restriction, including without limitation the rights 
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
+copies of the Software, and to permit persons to whom the Software is 
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in 
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
+THE SOFTWARE.
diff --git a/README b/README
new file mode 100644
index 000..57433de
--- /dev/null
+++ b/README
@@ -0,0 +1,22 @@
+"Mixin" layer for adding latest nodejs-18.x into the Yocto Project LTS.
+
+At the time Kirkstone was released in May 2022, nodejs v16 was the latest
+version and officially it's the only nodejs version supported by Kirkstone.
+Kirkstone will be supported until April 2026 but nodejs-16 is EOL as of October
+2023, making it unsuitable for projects during the lifetimg of Kirkstone.
+
+This mixin layer is meant to address this issue by backporting nodejs-18 and
+nodejs-20 versions from the mickledore and master branches of 
meta-openembedded,
+respectively.
+
+The actual versions of nodejs that are available can be found by inspecting the
+contents of recipes-devtools/nodejs.
+
+Including the layer automatically picks up the latest nodejs version; different
+versions must be set explicitly by adding the following line to your distro
+config or local.conf:
+
+NODE_VERSION = "20%"
+
+Maintainers:
+António Oliveira 
diff --git a/conf/layer.conf b/conf/layer.conf
new file mode 100644
index 000..19a19b2
--- /dev/null
+++ b/conf/layer.conf
@@ -0,0 +1,15 @@
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "lts-nodejs-mixin"
+BBFILE_PATTERN_lts-nodejs-mixin := "^${LAYERDIR}/"
+BBFILE_PRIORITY_lts-nodejs-mixin = "6"
+
+LAYERSERIES_COMPAT_lts-nodejs-mixin = "kirkstone"
+
+LAYERDEPENDS_lts-nodejs-mixin = " \
+core \
+"
-- 
2.34.1


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



[yocto] [yocto-autobuilder2] [PATCH] schedulers: Drop mickledore for meta-oe/layer-checks

2024-01-08 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 schedulers.py | 6 --
 1 file changed, 6 deletions(-)

diff --git a/schedulers.py b/schedulers.py
index 4d7522a9..b8ff44b5 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -487,12 +487,6 @@ 
schedulers.append(sched.Nightly(name='nightly-check-layer-nanbield', properties=
 schedulers.append(sched.Nightly(name='nightly-meta-oe-mirror-nanbield', 
properties=parent_default_props('meta-oe-mirror', 'nanbield'),
   builderNames=['meta-oe-mirror'], dayOfWeek=[3, 7], hour=2, 
minute=0, codebases = {'' : {'branch' : 'nanbield'}}))
 
-# Run check-layer-nightly amd meta-oe-mirror twice a week for mickledore
-schedulers.append(sched.Nightly(name='nightly-check-layer-mickledore', 
properties=parent_default_props('check-layer-nightly', 'mickledore'),
-  builderNames=['check-layer-nightly'], dayOfWeek=[2, 5], 
hour=2, minute=0, codebases = {'' : {'branch' : 'mickledore'}}))
-schedulers.append(sched.Nightly(name='nightly-meta-oe-mirror-mickledore', 
properties=parent_default_props('meta-oe-mirror', 'mickledore'),
-  builderNames=['meta-oe-mirror'], dayOfWeek=[2, 5], hour=2, 
minute=0, codebases = {'' : {'branch' : 'mickledore'}}))
-
 # Run check-layer-nightly and meta-oe-mirror twice a week for kirkstone
 schedulers.append(sched.Nightly(name='nightly-check-layer-kirkstone', 
properties=parent_default_props('check-layer-nightly', 'kirkstone'),
   builderNames=['check-layer-nightly'], dayOfWeek=[0, 3], 
hour=2, minute=0, codebases = {'' : {'branch' : 'kirkstone'}}))
-- 
2.39.2


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