[linux-yocto] drm/tilcdc: Set preferred depth

2024-03-18 Thread Kevin Hao
The commit c91acda3a380 ("drm/gem: Check for valid formats") adds a
check for valid pixel formats on drm_gem_fb_create(), but this breaks
the X server on the beaglebone black board.

We have set 'DefaultDepth' to 16 in our xorg.conf. In the X modesetting
driver, the drmmode_get_default_bpp() is used to guess the default
depth/bpp. First it tries to get them via DRM_CAP_DUMB_PREFERRED_DEPTH
ioctl, and if it fail, then try to create a FB with 'depth = 24' and
'bpp = 32' to check whether this depth/dpp is a valid combo. Before the
kernel commit c91acda3a380, the FB always can be created successfully.
This will avoid the bpp to be set to 24 forcibly. But after kernel
commit c91acda3a380, the FB will not be created successfully due to the
check of the valid pixel format. Then the bpp is set to 24, but the
'depth = 16' and 'bpp = 24' combo is not a valid pixel format.

Fix this issue by explicitly setting the preferred_depth in this driver.
With this change, the modesetting driver would choose the correct
depth/bpp combo based on our setting in xorg.conf.

Fixes: c91acda3a380 ("drm/gem: Check for valid formats")
Cc: sta...@vger.kernel.org
Signed-off-by: Kevin Hao 
Link: https://lore.kernel.org/r/20240317033918.535716-1-haoke...@gmail.com/
---
Hi Bruce,

Please merge this onto v6.6/standard/base branch.

This patch is still in review, but it fixes the X malfunction on the
beaglebone black, so I want it to be merged as soon as possible. There is
also another patch [1] on the mail list to fix the same issue, but I
like mine and think it is more suitable for a stable kernel fix. There
is also no semantic conflict between these two patches.

[1] 
https://lore.kernel.org/dri-devel/e7ef6d422365986f49746b596735f7a0b939574d.1710698387.git.frej.drejham...@gmail.com/T/#mf85946113936134f54807095b92d7c45428f6004

 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c 
b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 2f6eaac7f659..daff3926ab89 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -269,6 +269,7 @@ static int tilcdc_init(const struct drm_driver *ddrv, 
struct device *dev)
 
pm_runtime_put_sync(dev);
 
