[OE-core][PATCH] maintainers.inc: maintainer for opensbi

2024-05-17 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Signed-off-by: Thomas Perrot 
---
 meta/conf/distro/include/maintainers.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 014cf32e4091..d98cb0f194bc 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -556,7 +556,7 @@ RECIPE_MAINTAINER:pn-npth = "Alexander Kanavin 
"
 RECIPE_MAINTAINER:pn-nss-myhostname = "Anuj Mittal "
 RECIPE_MAINTAINER:pn-numactl = "Richard Purdie 
"
 RECIPE_MAINTAINER:pn-ofono = "Ross Burton "
-RECIPE_MAINTAINER:pn-opensbi = "Unassigned "
+RECIPE_MAINTAINER:pn-opensbi = "Thomas Perrot "
 RECIPE_MAINTAINER:pn-openssh = "Unassigned "
 RECIPE_MAINTAINER:pn-openssl = "Alexander Kanavin "
 RECIPE_MAINTAINER:pn-opkg = "Alex Stewart "
-- 
2.45.0


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



Re: [OE-core][PATCH] opensbi: bump to 1.4

2024-01-22 Thread Thomas Perrot via lists.openembedded.org
Hello Khem,

On Fri, 2024-01-19 at 15:56 -0800, Khem Raj wrote:
> On Fri, Jan 19, 2024 at 2:00 PM Alexandre Belloni
>  wrote:
> > 
> > 
> > On 19/01/2024 19:24:44+, Richard Purdie wrote:
> > > On Fri, 2024-01-19 at 18:48 +0100, Thomas Perrot wrote:
> > > > Hello Richard,
> > > > 
> > > > On Fri, 2024-01-19 at 17:22 +, Richard Purdie wrote:
> > > > > On Wed, 2024-01-17 at 10:47 +0100, Thomas Perrot via
> > > > > lists.openembedded.org wrote:
> > > > > > From: Thomas Perrot 
> > > > > > 
> > > > > > This release has:
> > > > > > - Synopsys DesignWare APB GPIO driver
> > > > > > - Zicntr and Zihpm support
> > > > > > - Console print improvements
> > > > > > - Smepmp support
> > > > > > - Simple FDT based syscon regmap driver
> > > > > > - Syscon based reboot and poweroff driver
> > > > > > - Non-contiguous hpm counters
> > > > > > - Smcntrpmf support
> > > > > > - Full sparse hartid support
> > > > > > - IPI improvements
> > > > > > - RFENCE improvements
> > > > > > - Zkr support
> > > > > > - Andes custom PMU support
> > > > > > Overall, this release mainly adds more ISA extensions,
> > > > > > drivers and
> > > > > > other improvements.
> > > > > > 
> > > > > > https://github.com/riscv-software-src/opensbi/compare/v1.3.1...v1.4
> > > > > > 
> > > > > > Signed-off-by: Thomas Perrot 
> > > > > 
> > > > > This all seems reasonable but why is there a revert below?
> > > > 
> > > > I reverted it otherwise the following link issue occurs:
> > > > 
> > > > "build/tmp-glibc/work/riscv64-oe-linux/opensbi/1.4/recipe-
> > > > sysroot-
> > > > native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-
> > > > linux/gcc/riscv64-oe-linux/13.2.0/ld.bfd:/src/build/tmp-
> > > > glibc/work/riscv64-oe-
> > > > linux/opensbi/1.4/git/build/platform/generic/firmware/fw_dynami
> > > > c.elf.ld
> > > > :54: undefined section `.dynsym' referenced in expression"
> > > 
> > > The commit should at least mention the issue.
> > > 
> > > I'm also not sure that is "Inappropriate", more like "Pending" as
> > > in
> > > needs further investigation.
> > 
> > The original commit states that relocations don't need to be
> > handled
> > because everything is linked statically which is not true in our
> > case,
> > else we wouldn't be trying to link dynamically.
> > 
> > > 
> > > > > > ---
> > > > > >  ...re-Remove-handling-of-R_RISCV_-32-64.patch | 88
> > > > > > +++
> > > > > >  .../{opensbi_1.3.bb => opensbi_1.4.bb}    |  8 +-
> > > > > >  2 files changed, 92 insertions(+), 4 deletions(-)
> > > > > >  create mode 100644 meta/recipes-bsp/opensbi/opensbi/0001-
> > > > > > Revert-
> > > > > > firmware-Remove-handling-of-R_RISCV_-32-64.patch
> > > > > >  rename meta/recipes-bsp/opensbi/{opensbi_1.3.bb =>
> > > > > > opensbi_1.4.bb}
> > > > > > (90%)
> > > > > > 
> > > > > > diff --git a/meta/recipes-bsp/opensbi/opensbi/0001-Revert-
> > > > > > firmware-
> > > > > > Remove-handling-of-R_RISCV_-32-64.patch b/meta/recipes-
> > > > > > bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-
> > > > > > of-
> > > > > > R_RISCV_-32-64.patch
> > > > > > new file mode 100644
> > > > > > index ..d14e0b73a9bc
> > > > > > --- /dev/null
> > > > > > +++ b/meta/recipes-bsp/opensbi/opensbi/0001-Revert-
> > > > > > firmware-Remove-
> > > > > > handling-of-R_RISCV_-32-64.patch
> > > > > > @@ -0,0 +1,88 @@
> > > > > > +From bfe480929bcc966e1fdf5afdde8d4c22adba7f6f Mon Sep 17
> > > > > > 00:00:00
> > > > > > 2001
> > > > > > +From: Thomas Perrot 
> > > > > > +Date: Tue, 16 Jan 2024 15:16:58 +0100
> > > > > > +Subject: [PATCH] Revert "firmware: Remove handling of
>

[OE-core][PATCH v3] opensbi: bump to 1.4

2024-01-22 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

This release has:
- Synopsys DesignWare APB GPIO driver
- Zicntr and Zihpm support
- Console print improvements
- Smepmp support
- Simple FDT based syscon regmap driver
- Syscon based reboot and poweroff driver
- Non-contiguous hpm counters
- Smcntrpmf support
- Full sparse hartid support
- IPI improvements
- RFENCE improvements
- Zkr support
- Andes custom PMU support
Overall, this release mainly adds more ISA extensions, drivers and other 
improvements.

https://github.com/riscv-software-src/opensbi/compare/v1.3.1...v1.4

Signed-off-by: Thomas Perrot 
Signed-off-by: Khem Raj 
---
v2: Use FW_PIC=y and drop revert patch
v3: Skip ldflags QA

 .../opensbi/{opensbi_1.3.bb => opensbi_1.4.bb}| 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-bsp/opensbi/{opensbi_1.3.bb => opensbi_1.4.bb} (89%)

diff --git a/meta/recipes-bsp/opensbi/opensbi_1.3.bb 
b/meta/recipes-bsp/opensbi/opensbi_1.4.bb
similarity index 89%
rename from meta/recipes-bsp/opensbi/opensbi_1.3.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.4.bb
index f01cae34d1ff..e36ada081428 100644
--- a/meta/recipes-bsp/opensbi/opensbi_1.3.bb
+++ b/meta/recipes-bsp/opensbi/opensbi_1.4.bb
@@ -8,12 +8,12 @@ require opensbi-payloads.inc

 inherit autotools-brokensep deploy

-SRCREV = "057eb10b6d523540012e6947d5c9f63e95244e94"
-SRC_URI = 
"git://github.com/riscv/opensbi.git;branch=release-1.3.x;protocol=https"
+SRCREV = "a2b255b88918715173942f2c5e1f97ac9e90c877"
+SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"

 S = "${WORKDIR}/git"

-EXTRA_OEMAKE += "PLATFORM=${RISCV_SBI_PLAT} I=${D} FW_PIC=n CLANG_TARGET= "
+EXTRA_OEMAKE += "PLATFORM=${RISCV_SBI_PLAT} I=${D} FW_PIC=y CLANG_TARGET= "
 # If RISCV_SBI_PAYLOAD is set then include it as a payload
 EXTRA_OEMAKE:append = " ${@riscv_get_extra_oemake_image(d)}"
 EXTRA_OEMAKE:append = " ${@riscv_get_extra_oemake_fdt(d)}"
@@ -44,4 +44,4 @@ FILES:${PN} += 
"/share/opensbi/*/${RISCV_SBI_PLAT}/firmware/fw_dynamic.*"
 COMPATIBLE_HOST = "(riscv64|riscv32).*"
 INHIBIT_PACKAGE_STRIP = "1"

-SECURITY_CFLAGS = ""
+INSANE_SKIP:${PN} = "ldflags"
--
2.43.0

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



Re: [OE-core][PATCH] opensbi: bump to 1.4

2024-01-19 Thread Thomas Perrot via lists.openembedded.org
Hello Richard,

On Fri, 2024-01-19 at 17:22 +, Richard Purdie wrote:
> On Wed, 2024-01-17 at 10:47 +0100, Thomas Perrot via
> lists.openembedded.org wrote:
> > From: Thomas Perrot 
> > 
> > This release has:
> > - Synopsys DesignWare APB GPIO driver
> > - Zicntr and Zihpm support
> > - Console print improvements
> > - Smepmp support
> > - Simple FDT based syscon regmap driver
> > - Syscon based reboot and poweroff driver
> > - Non-contiguous hpm counters
> > - Smcntrpmf support
> > - Full sparse hartid support
> > - IPI improvements
> > - RFENCE improvements
> > - Zkr support
> > - Andes custom PMU support
> > Overall, this release mainly adds more ISA extensions, drivers and
> > other improvements.
> > 
> > https://github.com/riscv-software-src/opensbi/compare/v1.3.1...v1.4
> > 
> > Signed-off-by: Thomas Perrot 
> 
> This all seems reasonable but why is there a revert below?

I reverted it otherwise the following link issue occurs:

"build/tmp-glibc/work/riscv64-oe-linux/opensbi/1.4/recipe-sysroot-
native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-
linux/gcc/riscv64-oe-linux/13.2.0/ld.bfd:/src/build/tmp-
glibc/work/riscv64-oe-
linux/opensbi/1.4/git/build/platform/generic/firmware/fw_dynamic.elf.ld
:54: undefined section `.dynsym' referenced in expression"