+   ddev->mode_config.preferred_depth = 16;
if (priv->rev == 1) {
DBG("Revision 1 LCDC supports only RGB565 format");
priv->pixelformats = tilcdc_rev1_formats;
@@ -284,6 +285,7 @@ static int tilcdc_init(const struct drm_driver *ddrv, 
struct device *dev)
priv->num_pixelformats =
ARRAY_SIZE(tilcdc_crossed_formats);
bpp = 32; /* Choose bpp with RGB support for fbdef */
+   ddev->mode_config.preferred_depth = 24;
} else if (0 == strcmp(str, "straight")) {
DBG("Configured for straight blue and red wires");
priv->pixelformats = tilcdc_straight_formats;
-- 
2.44.0


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



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

2024-03-18 Thread Stephen Jolley
All,

YP M+ or high bugs which moved to a new milestone in WW11 are listed below:
Priority Bug ID Short Description Changer Owner Was Became
High 15440  [5.0
M3 RC1] Fail to start matchbox-desktop on beaglebone
randy.macl...@windriver.com kexin@windriver.com 0.0.0 5.0 M4
Medium+ 12723  mysql
requires unicode and char length filtering david.re...@windriver.com
david.re...@windriver.com 5.0 M3 5.0 M4
13103  [Bug][QA
2.7 M1 rc1][Toaster] "Recipes" table  and  "machines" table are not
getting populated after clicking on imported layer as well as after
clicking Machines Tab on project page david.re...@windriver.com
david.re...@windriver.com 5.0 M3 5.0 M4
13109  Implement
CPE to package to Release mapping david.re...@windriver.com
david.re...@windriver.com 5 5.0 M4
13533  Devtool
finish on _git package with SRCPV in PV points to wrong WORKDIR
david.re...@windriver.com david.re...@windriver.com 5.0 M3 5.0 M4
14814  ncurses
version of taskexp.py david.re...@windriver.com david.re...@windriver.com 5.0
M3 5.0 M4
15439 
python-cryptodomex
has inconsistent internal imports causing ImportError
randy.macl...@windriver.com erode...@digi.com 0.0.0 5.0 M4
15442  do_create_spdx
failures if DISTRO changes PV of the package randy.macl...@windriver.com
jpewhac...@gmail.com 0.0.0 5.0 M4

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 (#62790): https://lists.yoctoproject.org/g/yocto/message/62790
Mute This Topic: https://lists.yoctoproject.org/mt/105015432/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Enhancements/Bugs closed WW11!

2024-03-18 Thread Stephen Jolley
All,

The below were the owners of enhancements or bugs closed during the last
week!
Who Count
ross.bur...@arm.com 1
Grand Total 1

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 (#62789): https://lists.yoctoproject.org/g/yocto/message/62789
Mute This Topic: https://lists.yoctoproject.org/mt/105015415/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-03-18 Thread Stephen Jolley
All,

Below is the list of top 24 bug owners as of the end of WW11 who have open
medium or higher bugs and enhancements against YP 5.0. There are 30
possible work days left until the final release candidates for YP 5.0 needs
to be released.
Who Count
ross.bur...@arm.com 34
randy.macl...@windriver.com 26
richard.pur...@linuxfoundation.org 25
bruce.ashfi...@gmail.com 20
jpewhac...@gmail.com 12
pa...@zhukoff.net 10
tim.orl...@konsulko.com 4
michael.opdenac...@bootlin.com 4
yoann.con...@smile.fr 2
yash.shi...@windriver.com 2
pi...@pidge.org 2
kexin@windriver.com 2
dl...@gmx.de 2
alexandre.bell...@bootlin.com 2
thomas.per...@bootlin.com 1
sundeep.kokko...@windriver.com 1
s...@bigsur.com 1
rybczyn...@gmail.com 1
rpj...@crashcourse.ca 1
qi.c...@windriver.com 1
mhalst...@linuxfoundation.org 1
jens.ge...@desy.de 1
fathi.bou...@linaro.org 1
bluelightn...@bluelightning.org 1
Grand Total 157

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 (#62788): https://lists.yoctoproject.org/g/yocto/message/62788
Mute This Topic: https://lists.yoctoproject.org/mt/105015362/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] install-vs-shipped

2024-03-18 Thread Brennan Coslett
I think you are looking for `inherit nopackages`

- Brennan

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



[yocto] install-vs-shipped

2024-03-18 Thread Bratiranjan Acharya
Hi,
There is a library i want to use from the upstream named as easyloggingpp
the link is here https://github.com/abumq/easyloggingpp and following the
readme to generate the static library "libeasyloggingpp.a" i have written a
recipe for a particular tag.


*easyloggingpp.bb
--*LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a5579a1688435c42607edb4b751495bf"
#PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://
github.com/abumq/easyloggingpp.git;protocol=https;branch=master"
PV = "1.0+git${SRCPV}"
SRCREV = "v9.97.1"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "-Dbuild_static_lib=ON"

*--*"-Dbuild_static_lib=ON"
will generate the libeasylogging.a but i when i am executing this recipe i
am stucking with this error


*ERROR*ERROR:
easyloggingpp-1.0+gitAUTOINC+f1f6d98c4c-r0 do_package: QA Issue:
easyloggingpp: Files/directories were installed but not shipped in any
package:
  /usr/lib
  /usr/lib/libeasyloggingpp.a
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
easyloggingpp: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: easyloggingpp-1.0+gitAUTOINC+f1f6d98c4c-r0 do_package: Fatal QA
errors were found, failing task.
ERROR: Logfile of failure stored in:
/local/home/acbratir/Workspace/build/tmp/work/armv8-2a-poky-linux/easyloggingpp/1.0+gitAUTOINC+f1f6d98c4c-r0/temp/log.do_package.8024
ERROR: Task
(/local/home/acbratir/Workspace/poky/../sources/meta-juju/recipes-support/easyloggingpp/easyloggingpp_9.97.1.bb:do_package)
failed with exit code '1'
*-*
I have tried many ways to slove this by using ${PN}-static dev first the
${PN}-dev as per the order. But i was unable to solve this and now i am
clueless to solve this.Kindly help!

*In the ${WORKDIR} these are the paths where the lib is generating*
-
./build/libeasyloggingpp.a
./package/usr/lib/libeasyloggingpp.a
./image/usr/lib/libeasyloggingpp.a




*---Help
me to solve Thanks & RegardsBrati*

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



Re: [yocto] [meta-mingw] [PATCH] mingw-w64: upgrade to 11.0.1

2024-03-18 Thread Joshua Watt
Thanks.

I put this in master-next, but we are pretty close to scarthgap
release, so I'm not sure when this will get a chance to run on the AB;
please check back if it's not merged in a week or so.

On Mon, Mar 18, 2024 at 6:45 AM Samuli Piippo  wrote:
>
> Upgrade to latest release of MinGW-w64.
>
> Signed-off-by: Samuli Piippo 
> ---
>  recipes-devtools/mingw-w64/mingw-w64.inc| 2 +-
>  ...4-headers_9.0.0.bb => nativesdk-mingw-w64-headers_11.0.1.bb} | 0
>  ...4-runtime_9.0.0.bb => nativesdk-mingw-w64-runtime_11.0.1.bb} | 0
>  ...reads_9.0.0.bb => nativesdk-mingw-w64-winpthreads_11.0.1.bb} | 0
>  4 files changed, 1 insertion(+), 1 deletion(-)
>  rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-headers_9.0.0.bb => 
> nativesdk-mingw-w64-headers_11.0.1.bb} (100%)
>  rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-runtime_9.0.0.bb => 
> nativesdk-mingw-w64-runtime_11.0.1.bb} (100%)
>  rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-winpthreads_9.0.0.bb 
> => nativesdk-mingw-w64-winpthreads_11.0.1.bb} (100%)
>
> diff --git a/recipes-devtools/mingw-w64/mingw-w64.inc 
> b/recipes-devtools/mingw-w64/mingw-w64.inc
> index ce5d0db..713c0ad 100644
> --- a/recipes-devtools/mingw-w64/mingw-w64.inc
> +++ b/recipes-devtools/mingw-w64/mingw-w64.inc
> @@ -5,7 +5,7 @@ COMPATIBLE_HOST = ".*-mingw.*"
>
>  SRC_URI = 
> "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2"
>
> -SRC_URI[sha256sum] = 
> "1929b94b402f5ff4d7d37a9fe88daa9cc55515a6134805c104d1794ae22a4181"
> +SRC_URI[sha256sum] = 
> "3f66bce069ee8bed7439a1a13da7cb91a5e67ea6170f21317ac7f5794625ee10"
>
>  UPSTREAM_CHECK_URI = 
> "http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/;
>  UPSTREAM_CHECK_REGEX = "mingw-w64-v(?P(\d+[\.\-_]*)+)\.tar"
> diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_9.0.0.bb 
> b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_11.0.1.bb
> similarity index 100%
> rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_9.0.0.bb
> rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_11.0.1.bb
> diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_9.0.0.bb 
> b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_11.0.1.bb
> similarity index 100%
> rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_9.0.0.bb
> rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_11.0.1.bb
> diff --git 
> a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb 
> b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_11.0.1.bb
> similarity index 100%
> rename from 
> recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb
> rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_11.0.1.bb
> --
> 2.25.1
>

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



[yocto] [meta-mingw] [PATCH] mingw-w64: upgrade to 11.0.1

2024-03-18 Thread Samuli Piippo
Upgrade to latest release of MinGW-w64.

Signed-off-by: Samuli Piippo 
---
 recipes-devtools/mingw-w64/mingw-w64.inc| 2 +-
 ...4-headers_9.0.0.bb => nativesdk-mingw-w64-headers_11.0.1.bb} | 0
 ...4-runtime_9.0.0.bb => nativesdk-mingw-w64-runtime_11.0.1.bb} | 0
 ...reads_9.0.0.bb => nativesdk-mingw-w64-winpthreads_11.0.1.bb} | 0
 4 files changed, 1 insertion(+), 1 deletion(-)
 rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-headers_9.0.0.bb => 
nativesdk-mingw-w64-headers_11.0.1.bb} (100%)
 rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-runtime_9.0.0.bb => 
nativesdk-mingw-w64-runtime_11.0.1.bb} (100%)
 rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-winpthreads_9.0.0.bb => 
nativesdk-mingw-w64-winpthreads_11.0.1.bb} (100%)

diff --git a/recipes-devtools/mingw-w64/mingw-w64.inc 
b/recipes-devtools/mingw-w64/mingw-w64.inc
index ce5d0db..713c0ad 100644
--- a/recipes-devtools/mingw-w64/mingw-w64.inc
+++ b/recipes-devtools/mingw-w64/mingw-w64.inc
@@ -5,7 +5,7 @@ COMPATIBLE_HOST = ".*-mingw.*"
 
 SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2"
 