> 
> > ---
> >  ...re-Remove-handling-of-R_RISCV_-32-64.patch | 88
> > +++
> >  .../{opensbi_1.3.bb => opensbi_1.4.bb}    |  8 +-
> >  2 files changed, 92 insertions(+), 4 deletions(-)
> >  create mode 100644 meta/recipes-bsp/opensbi/opensbi/0001-Revert-
> > firmware-Remove-handling-of-R_RISCV_-32-64.patch
> >  rename meta/recipes-bsp/opensbi/{opensbi_1.3.bb => opensbi_1.4.bb}
> > (90%)
> > 
> > diff --git a/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-
> > Remove-handling-of-R_RISCV_-32-64.patch b/meta/recipes-
> > bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-of-
> > R_RISCV_-32-64.patch
> > new file mode 100644
> > index ..d14e0b73a9bc
> > --- /dev/null
> > +++ b/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-Remove-
> > handling-of-R_RISCV_-32-64.patch
> > @@ -0,0 +1,88 @@
> > +From bfe480929bcc966e1fdf5afdde8d4c22adba7f6f Mon Sep 17 00:00:00
> > 2001
> > +From: Thomas Perrot 
> > +Date: Tue, 16 Jan 2024 15:16:58 +0100
> > +Subject: [PATCH] Revert "firmware: Remove handling of
> > R_RISCV_{32,64}"
> > +
> > +This reverts commit 2a6d72534d44c39e1de0614970a0dad97b1c41ba.
> > +
> > +Upstream-Status: Inappropriate [oe specific]
> > +Signed-off-by: Thomas Perrot 
> 
> If we're going to revert an upstream change, we need to say *why*. We
> need to revert it for some OE specific reason but what is that
> reason?
> 

I agree, maybe you have any advice to fix it in another way?

Kind regards,
Thomas Perrot

> We cannot take patches marked as Inappropriate without much more
> information.
> 
> Cheers,
> 
> Richard
> 
> 
> 
> 


signature.asc
Description: This is a digitally signed message part

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



[OE-core][PATCH] opensbi: bump to 1.4

2024-01-17 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

This release has:
- Synopsys DesignWare APB GPIO driver
- Zicntr and Zihpm support
- Console print improvements
- Smepmp support
- Simple FDT based syscon regmap driver
- Syscon based reboot and poweroff driver
- Non-contiguous hpm counters
- Smcntrpmf support
- Full sparse hartid support
- IPI improvements
- RFENCE improvements
- Zkr support
- Andes custom PMU support
Overall, this release mainly adds more ISA extensions, drivers and other 
improvements.

https://github.com/riscv-software-src/opensbi/compare/v1.3.1...v1.4

Signed-off-by: Thomas Perrot 
---
 ...re-Remove-handling-of-R_RISCV_-32-64.patch | 88 +++
 .../{opensbi_1.3.bb => opensbi_1.4.bb}|  8 +-
 2 files changed, 92 insertions(+), 4 deletions(-)
 create mode 100644 
meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-of-R_RISCV_-32-64.patch
 rename meta/recipes-bsp/opensbi/{opensbi_1.3.bb => opensbi_1.4.bb} (90%)

diff --git 
a/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-of-R_RISCV_-32-64.patch
 
b/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-of-R_RISCV_-32-64.patch
new file mode 100644
index ..d14e0b73a9bc
--- /dev/null
+++ 
b/meta/recipes-bsp/opensbi/opensbi/0001-Revert-firmware-Remove-handling-of-R_RISCV_-32-64.patch
@@ -0,0 +1,88 @@
+From bfe480929bcc966e1fdf5afdde8d4c22adba7f6f Mon Sep 17 00:00:00 2001
+From: Thomas Perrot 
+Date: Tue, 16 Jan 2024 15:16:58 +0100
+Subject: [PATCH] Revert "firmware: Remove handling of R_RISCV_{32,64}"
+
+This reverts commit 2a6d72534d44c39e1de0614970a0dad97b1c41ba.
+
+Upstream-Status: Inappropriate [oe specific]
+Signed-off-by: Thomas Perrot 
+---
+ firmware/fw_base.S  | 22 ++
+ firmware/fw_base.ldS|  6 ++
+ include/sbi/riscv_elf.h |  8 
+ 3 files changed, 36 insertions(+)
+
+diff --git a/firmware/fw_base.S b/firmware/fw_base.S
+index f7763f4d9e56..60efad39b231 100644
+--- a/firmware/fw_base.S
 b/firmware/fw_base.S
+@@ -88,8 +88,30 @@ _try_lottery:
+   add t5, t5, t2
+   add t3, t3, t2
+   REG_S   t5, 0(t3)   /* store runtime address to the GOT 
entry */
++  j   5f
+
+ 3:
++  lla t4, __dyn_sym_start
++
++4:
++  srlit6, t5, SYM_INDEX   /* t6 <--- sym table index */
++  andit5, t5, 0xFF/* t5 <--- relocation type */
++  li  t3, RELOC_TYPE
++  bne t5, t3, 5f
++
++  /* address R_RISCV_64 or R_RISCV_32 cases*/
++  REG_L   t3, 0(t0)
++  li  t5, SYM_SIZE
++  mul t6, t6, t5
++  add s5, t4, t6
++  REG_L   t6, (REGBYTES * 2)(t0)  /* t0 <-- addend */
++  REG_L   t5, REGBYTES(s5)
++  add t5, t5, t6
++  add t5, t5, t2  /* t5 <-- location to fix up in RAM */
++  add t3, t3, t2  /* t3 <-- location to fix up in RAM */
++  REG_S   t5, 0(t3)   /* store runtime address to the 
variable */
++
++5:
+   addit0, t0, (REGBYTES * 3)
+   blt t0, t1, 2b
+   j   _relocate_done
+diff --git a/firmware/fw_base.ldS b/firmware/fw_base.ldS
+index c15ccdbf6612..88b8dfd9cb56 100644
+--- a/firmware/fw_base.ldS
 b/firmware/fw_base.ldS
+@@ -40,6 +40,12 @@
+
+   . = ALIGN(0x1000); /* Ensure next section is page aligned */
+
++  .dynsym : {
++  PROVIDE(__dyn_sym_start = .);
++  *(.dynsym)
++  PROVIDE(__dyn_sym_end = .);
++  }
++
+   .rela.dyn : {
+   PROVIDE(__rel_dyn_start = .);
+   *(.rela*)
+diff --git a/include/sbi/riscv_elf.h b/include/sbi/riscv_elf.h
+index ed361e346155..3b62c38b4a2d 100644
+--- a/include/sbi/riscv_elf.h
 b/include/sbi/riscv_elf.h
+@@ -1,6 +1,14 @@
+ #ifndef __RISCV_ELF_H__
+ #define __RISCV_ELF_H__
+
++#include 
++
++#define R_RISCV_321
++#define R_RISCV_642
+ #define R_RISCV_RELATIVE  3
+
++#define RELOC_TYPE__REG_SEL(R_RISCV_64, R_RISCV_32)
++#define SYM_INDEX __REG_SEL(0x20, 0x8)
++#define SYM_SIZE  __REG_SEL(0x18,0x10)
++
+ #endif
+--
+2.43.0
diff --git a/meta/recipes-bsp/opensbi/opensbi_1.3.bb 
b/meta/recipes-bsp/opensbi/opensbi_1.4.bb
similarity index 90%
rename from meta/recipes-bsp/opensbi/opensbi_1.3.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.4.bb
index f01cae34d1ff..6cb1a2680f2a 100644
--- a/meta/recipes-bsp/opensbi/opensbi_1.3.bb
+++ b/meta/recipes-bsp/opensbi/opensbi_1.4.bb
@@ -8,8 +8,10 @@ require opensbi-payloads.inc
 
 inherit autotools-brokensep deploy
 
-SRCREV = "057eb10b6d523540012e6947d5c9f63e95244e94"
-SRC_URI = 
"git://github.com/riscv/opensbi.git;branch=release-1.3.x;protocol=https"
+SRCREV = "a2b255b88918715173942f2c5e1f97ac9e90c877"
+SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https \
+  file://0001-Revert-firmware-Remove-handling-of-R_RISCV_-32-64.patch \
+ "
 
 S = "${WORKDIR}/git"
 
@@ -43,5 +45,3 @@ FILES:${PN} += 

[oe] [meta-networking][PATCH v3] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

- to build and package nmtui
- to automatically append networkmanager-adsl and
  networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when
  adsl and wwan are added in pkgconfig.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb| 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index 867d13327144..1332a9dfd4c9 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false"
 PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false"
 PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false"
 PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false"
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt"
 PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline"
 PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit"
 PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
 PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd"
 PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp"
 PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false"
+PACKAGECONFIG[adsl] = ",,"
+PACKAGECONFIG[wwan] = ",,"
 # The following PACKAGECONFIG is used to determine whether NM is managing 
/etc/resolv.conf itself or not
 PACKAGECONFIG[man-resolv-conf] = ",,"
 
-- 
2.43.0


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



Re: [oe] [meta-networking][PATCH v2] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
On Wed, 2023-12-20 at 14:47 +, Ross Burton wrote:
> On 20 Dec 2023, at 14:15, Thomas Perrot via lists.openembedded.org
>  wrote:
> > 
> > +RDEPENDS:${PN}-nmtui += "${PN}-daemon
> > ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}”
> 
> My point still remains: it looks like nmtui links to libnewt directly
> and doesn’t dlopen, so why is this needed?

This is a mistake, this isn't necessary, thank you.

Kind regards,
Thomas Perrot

> 
> https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/libnmt-newt/meson.build?ref_type=heads#L29
> 
> Ross
> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[oe] [meta-networking][PATCH v2] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

- to build and package nmtui
- to automatically append networkmanager-adsl and
  networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when
  adsl and wwan are added in pkgconfig.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index 867d13327144..f50cb842dbb7 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false"
 PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false"
 PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false"
 PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false"
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt"
 PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline"
 PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit"
 PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
 PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd"
 PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp"
 PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false"
+PACKAGECONFIG[adsl] = ",,"
+PACKAGECONFIG[wwan] = ",,"
 # The following PACKAGECONFIG is used to determine whether NM is managing 
/etc/resolv.conf itself or not
 PACKAGECONFIG[man-resolv-conf] = ",,"
 
@@ -189,7 +192,7 @@ FILES:${PN}-nmtui = " \
 ${bindir}/nmtui-connect \
 ${bindir}/nmtui-hostname \
 "
-RDEPENDS:${PN}-nmtui += "${PN}-daemon"
+RDEPENDS:${PN}-nmtui += "${PN}-daemon 
${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}"
 
 SUMMARY:${PN}-wifi = "Wifi plugin for NetworkManager"
 FILES:${PN}-wifi = "\
-- 
2.43.0


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



Re: [oe] [meta-networking][PATCH] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
Hello,

On Wed, 2023-12-20 at 12:35 +, Ross Burton wrote:
> Can you say “PACKAGECONFIG”, as pkgconfig is something else entirely.
> 
> > +PACKAGECONFIG[nmtui] = "-Dnmtui=true,-
> > Dnmtui=false,libnewt,libnewt”
> 
> Doesn’t the shared library dependency happy automatically?  This puts
> the RDEPENDS on networkmanager, which isn’t the package containing
> nmtui.
> 

I agree, I'm submitting a v2 that adds the required dependency on
${PN}-nmtui instead.

Kind regards,
Thomas Perrot

> Ross
> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[oe] [meta-networking][PATCH] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

- to build and package nmtui
- to automatically append networkmanager-adsl and
  networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when
  adsl and wwan are added in pkgconfig.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb| 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index 867d13327144..7929ea02b3dc 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false"
 PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false"
 PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false"
 PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false"
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt,libnewt"
 PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline"
 PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit"
 PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false"
 PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd"
 PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp"
 PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false"