-SRC_URI[sha256sum] = 
"1929b94b402f5ff4d7d37a9fe88daa9cc55515a6134805c104d1794ae22a4181"
+SRC_URI[sha256sum] = 
"3f66bce069ee8bed7439a1a13da7cb91a5e67ea6170f21317ac7f5794625ee10"
 
 UPSTREAM_CHECK_URI = 
"http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/;
 UPSTREAM_CHECK_REGEX = "mingw-w64-v(?P(\d+[\.\-_]*)+)\.tar"
diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_9.0.0.bb 
b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_11.0.1.bb
similarity index 100%
rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_9.0.0.bb
rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_11.0.1.bb
diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_9.0.0.bb 
b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_11.0.1.bb
similarity index 100%
rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_9.0.0.bb
rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_11.0.1.bb
diff --git 
a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb 
b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_11.0.1.bb
similarity index 100%
rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb
rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_11.0.1.bb
-- 
2.25.1


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



[linux-yocto][yocto-kernel-cache][master/yocto-6.6][PATCH 1/3] features/vfio: remove CONFIG_VFIO_VIRQFD

2024-03-18 Thread Yongxin Liu via lists.yoctoproject.org
CONFIG_VFIO_VIRQFD was changed to bool in kernel commit
e2d55709398e ("vfio: Fold vfio_virqfd.ko into vfio.ko") and
it is not user selectable.

Signed-off-by: Yongxin Liu 
---
 features/vfio/vfio.cfg | 1 -
 1 file changed, 1 deletion(-)

diff --git a/features/vfio/vfio.cfg b/features/vfio/vfio.cfg
index 96c9208e..2a38f6d9 100644
--- a/features/vfio/vfio.cfg
+++ b/features/vfio/vfio.cfg
@@ -1,6 +1,5 @@
 # SPDX-License-Identifier: MIT
 CONFIG_VFIO_IOMMU_TYPE1=m
-CONFIG_VFIO_VIRQFD=m
 CONFIG_VFIO=m
 CONFIG_VFIO_PCI=m
 CONFIG_VFIO_PCI_VGA=y
-- 
2.43.2


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



[linux-yocto][yocto-kernel-cache][master/yocto-6.6][PATCH 2/3] features/vfio: remove CONFIG_VFIO_MDEV

2024-03-18 Thread Yongxin Liu via lists.yoctoproject.org
CONFIG_VFIO_MDEV wasn't a user choice after kerne commit
8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol").

Signed-off-by: Yongxin Liu 
---
 features/vfio/vfio.cfg | 1 -
 1 file changed, 1 deletion(-)

diff --git a/features/vfio/vfio.cfg b/features/vfio/vfio.cfg
index 2a38f6d9..94991365 100644
--- a/features/vfio/vfio.cfg
+++ b/features/vfio/vfio.cfg
@@ -6,4 +6,3 @@ CONFIG_VFIO_PCI_VGA=y
 CONFIG_VFIO_PCI_MMAP=y
 CONFIG_VFIO_PCI_INTX=y
 CONFIG_VIRT_DRIVERS=y
-CONFIG_VFIO_MDEV=m
-- 
2.43.2


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



[linux-yocto][yocto-kernel-cache][master/yocto-6.6][PATCH 3/3] bsp/intel-x86: remove CONFIG_IXGB

2024-03-18 Thread Yongxin Liu via lists.yoctoproject.org
ixgb driver was removed in kernel commit e485f3a6eae0
("ixgb: Remove ixgb driver").

Signed-off-by: Yongxin Liu 
---
 bsp/intel-x86/intel-x86.cfg | 5 -
 1 file changed, 5 deletions(-)

diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
index ee01e61e..8266bf8f 100644
--- a/bsp/intel-x86/intel-x86.cfg
+++ b/bsp/intel-x86/intel-x86.cfg
@@ -153,11 +153,6 @@ CONFIG_HOSTAP=y
 #
 CONFIG_RTL8723BE=m
 
-#
-# Intel devices
-#
-CONFIG_IXGB=y
-
 #
 # nvram support
 #
-- 
2.43.2


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