+PACKAGECONFIG[adsl] = ",,"
+PACKAGECONFIG[wwan] = ",,"
 # The following PACKAGECONFIG is used to determine whether NM is managing 
/etc/resolv.conf itself or not
 PACKAGECONFIG[man-resolv-conf] = ",,"
 
-- 
2.43.0


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



[oe] [meta-networking][PATCH] networkmanager: add missing modemmanager rdepends

2023-12-15 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Fix rdepends with modemmanager PACKAGECONFIG enabled.

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.44.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
index d213ef650faa..c686ecec1e22 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb
@@ -88,7 +88,7 @@ PACKAGECONFIG[polkit] = "-Dpolkit=true,-Dpolkit=false,polkit"
 PACKAGECONFIG[bluez5] = "-Dbluez5_dun=true,-Dbluez5_dun=false,bluez5"
 # consolekit is not picked by shlibs, so add it to RDEPENDS too
 PACKAGECONFIG[consolekit] = 
"-Dsession_tracking_consolekit=true,-Dsession_tracking_consolekit=false,consolekit,consolekit"
-PACKAGECONFIG[modemmanager] = 
"-Dmodem_manager=true,-Dmodem_manager=false,modemmanager 
mobile-broadband-provider-info"
+PACKAGECONFIG[modemmanager] = 
"-Dmodem_manager=true,-Dmodem_manager=false,modemmanager 
mobile-broadband-provider-info,modemmanager mobile-broadband-provider-info"
 PACKAGECONFIG[ppp] = "-Dppp=true -Dpppd=${sbindir}/pppd,-Dppp=false,ppp"
 PACKAGECONFIG[dnsmasq] = "-Ddnsmasq=${bindir}/dnsmasq"
 PACKAGECONFIG[nss] = "-Dcrypto=nss,,nss"
-- 
2.43.0


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



[OE-core][PATCH] opensbi: Upgrade to 1.3.1 release

2023-11-07 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Here is list of changes in this major release

https://github.com/riscv-software-src/opensbi/compare/v1.2...v1.3.1

Signed-off-by: Thomas Perrot 
---
 meta/recipes-bsp/opensbi/{opensbi_1.2.bb => opensbi_1.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/opensbi/{opensbi_1.2.bb => opensbi_1.3.bb} (93%)

diff --git a/meta/recipes-bsp/opensbi/opensbi_1.2.bb 
b/meta/recipes-bsp/opensbi/opensbi_1.3.bb
similarity index 93%
rename from meta/recipes-bsp/opensbi/opensbi_1.2.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.3.bb
index a088fef41981..f01cae34d1ff 100644
--- a/meta/recipes-bsp/opensbi/opensbi_1.2.bb
+++ b/meta/recipes-bsp/opensbi/opensbi_1.3.bb
@@ -8,8 +8,8 @@ require opensbi-payloads.inc
 
 inherit autotools-brokensep deploy
 
-SRCREV = "6b5188ca14e59ce7bf71afe4e7d3d557c3d31bf8"
-SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"
+SRCREV = "057eb10b6d523540012e6947d5c9f63e95244e94"
+SRC_URI = 
"git://github.com/riscv/opensbi.git;branch=release-1.3.x;protocol=https"
 
 S = "${WORKDIR}/git"
 
-- 
2.41.0


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



[oe] [meta-networking][PATCH] networkmanager: Turn ppp support into a packageconfig option

2023-05-22 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Enable it only if ppp is in distro features

Signed-off-by: Thomas Perrot 
---
 .../networkmanager/networkmanager_1.42.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
index 31687a30b91a..b52a47540f6d 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
@@ -73,7 +73,7 @@ do_compile:prepend() {
 PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \
 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 
bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \
 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
-${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit', d)} \
+${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit ppp', d)} \
 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', 
d)} \
 "
 
-- 
2.40.1


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



Re: [OE-core][PATCH] qemu.inc: add virtio input in required dependencies

2022-10-26 Thread Thomas Perrot via lists.openembedded.org
Hello Richard,

On Wed, 2022-10-26 at 12:14 +0100, Richard Purdie wrote:
> On Tue, 2022-10-18 at 11:32 +0200, Thomas Perrot via
> lists.openembedded.org wrote:
> > From: Thomas Perrot 
> > 
> > Otherwise, it isn't possible to interact with the UI of images
> > that provide graphic support.
> > 
> > This issue only occurs when NO_RECOMMENDATIONS = "1" for Qemu
> > targets which are kernel-modules in MACHINE_EXTRA_RRECOMMENDS.
> > 
> > Signed-off-by: Thomas Perrot 
> > ---
> >  meta/conf/machine/include/qemu.inc | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/meta/conf/machine/include/qemu.inc
> > b/meta/conf/machine/include/qemu.inc
> > index 0d71bcbbad0d..dabe7ed8f386 100644
> > --- a/meta/conf/machine/include/qemu.inc
> > +++ b/meta/conf/machine/include/qemu.inc
> > @@ -10,6 +10,8 @@ XSERVER ?= "xserver-xorg \
> >  xf86-video-fbdev \
> >  "
> >  
> > +MACHINE_EXTRA_RDEPENDS += "kernel-module-virtio-input"
> > +
> >  MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
> >  
> >  MACHINEOVERRIDES =. "qemuall:"
> 
> This will fail if the kernel has the module built in - kernel modules
> are always recommends for that reason. We'll have to find a different
> solution I'm afraid.

When this kernel module is built in, so the Qemu boot process stalled:
"please wait: booting..."
For this reason, is the proposed solution acceptable?

Kind regards,
Thomas

> 
> Cheers,
> 
> Richard
> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[OE-core][PATCH] xserver-xorg: move some recommended dependencies in required

2022-10-18 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Otherwise, xserver will no longer start when NO_RECOMMENDATIONS = “1”,
because dependencies in XSERVER_RRECOMMENDS are missing.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 057a1ba6ad48..6b11c79be6ee 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -80,9 +80,9 @@ PACKAGES =+ "${PN}-sdl \
 SUMMARY:xf86-video-modesetting = "X.Org X server -- modesetting display driver"
 INSANE_SKIP:${MLPREFIX}xf86-video-modesetting = "xorg-driver-abi"
 
-XSERVER_RRECOMMENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp 
xf86-input-libinput"
-RRECOMMENDS:${PN} += "${XSERVER_RRECOMMENDS}"
-RRECOMMENDS:${PN}-xwayland += "${XSERVER_RRECOMMENDS}"
+XSERVER_RDEPENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp 
xf86-input-libinput"
+RDEPENDS:${PN} += "${XSERVER_RDEPENDS}"
+RDEPENDS:${PN}-xwayland += "${XSERVER_RDEPENDS}"
 RDEPENDS:${PN}-xvfb += "xkeyboard-config"
 RDEPENDS:${PN}-module-exa = "${PN} (= ${EXTENDPKGV})"
 
-- 
2.37.3


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



[OE-core][PATCH] qemu.inc: add virtio input in required dependencies

2022-10-18 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Otherwise, it isn't possible to interact with the UI of images
that provide graphic support.

This issue only occurs when NO_RECOMMENDATIONS = "1" for Qemu
targets which are kernel-modules in MACHINE_EXTRA_RRECOMMENDS.

Signed-off-by: Thomas Perrot 
---
 meta/conf/machine/include/qemu.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/machine/include/qemu.inc 
b/meta/conf/machine/include/qemu.inc
index 0d71bcbbad0d..dabe7ed8f386 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -10,6 +10,8 @@ XSERVER ?= "xserver-xorg \
 xf86-video-fbdev \
 "
 
+MACHINE_EXTRA_RDEPENDS += "kernel-module-virtio-input"
+
 MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"
 
 MACHINEOVERRIDES =. "qemuall:"
-- 
2.37.3


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



[oe][meta-xfce][PATCH] xfce4-settings: upgrade 4.16.2 -> 4.16.3

2022-10-18 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

This version includes a fix for an issue led by libx11 thread
safety feature, that is enabled by default, since the upgrade
to 1.8.1.

Signed-off-by: Thomas Perrot 
---
 .../{xfce4-settings_4.16.2.bb => xfce4-settings_4.16.3.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.16.2.bb => 
xfce4-settings_4.16.3.bb} (93%)

diff --git a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.2.bb 
b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.3.bb
similarity index 93%
rename from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.2.bb
rename to meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.3.bb
index aa4265f7b0d9..f283edac6a77 100644
--- a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.2.bb
+++ b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.3.bb
@@ -9,7 +9,7 @@ inherit xfce features_check mime-xdg
 REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch"
-SRC_URI[sha256sum] = 
"4dd7cb420860535e687f673c0b5c0274e0d2fb67181281d4b85be9197da03d7e"
+SRC_URI[sha256sum] = 
"f299e6d26d8e142c0b7edeb9b8917d6bd50bc8647254ea585069c68f2bab8e64"
 
 EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
 
-- 
2.37.3


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