Re: [yocto] [meta-lts-mixins][kirkstone/rust][PATCH 10/11] rust: reproducibility issue fix with v1.75

2024-03-18 Thread Jose Quaresma
Thanks for the update.

Jose

Scott Murray  escreveu (segunda, 18/03/2024 à(s)
00:10):

> On Tue, 12 Mar 2024, Scott Murray wrote:
>
> > On Tue, 12 Mar 2024, Jose Quaresma wrote:
> >
> > > Hi Sundeep,
> > >
> > > Sundeep KOKKONDA  escreveu (terça,
> > > 12/03/2024 à(s) 03:45):
> > >
> > > > Hello,
> > > >
> > > > FYI. There is a V2 available for this patch with upstream fix
> backport.
> > > > You can consider that.
> > > >
> > > > https://lists.openembedded.org/g/openembedded-core/message/196856
> > >
> > >
> > > Sure, when this one is integrated on the master branch I can create a
> > > backport for it too.
> > > Thanks for the notification.
> >
> > I got back from a couple of weeks out of the office (conference followed
> > by vacation) yesterday, I aim to test the patch series locally and merge
> > it to kirkstone/rust in the next couple of days.  We now seem to need
> > newer than Rust 1.70 for a recipe in AGL, so I'll likely be switching AGL
> > to using kirkstone/rust as well.
>
> I have merged the current patch series to kirkstone/rust with a minor
> tweak to update the layer.conf RUSTVERSION over-ride to match 1.75, and
> adding pointers to the original oe-core commits in the commit messages.
>
> Thanks,
>
> Scott
>
>
> > > > On 11-Mar-24 21:54, Jose Quaresma wrote:
> > > > > CAUTION: This email comes from a non Wind River email account!
> > > > > Do not click links or open attachments unless you recognize the
> sender
> > > > and know the content is safe.
> > > > >
> > > > > From: Yash Shinde 
> > > > >
> > > > > With 1.75 rust release, the '.rustc' section of shared object libs
> are
> > > > embedded with absolute path names which is casuing reproducibiluty
> issues.
> > > > > This change will fix the path name format back to '/rust/$hash' as
> in
> > > > earlier versions.
> > > > >
> > > > > Below are the links for detailed bug description & discusssion with
> > > > upstream rust.
> > > > >
> https://github.com/rust-lang/rust/issues/120825#issuecomment-1964307219
> > > > >
> https://github.com/rust-lang/rust/issues/120825#issuecomment-1964652656
> > > > >
> > > > > Signed-off-by: Sundeep KOKKONDA 
> > > > > Signed-off-by: Yash Shinde 
> > > > > Signed-off-by: Richard Purdie 
> > > > > Signed-off-by: Jose Quaresma 
> > > > > ---
> > > > >   .../files/repro-issue-fix-with-v175.patch | 23
> +++
> > > > >   recipes-devtools/rust/rust-source.inc |  1 +
> > > > >   2 files changed, 24 insertions(+)
> > > > >   create mode 100644
> > > > recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
> > > > >
> > > > > diff --git
> a/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
> > > > b/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
> > > > > new file mode 100644
> > > > > index 000..6840baf
> > > > > --- /dev/null
> > > > > +++ b/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
> > > > > @@ -0,0 +1,23 @@
> > > > > +rust: reproducibility issue fix with v1.75
> > > > > +
> > > > > +With 1.75 rust release, the '.rustc' section of shared object
> libs are
> > > > embedded with absolute path names which is casuing reproducibiluty
> issues.
> > > > > +This change will fix the path name format back to '/rust/$hash'
> as in
> > > > earlier versions.
> > > > > +
> > > > > +Below are the links for detailed bug description & discusssion
> with
> > > > upstream rust.
> > > > > +
> https://github.com/rust-lang/rust/issues/120825#issuecomment-1964307219
> > > > > +
> https://github.com/rust-lang/rust/issues/120825#issuecomment-1964652656
> > > > > +
> > > > > +Upstream-Status: Inappropriate [patches need rework]
> > > > > +Signed-off-by: Sundeep KOKKONDA 
> > > > > +---
> > > > > +--- a/compiler/rustc_session/src/session.rs2023-12-21
> > > > 08:55:28.0 -0800
> > > > >  b/compiler/rustc_session/src/session.rs2024-02-26
> > > > 07:29:15.527577022 -0800
> > > > > +@@ -1269,7 +1269,7 @@
> > > > > + | CrateType::Rlib
> > > > > + | CrateType::Staticlib
> > > > > + | CrateType::Cdylib => continue,
> > > > > +-CrateType::ProcMacro => return false,
> > > > > ++CrateType::ProcMacro => return true,
> > > > > + }
> > > > > + }
> > > > > +
> > > > > diff --git a/recipes-devtools/rust/rust-source.inc
> > > > b/recipes-devtools/rust/rust-source.inc
> > > > > index 8ae8add..6bef990 100644
> > > > > --- a/recipes-devtools/rust/rust-source.inc
> > > > > +++ b/recipes-devtools/rust/rust-source.inc
> > > > > @@ -12,6 +12,7 @@ SRC_URI += "
> > > > https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
> > > > >   file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \
> > > > >   file://target-build-value.patch;patchdir=${RUSTSRC} \
> > > > >
> > > >
> file://0001-Handle-vendored-sources-when-remapping-paths.patch;patchdir=${RUSTSRC}
> > > > \
> > > > > +
> file://repro-issue-fix-with-v175.patch;patchdir=${RUSTSRC} 

[yocto] Transaction test error in RaspberryPI4 build with picamera and libGL

2024-03-18 Thread fixed-term.tudor-cristian.morosanu via lists.yoctoproject.org
I want to include the python3-picamera library provided by meta-raspberrypi, 
and I do in my local.conf IMAGE_INSTALL:append = " python3-picamera", However, 
when I do my bitbake core-image-base, when building do_rootfs, I get an error 
saying:
Total size: 147 M
Installed size: 432 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
file /usr/lib/libGLESv2.so conflicts between attempted installs of 
libgles2-mesa-dev-2:22.0.3-r0.cortexa7t2hf_neon_vfpv4 and 
picamera-libs-20220830-r0.cortexa7t2hf_neon_vfpv4
file /usr/lib/libEGL.so conflicts between attempted installs of 
libegl-mesa-dev-2:22.0.3-r0.cortexa7t2hf_neon_vfpv4 and 
picamera-libs-20220830-r0.cortexa7t2hf_neon_vfpv4

I have tried removing the conflicting files adding in do_install() some rm -rf 
as I have found on the internet, however this solution generates other problems 
and I do not think it is a reliable fix. Can someone please help me solve this 
problem?

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



Re: [yocto] [meta-security][PATCH] python3-pyinotify: do not rely on smtpd module

2024-03-18 Thread Yu, Mingli
Sent the patch 
https://patchwork.yoctoproject.org/project/yocto/patch/20240318064035.1053444-1-mingli...@windriver.com/ 
to fix the issue.


Thanks,

On 3/18/24 10:24, Yu, Mingli wrote:

Below error issues once the RDEPENDS removed.

# python3
Python 3.12.1 (main, Dec  7 2023, 20:45:44) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
 >>> import pyinotify
Traceback (most recent call last):
   File "", line 1, in 
   File "/usr/lib64/python3.12/site-packages/pyinotify.py", line 71, in 


     import asyncore
ModuleNotFoundError: No module named 'asyncore'
 >>>

Thanks,


On 1/23/24 22:38, Armin Kuster wrote:

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender 
and know the content is safe.


It's not mentioned anywhere in source code, and python 3.12
has removed it.

Signed-off-by: Armin Kuster 
---
  .../recipes-devtools/python/python3-pyinotify_0.9.6.bb   | 1 -
  1 file changed, 1 deletion(-)

diff --git 
a/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb b/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb

index 8dd5e15..963fcfe 100644
--- 
a/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb
+++ 
b/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb

@@ -9,7 +9,6 @@ RDEPENDS:${PN} += "\
  ${PYTHON_PN}-logging \
  ${PYTHON_PN}-misc \
  ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-smtpd \
  ${PYTHON_PN}-threading \
  "

--
2.34.1











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



[yocto] [meta-security][PATCH] python3-pyinotify: Make asyncore support optional for Python 3

2024-03-18 Thread Yu, Mingli
From: Mingli Yu 

Simple fix for Python 3.12 since it dropped asyncore. Catches the import
error instead of using a version check so that the user can install the
compatibility package for any uses that can't be upgraded to asyncio or
similar immediately.