Re: [OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-06 Thread Thomas Perrot via lists.openembedded.org
Hello Bruce,

On Wed, 2022-10-05 at 13:19 -0400, Bruce Ashfield wrote:
> On Wed, Oct 5, 2022 at 12:51 PM Thomas Perrot via
> lists.openembedded.org
>  wrote:
> > 
> > Hello Khem,
> > 
> > On Wed, 2022-10-05 at 09:19 -0700, Khem Raj wrote:
> > > On Wed, Oct 5, 2022 at 8:01 AM Thomas Perrot via
> > > lists.openembedded.org
> > >  wrote:
> > > > 
> > > > Otherwise, it isn't possible to interact with the UI.
> > > 
> > > I wonder if it should be in the MACHINE_EXTRA_RRECOMMENDS in
> > > machine
> > > configs, it will help a wide range of users who may be using
> > > graphical images.
> > 
> > I hesitated to put it in MACHINE_EXTRA_RDEPENDS for Qemu targets.
> > 
> > Currently, kernel-modules are in MACHINE_EXTRA_RRECOMMENDS of Qemu
> > RISC-V and PPC64, which are not installed when
> > NO_RECOMMENDATIONS="1"
> > 
> 
> We don't control the kernel configuration to the point where we can
> guarantee that something is built as a module or not.
> 
> Have you tried assembling the image with that option built-in, versus
> a module ? 

I tried to use a built-in virtio-input on Qemu targets, so the boot
process stalled with the following message: "please wait: booting..."
Then it seems necessary to use this driver as a kernel module on Qemu
targets.

Kind regards,
Thomas

> Last I checked, a kernel-module* dependency won't be
> provided by the built-ins, and this will trigger an error.
> 
> With that option appended, it isn't something that can be overridden
> easily, and the qemu* + core images are used as a starting point for
> demos, etc (whether or not that is a good idea is also debatable). If
> a non-core kernel provider and qemu are used in a scenario like that
> .. they can trigger the error.
> 
> Bruce
> 
> > Kind regards,
> > Thomas
> > 
> > > 
> > > > 
> > > > Signed-off-by: Thomas Perrot 
> > > > ---
> > > >  meta/recipes-sato/images/core-image-sato.bb | 2 ++
> > > >  1 file changed, 2 insertions(+)
> > > > 
> > > > diff --git a/meta/recipes-sato/images/core-image-sato.bb
> > > > b/meta/recipes-sato/images/core-image-sato.bb
> > > > index e63a229d1257..0e37c15097b3 100644
> > > > --- a/meta/recipes-sato/images/core-image-sato.bb
> > > > +++ b/meta/recipes-sato/images/core-image-sato.bb
> > > > @@ -12,6 +12,8 @@ inherit core-image
> > > >  TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-
> > > > glib-
> > > > 2.0"
> > > >  TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = "
> > > > nativesdk-
> > > > intltool nativesdk-glib-2.0"
> > > > 
> > > > +IMAGE_INSTALL:append:qemuall = " kernel-module-virtio-input"
> > > > +
> > > >  QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-
> > > > m
> > > > 512", "-m 256", d)}'
> > > >  QB_MEM:qemuarmv5 = "-m 256"
> > > >  QB_MEM:qemumips = "-m 256"
> > > > --
> > > > 2.37.3
> > > > 
> > > > 
> > > > 
> > > > 
> > 
> > --
> > Thomas Perrot, Bootlin
> > Embedded Linux and kernel engineering
> > https://bootlin.com
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



Re: [OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-06 Thread Thomas Perrot via lists.openembedded.org
Hello Alex,

On Wed, 2022-10-05 at 19:09 +0200, Alexander Kanavin wrote:
> > Does core-image-weston have the same problem? If it does, then this
> > certainly needs to go to qemu include in conf/machine/
> > 

Yes, the same issue occurs on core-image-weston, when
NO_RECOMMENDATIONS = "1".

So, instead of adding this rdepends in the sato image, I can add
kernel-module-virtio-input in MACHINE_EXTRA_RDEPENDS in
conf/machine/include/qemu.inc.

In addition, I'm looking to use a built-in virtio-input, as proposed by
Bruce Ashfield.

Kind regards,
Thomas

> > Alex
> > 
> > On Wed, 5 Oct 2022 at 18:51, Thomas Perrot via
> > lists.openembedded.org
> >  wrote:
> > > > 
> > > > Hello Khem,
> > > > 
> > > > On Wed, 2022-10-05 at 09:19 -0700, Khem Raj wrote:
> > > > > > On Wed, Oct 5, 2022 at 8:01 AM Thomas Perrot via
> > > > > > lists.openembedded.org
> > > > > >  wrote:
> > > > > > > > 
> > > > > > > > Otherwise, it isn't possible to interact with the UI.
> > > > > > 
> > > > > > I wonder if it should be in the MACHINE_EXTRA_RRECOMMENDS
> > > > > > in > > > machine
> > > > > > configs, it will help a wide range of users who may be
> > > > > > using
> > > > > > graphical images.
> > > > 
> > > > I hesitated to put it in MACHINE_EXTRA_RDEPENDS for Qemu
> > > > targets.
> > > > 
> > > > Currently, kernel-modules are in MACHINE_EXTRA_RRECOMMENDS of
> > > > Qemu
> > > > RISC-V and PPC64, which are not installed when > >
> > > > NO_RECOMMENDATIONS="1"
> > > > 
> > > > Kind regards,
> > > > Thomas
> > > > 
> > > > > > 
> > > > > > > > 
> > > > > > > > Signed-off-by: Thomas Perrot
> > > > > > > > 
> > > > > > > > ---
> > > > > > > >  meta/recipes-sato/images/core-image-sato.bb | 2 ++
> > > > > > > >  1 file changed, 2 insertions(+)
> > > > > > > > 
> > > > > > > > diff --git a/meta/recipes-sato/images/core-image-
> > > > > > > > sato.bb
> > > > > > > > b/meta/recipes-sato/images/core-image-sato.bb
> > > > > > > > index e63a229d1257..0e37c15097b3 100644
> > > > > > > > --- a/meta/recipes-sato/images/core-image-sato.bb
> > > > > > > > +++ b/meta/recipes-sato/images/core-image-sato.bb
> > > > > > > > @@ -12,6 +12,8 @@ inherit core-image
> > > > > > > >  TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool > >
> > > > > > > > > > nativesdk-glib-
> > > > > > > > 2.0"
> > > > > > > >  TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " >
> > > > > > > > > > > nativesdk-
> > > > > > > > intltool nativesdk-glib-2.0"
> > > > > > > > 
> > > > > > > > +IMAGE_INSTALL:append:qemuall = " kernel-module-virtio-
> > > > > > > > input"
> > > > > > > > +
> > > > > > > >  QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES",
> > > > > > > > "opengl", > > > > "-m
> > > > > > > > 512", "-m 256", d)}'
> > > > > > > >  QB_MEM:qemuarmv5 = "-m 256"
> > > > > > > >  QB_MEM:qemumips = "-m 256"
> > > > > > > > --
> > > > > > > > 2.37.3
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > 
> > > > --
> > > > Thomas Perrot, Bootlin
> > > > Embedded Linux and kernel engineering
> > > > https://bootlin.com
> > > > 
> > > > 
> > > > 
> > > > 
> > 
> > 
> > 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



Re: [OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-05 Thread Thomas Perrot via lists.openembedded.org
Hello Alex,

On Wed, 2022-10-05 at 17:31 +0200, Alexander Kanavin wrote:
> Has this regressed at some point? Why was it not needed before?

This issue occurs when the rrecommends are not installed.

Kind regards,
Thomas

> 
> Alex
> 
> On Wed 5. Oct 2022 at 17.01, Thomas Perrot via lists.openembedded.org
>  wrote:
> > Otherwise, it isn't possible to interact with the UI.
> > 
> > Signed-off-by: Thomas Perrot 
> > ---
> >  meta/recipes-sato/images/core-image-sato.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/meta/recipes-sato/images/core-image-sato.bb
> > b/meta/recipes-sato/images/core-image-sato.bb
> > index e63a229d1257..0e37c15097b3 100644
> > --- a/meta/recipes-sato/images/core-image-sato.bb
> > +++ b/meta/recipes-sato/images/core-image-sato.bb
> > @@ -12,6 +12,8 @@ inherit core-image
> >  TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-
> > 2.0"
> >  TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-
> > intltool nativesdk-glib-2.0"
> > 
> > +IMAGE_INSTALL:append:qemuall = " kernel-module-virtio-input"
> > +
> >  QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m
> > 512", "-m 256", d)}'
> >  QB_MEM:qemuarmv5 = "-m 256"
> >  QB_MEM:qemumips = "-m 256"
> > 
> > 
> > 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[OE-core][PATCH] psplash: add psplash-default in rdepends

2022-10-05 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot 

Otherwise when the installation of recommended packages is prevented
(NO_RECOMMENDATIONS = "1"), then splash screen will not be cast.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-core/psplash/psplash_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/psplash/psplash_git.bb 
b/meta/recipes-core/psplash/psplash_git.bb
index edc0ac1d8961..9532ed1534a6 100644
--- a/meta/recipes-core/psplash/psplash_git.bb
+++ b/meta/recipes-core/psplash/psplash_git.bb
@@ -58,7 +58,7 @@ python __anonymous() {
 d.setVarFlag("ALTERNATIVE_TARGET_%s" % ep, 'psplash', '${bindir}/%s' % 
p)
 d.appendVar("RDEPENDS:%s" % ep, " %s" % pn)
 if p == "psplash-default":
-d.appendVar("RRECOMMENDS:%s" % pn, " %s" % ep)
+d.appendVar("RDEPENDS:%s" % pn, " %s" % ep)
 }
 
 S = "${WORKDIR}/git"
-- 
2.37.3


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



Re: [OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-05 Thread Thomas Perrot via lists.openembedded.org
Hello Khem,

On Wed, 2022-10-05 at 09:19 -0700, Khem Raj wrote:
> On Wed, Oct 5, 2022 at 8:01 AM Thomas Perrot via
> lists.openembedded.org
>  wrote:
> > 
> > Otherwise, it isn't possible to interact with the UI.
> 
> I wonder if it should be in the MACHINE_EXTRA_RRECOMMENDS in machine
> configs, it will help a wide range of users who may be using
> graphical images.

I hesitated to put it in MACHINE_EXTRA_RDEPENDS for Qemu targets.

Currently, kernel-modules are in MACHINE_EXTRA_RRECOMMENDS of Qemu
RISC-V and PPC64, which are not installed when NO_RECOMMENDATIONS="1"

Kind regards,
Thomas

> 
> > 
> > Signed-off-by: Thomas Perrot 
> > ---
> >  meta/recipes-sato/images/core-image-sato.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/meta/recipes-sato/images/core-image-sato.bb
> > b/meta/recipes-sato/images/core-image-sato.bb
> > index e63a229d1257..0e37c15097b3 100644
> > --- a/meta/recipes-sato/images/core-image-sato.bb
> > +++ b/meta/recipes-sato/images/core-image-sato.bb
> > @@ -12,6 +12,8 @@ inherit core-image
> >  TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-
> > 2.0"
> >  TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-
> > intltool nativesdk-glib-2.0"
> > 
> > +IMAGE_INSTALL:append:qemuall = " kernel-module-virtio-input"
> > +
> >  QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m
> > 512", "-m 256", d)}'
> >  QB_MEM:qemuarmv5 = "-m 256"
> >  QB_MEM:qemumips = "-m 256"
> > --
> > 2.37.3
> > 
> > 
> > 
> > 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-05 Thread Thomas Perrot via lists.openembedded.org
Otherwise, it isn't possible to interact with the UI.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-sato/images/core-image-sato.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-sato/images/core-image-sato.bb 
b/meta/recipes-sato/images/core-image-sato.bb
index e63a229d1257..0e37c15097b3 100644
--- a/meta/recipes-sato/images/core-image-sato.bb
+++ b/meta/recipes-sato/images/core-image-sato.bb
@@ -12,6 +12,8 @@ inherit core-image
 TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-2.0"
 TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-intltool 
nativesdk-glib-2.0"
 
+IMAGE_INSTALL:append:qemuall = " kernel-module-virtio-input"
+
 QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 
256", d)}'
 QB_MEM:qemuarmv5 = "-m 256"
 QB_MEM:qemumips = "-m 256"
-- 
2.37.3


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



[OE-core][PATCH] psplash: add psplash-default in rdepends

2022-10-05 Thread Thomas Perrot via lists.openembedded.org
Otherwise when the installation of recommended packages is prevented
(NO_RECOMMENDATIONS = "1"), then splash screen will not be cast.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-core/psplash/psplash_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/psplash/psplash_git.bb 
b/meta/recipes-core/psplash/psplash_git.bb
index edc0ac1d8961..9532ed1534a6 100644
--- a/meta/recipes-core/psplash/psplash_git.bb
+++ b/meta/recipes-core/psplash/psplash_git.bb
@@ -58,7 +58,7 @@ python __anonymous() {
 d.setVarFlag("ALTERNATIVE_TARGET_%s" % ep, 'psplash', '${bindir}/%s' % 
p)
 d.appendVar("RDEPENDS:%s" % ep, " %s" % pn)
 if p == "psplash-default":
-d.appendVar("RRECOMMENDS:%s" % pn, " %s" % ep)
+d.appendVar("RDEPENDS:%s" % pn, " %s" % ep)
 }
 
 S = "${WORKDIR}/git"
-- 
2.37.3


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



[oe][meta-oe][PATCH] spitools: remove unused BPV variable

2022-10-05 Thread Thomas Perrot via lists.openembedded.org
This variable isn't longer used to set the PV value.

Signed-off-by: Thomas Perrot 
---
 meta-oe/recipes-support/spitools/spitools_git.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-support/spitools/spitools_git.bb 
b/meta-oe/recipes-support/spitools/spitools_git.bb
index 9dfb23cc7cbc..c190d7edf10b 100644
--- a/meta-oe/recipes-support/spitools/spitools_git.bb
+++ b/meta-oe/recipes-support/spitools/spitools_git.bb
@@ -4,7 +4,6 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c1ae6c159876a0ba63099614381"
 
-BPV = "1.0.0"
 PV = "1.0.2"
 SRCREV = "1748e092425a4a0ff693aa347062a57fc1ffdd00"
 
-- 
2.37.3


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



[OE-core][PATCH] opensbi: Update to v1.1

2022-06-26 Thread Thomas Perrot via lists.openembedded.org
This release has:
* SBI PMU improvements
* RISC-V AIA v0.3.0 draft support
* Simple external interrupt handling framework
* Xilinx UART-Lite driver
* RISC-V privilege specification v1.12 support
* RISC-V Svpbmt extension support
* RISC-V Smstateen extension support
* RISC-V Sstc extension support
* RISC-V privilege specification version detection
* Platform callback to populate HART extensions
* Compile time C arrays support
* Probing FDT based drivers using compile time C arrays
* SBI HSM improvements
* Allwinner D1 platform support
* Trap redirection improvements related to [m|h]tinst CSR
* SBI v1.0 specification support

Overall, this release mainly adds support for various RISC-V ISA
extensions ratified in December 2021 along with other improvements.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-bsp/opensbi/{opensbi_1.0.bb => opensbi_1.1.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-bsp/opensbi/{opensbi_1.0.bb => opensbi_1.1.bb} (96%)

diff --git a/meta/recipes-bsp/opensbi/opensbi_1.0.bb 
b/meta/recipes-bsp/opensbi/opensbi_1.1.bb
similarity index 96%
rename from meta/recipes-bsp/opensbi/opensbi_1.0.bb
rename to meta/recipes-bsp/opensbi/opensbi_1.1.bb
index 8430f62543a2..d3a62965336a 100644
--- a/meta/recipes-bsp/opensbi/opensbi_1.0.bb
+++ b/meta/recipes-bsp/opensbi/opensbi_1.1.bb
@@ -8,9 +8,8 @@ require opensbi-payloads.inc
 
 inherit autotools-brokensep deploy
 
-SRCREV = "ce4c0188d96b2c20c2e08d24646a5e517fe15a4b"
-SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https \
-  "
+SRCREV = "4489876e933d8ba0d8bc6c64bae71e295d45faac"
+SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
 
-- 
2.35.3


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



[oe] [meta-networking][PATCH] nbd: update 3.20 -> 3.24

2022-05-20 Thread Thomas Perrot via lists.openembedded.org
Signed-off-by: Thomas Perrot 
---
 .../packagegroups/packagegroup-meta-networking.bb| 1 +
 .../recipes-support/nbd/{nbd_3.20.bb => nbd_3.24.bb} | 9 +
 2 files changed, 6 insertions(+), 4 deletions(-)
 rename meta-networking/recipes-support/nbd/{nbd_3.20.bb => nbd_3.24.bb} (56%)

diff --git 
a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb 
b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
index 143e4871..d5a2dfad6304 100644
--- a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
+++ b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb
@@ -218,6 +218,7 @@ RDEPENDS:packagegroup-meta-networking-support = "\
 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "ntpsec", "", d)} \
 nbd-client \
 nbd-server \
+nbd-trplay \
 nbd-trdump \
 openvpn \
 macchanger \
diff --git a/meta-networking/recipes-support/nbd/nbd_3.20.bb 
b/meta-networking/recipes-support/nbd/nbd_3.24.bb
similarity index 56%
rename from meta-networking/recipes-support/nbd/nbd_3.20.bb
rename to meta-networking/recipes-support/nbd/nbd_3.24.bb
index 7b7f5cbfa23e..da9f82952343 100644
--- a/meta-networking/recipes-support/nbd/nbd_3.20.bb
+++ b/meta-networking/recipes-support/nbd/nbd_3.24.bb
@@ -4,16 +4,17 @@ SECTION = "net"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "glib-2.0"
+DEPENDS = "autoconf-archive bison-native glib-2.0 libnl"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "910fe6c152f8c30ad8608388e6a4ce89"
-SRC_URI[sha256sum] = 
"e0e1b3538ab7ae5accf56180afd1a9887d415b98d21223b8ad42592b4af7d6cd"
+SRC_URI[md5sum] = "a6d9e7bbc311a2ed07ef84a58b82b5dd"
+SRC_URI[sha256sum] = 
"6877156d23a7b33f75eee89d2f5c2c91c542afc3cdcb636dea5a88539a58d10c"
 
 inherit autotools pkgconfig
 
-PACKAGES = "${PN}-client ${PN}-server ${PN}-dbg ${PN}-trdump ${PN}-doc"
+PACKAGES = "${PN}-client ${PN}-dbg ${PN}-doc ${PN}-server ${PN}-trdump 
${PN}-trplay"
 
 FILES:${PN}-client = "${sbindir}/${BPN}-client"
 FILES:${PN}-server = "${bindir}/${BPN}-server"
 FILES:${PN}-trdump = "${bindir}/${BPN}-trdump"
+FILES:${PN}-trplay = "${bindir}/${BPN}-trplay"
-- 
2.35.3


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



[OE-core][PATCH] man-pages: add an alternative link name for crypt_r.3

2022-05-20 Thread Thomas Perrot via lists.openembedded.org
Because crypt_r.3 is also provided by libxcrypt-doc.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-extended/man-pages/man-pages_5.13.bb | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/man-pages/man-pages_5.13.bb 
b/meta/recipes-extended/man-pages/man-pages_5.13.bb
index c0198b77be8e..f8602c699ea5 100644
--- a/meta/recipes-extended/man-pages/man-pages_5.13.bb
+++ b/meta/recipes-extended/man-pages/man-pages_5.13.bb
@@ -30,7 +30,8 @@ FILES:${PN} = "${mandir}/*"
 inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE:${PN} = "passwd.5 getspnam.3 crypt.3"
-ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5"
-ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3"
+ALTERNATIVE:${PN} = "crypt.3 crypt_r.3 getspnam.3 passwd.5"
 ALTERNATIVE_LINK_NAME[crypt.3] = "${mandir}/man3/crypt.3"
+ALTERNATIVE_LINK_NAME[crypt_r.3] = "${mandir}/man3/crypt_r.3"
+ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3"
+ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5"
-- 
2.35.3


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



Re: [OE-core][PATCH] webkitgtk: limit the number of compilation threads

2022-05-20 Thread Thomas Perrot via lists.openembedded.org
Hi Alexander,

On Fri, 2022-05-20 at 14:27 +0200, Alexander Kanavin wrote:
> The correct way to address this is to restrict the amount of webkit
> make jobs in site.conf, specific to the build host. Or add RAM.
> 

I heard you

Kind regards,
Thomas Perrot

> Ale 
> 
> On Fri 20. May 2022 at 14.20, Jacob Kroon 
> wrote:
> > On 5/20/22 14:16, Thomas Perrot via lists.openembedded.org wrote:
> > > Otherwise the compilation may lead to out-of-memories.
> > > 
> > > Signed-off-by: Thomas Perrot 
> > > ---
> > >   meta/recipes-sato/webkit/webkitgtk_2.36.1.bb | 3 ++-
> > >   1 file changed, 2 insertions(+), 1 deletion(-)
> > > 
> > > diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > b/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > > index 65757c36a733..e7cfe49e2b87 100644
> > > --- a/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > > +++ b/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > > @@ -80,6 +80,8 @@ setup_python_link() {
> > >       fi
> > >   }
> > >   
> > > +PARALLEL_MAKE = ""
> > > +
> > >   EXTRA_OECMAKE = " \
> > >               -DPORT=GTK \
> > >               ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-
> > DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
> > > @@ -164,4 +166,3 @@ src_package_preprocess () {
> > >               ${B}/WebKit2Gtk/DerivedSources/webkit2/*.h
> > >   
> > >   }
> > > -
> > > 
> > 
> > Why punish build machines with lots of RAM ? Maybe it could be set 
> > depending on available RAM/number of cores ?
> > 
> > Jacob
> > 
> > 
> > 
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



Re: [OE-core][PATCH] webkitgtk: limit the number of compilation threads

2022-05-20 Thread Thomas Perrot via lists.openembedded.org
Hello Jacob,

On Fri, 2022-05-20 at 14:19 +0200, Jacob Kroon wrote:
> On 5/20/22 14:16, Thomas Perrot via lists.openembedded.org wrote:
> > Otherwise the compilation may lead to out-of-memories.
> > 
> > Signed-off-by: Thomas Perrot 
> > ---
> >   meta/recipes-sato/webkit/webkitgtk_2.36.1.bb | 3 ++-
> >   1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > b/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > index 65757c36a733..e7cfe49e2b87 100644
> > --- a/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > +++ b/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
> > @@ -80,6 +80,8 @@ setup_python_link() {
> > fi
> >   }
> >   
> > +PARALLEL_MAKE = ""
> > +
> >   EXTRA_OECMAKE = " \
> > -DPORT=GTK \
> > ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-
> > DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
> > @@ -164,4 +166,3 @@ src_package_preprocess () {
> >   ${B}/WebKit2Gtk/DerivedSources/webkit2/*.h
> >   
> >   }
> > -
> > 
> 
> Why punish build machines with lots of RAM ? Maybe it could be set 
> depending on available RAM/number of cores ?
> 

Why not.

I tested on a build server with more than ~12GB ram available and 16
cores, then I tried to reduce the number of threads and when the value
is greater than 1 the build fails.

Kind regards,
Thomas Perrot

> Jacob
> 
> 
> 

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[OE-core][PATCH] webkitgtk: limit the number of compilation threads

2022-05-20 Thread Thomas Perrot via lists.openembedded.org
Otherwise the compilation may lead to out-of-memories.

Signed-off-by: Thomas Perrot 
---
 meta/recipes-sato/webkit/webkitgtk_2.36.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
index 65757c36a733..e7cfe49e2b87 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.36.1.bb
@@ -80,6 +80,8 @@ setup_python_link() {
fi
 }
 
+PARALLEL_MAKE = ""
+
 EXTRA_OECMAKE = " \
-DPORT=GTK \
${@bb.utils.contains('GI_DATA_ENABLED', 'True', 
'-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
@@ -164,4 +166,3 @@ src_package_preprocess () {
 ${B}/WebKit2Gtk/DerivedSources/webkit2/*.h
 
 }
-
-- 
2.35.3


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



Re: [oe][meta-oe][honister][PATCH] breakpad: fix branch for gtest in SRC_URI

2022-03-16 Thread Thomas Perrot via lists.openembedded.org
Hello,

This patch has been applied on the master branch, could it be
backported to all other branches still maintained?

Kind regards,
Thomas

On Wed, 2022-02-09 at 14:40 +0100, Thomas Perrot wrote:
> The commit 4fe018038f87 is in the main branch, so the do_fetch task
> failed.
> 
> Signed-off-by: Thomas Perrot 
> ---
>  meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> index fabf59d4b29b..c752a100831f 100644
> --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> @@ -29,7 +29,7 @@ SRCREV_lss =
> "fd00dbbd0c06a309c657d89e9430143b179ff6db"
>  SRCREV_gyp = "324dd166b7c0b39d513026fa52d6280ac6d56770"
>  
>  SRC_URI =
> "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=
> https \
> -  
> git://github.com/google/googletest.git;destsuffix=git/src/testing/gte
> st;name=gtest;branch=master;protocol=https \
> +  
> git://github.com/google/googletest.git;destsuffix=git/src/testing/gte
> st;name=gtest;branch=main;protocol=https \
>    
> git://github.com/protocolbuffers/protobuf.git;destsuffix=git/src/thir
> d_party/protobuf/protobuf;name=protobuf;branch=master;protocol=https
> \
>     git://chromium.googlesource.com/linux-syscall-
> support;protocol=https;branch=main;destsuffix=git/src/third_party/lss
> ;name=lss \
>    
> git://chromium.googlesource.com/external/gyp;protocol=https;destsuffi
> x=git/src/tools/gyp;name=gyp;branch=master \

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



signature.asc
Description: This is a digitally signed message part

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



[oe][meta-oe][honister][PATCH] breakpad: fix branch for gtest in SRC_URI

2022-02-09 Thread Thomas Perrot via lists.openembedded.org
The commit 4fe018038f87 is in the main branch, so the do_fetch task failed.

Signed-off-by: Thomas Perrot 
---
 meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb 
b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
index fabf59d4b29b..c752a100831f 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
@@ -29,7 +29,7 @@ SRCREV_lss = "fd00dbbd0c06a309c657d89e9430143b179ff6db"
 SRCREV_gyp = "324dd166b7c0b39d513026fa52d6280ac6d56770"
 
 SRC_URI = 
"git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \
-   
git://github.com/google/googletest.git;destsuffix=git/src/testing/gtest;name=gtest;branch=master;protocol=https
 \
+   
git://github.com/google/googletest.git;destsuffix=git/src/testing/gtest;name=gtest;branch=main;protocol=https
 \

git://github.com/protocolbuffers/protobuf.git;destsuffix=git/src/third_party/protobuf/protobuf;name=protobuf;branch=master;protocol=https
 \

git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=git/src/third_party/lss;name=lss
 \

git://chromium.googlesource.com/external/gyp;protocol=https;destsuffix=git/src/tools/gyp;name=gyp;branch=master
 \
-- 
2.31.1


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