Fixes:
 # python3
 Python 3.12.1 (main, Dec 7 2023, 20:45:44) [GCC 13.2.0] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import pyinotify
 Traceback (most recent call last):
 File "", line 1, in 
 File "/usr/lib64/python3.12/site-packages/pyinotify.py", line 71, in 
 import asyncore
 ModuleNotFoundError: No module named 'asyncore'
 >>>

Signed-off-by: Mingli Yu 
---
 ...yncore-support-optional-for-Python-3.patch | 92 +++
 .../python/python3-pyinotify_0.9.6.bb |  4 +
 2 files changed, 96 insertions(+)
 create mode 100644 
dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify/0001-Make-asyncore-support-optional-for-Python-3.patch

diff --git 
a/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify/0001-Make-asyncore-support-optional-for-Python-3.patch
 
b/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify/0001-Make-asyncore-support-optional-for-Python-3.patch
new file mode 100644
index 000..075a035
--- /dev/null
+++ 
b/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify/0001-Make-asyncore-support-optional-for-Python-3.patch
@@ -0,0 +1,92 @@
+From 478d595a7d086423733e9f5da5edfe9f1df48682 Mon Sep 17 00:00:00 2001
+From: Troy Curtis Jr 
+Date: Thu, 10 Aug 2023 21:51:15 -0400
+Subject: [PATCH] Make asyncore support optional for Python 3.
+
+Fixes #204.
+
+Upstream-Status: Submitted [https://github.com/seb-m/pyinotify/pull/205]
+
+Signed-off-by: Mingli Yu 
+
+---
+ python3/pyinotify.py | 50 +---
+ 1 file changed, 28 insertions(+), 22 deletions(-)
+
+diff --git a/python3/pyinotify.py b/python3/pyinotify.py
+index bc24313..f4a5a90 100755
+--- a/python3/pyinotify.py
 b/python3/pyinotify.py
+@@ -68,7 +68,6 @@ from collections import deque
+ from datetime import datetime, timedelta
+ import time
+ import re
+-import asyncore
+ import glob
+ import locale
+ import subprocess
+@@ -1494,33 +1493,40 @@ class ThreadedNotifier(threading.Thread, Notifier):
+ self.loop()
+ 
+ 
+-class AsyncNotifier(asyncore.file_dispatcher, Notifier):
+-"""
+-This notifier inherits from asyncore.file_dispatcher in order to be able 
to
+-use pyinotify along with the asyncore framework.
++try:
++import asyncore
+ 
+-"""
+-def __init__(self, watch_manager, default_proc_fun=None, read_freq=0,
+- threshold=0, timeout=None, channel_map=None):
++class AsyncNotifier(asyncore.file_dispatcher, Notifier):
+ """
+-Initializes the async notifier. The only additional parameter is
+-'channel_map' which is the optional asyncore private map. See
+-Notifier class for the meaning of the others parameters.
++This notifier inherits from asyncore.file_dispatcher in order to be 
able to
++use pyinotify along with the asyncore framework.
+ 
+ """
+-Notifier.__init__(self, watch_manager, default_proc_fun, read_freq,
+-  threshold, timeout)
+-asyncore.file_dispatcher.__init__(self, self._fd, channel_map)
++def __init__(self, watch_manager, default_proc_fun=None, read_freq=0,
++ threshold=0, timeout=None, channel_map=None):
++"""
++Initializes the async notifier. The only additional parameter is
++'channel_map' which is the optional asyncore private map. See
++Notifier class for the meaning of the others parameters.
+ 
+-def handle_read(self):
+-"""
+-When asyncore tells us we can read from the fd, we proceed processing
+-events. This method can be overridden for handling a notification
+-differently.
++"""
++Notifier.__init__(self, watch_manager, default_proc_fun, 
read_freq,
++  threshold, timeout)
++asyncore.file_dispatcher.__init__(self, self._fd, channel_map)
+ 
+-"""
+-self.read_events()
+-self.process_events()
++def handle_read(self):
++"""
++When asyncore tells us we can read from the fd, we proceed 
processing
++events. This method can be overridden for handling a notification
++differently.
++
++"""
++self.read_events()
++self.process_events()
++except ImportError:
++# asyncore was removed in Python 3.12, but try the import instead of a
++# version check in case the compatibility package is installed.
++pass
+ 
+ 
+ class TornadoAsyncNotifier(Notifier):
+-- 
+2.25.1
+
diff --git 
a/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb