Comments (7)
After further inspection, the real issue lies with changes to MACHINEOVERRIDES
https://github.com/Freescale/meta-freescale/blob/dunfell/conf/machine/include/imx-base.inc#L23
Possibly because of the old line related to the use-mainline-bsp
: https://github.com/Freescale/meta-freescale/blob/dunfell/conf/machine/include/imx-base.inc#L109
from meta-freescale.
Probably related to #86
May make more sense to modify MACHINEOVERRIDES_EXTENDER_FILTER_OUT
than to revert the base MACHINEOVERRIDES
addition of use-mainline-bsp
, but I'm not familiar with how the machine-overrides-extender
works
from meta-freescale.
It does not seem to be the case. I did:
% MACHINE=nitrogen6x ye x qtbase PACKAGECONFIG
Loading cache: 100% |#########################################################################################################| Time: 0:00:00
Loaded 3344 entries from dependency cache.
=== Final value
PACKAGECONFIG = release accessibility dbus udev evdev widgets tools libs freetype tests pcre openssl gles2 jpeg libpng zlib eglfs
=== Expansion
PACKAGECONFIG ==> ${PACKAGECONFIG_RELEASE} ${PACKAGECONFIG_DEFAULT} ${PACKAGECONFIG_OPENSSL} ${PACKAGECONFIG_GL} ${PACKAGECONFIG_FB} ${PACKAGECONFIG_X11} ${PACKAGECONFIG_KDE} ${PACKAGECONFIG_FONTS} ${PACKAGECONFIG_SYSTEM} ${PACKAGECONFIG_DISTRO} ${PACKAGECONFIG_PLATFORM}
PACKAGECONFIG_RELEASE ==> release
PACKAGECONFIG_DEFAULT ==> accessibility dbus udev evdev widgets tools libs freetype tests pcre ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}
@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d) ==>
@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d) ==>
PACKAGECONFIG_OPENSSL ==> openssl
PACKAGECONFIG_GL ==> gles2
PACKAGECONFIG_FB ==> ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}
@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d) ==>
PACKAGECONFIG_X11 ==> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb glib xkbcommon', '', d)}
@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb glib xkbcommon', '', d) ==>
PACKAGECONFIG_KDE ==> ${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite openssl', '', d)}
@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite openssl', '', d) ==>
PACKAGECONFIG_FONTS ==>
PACKAGECONFIG_SYSTEM ==> jpeg libpng zlib
PACKAGECONFIG_DISTRO ==>
PACKAGECONFIG_PLATFORM ==> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'eglfs', d), d)}
@bb.utils.contains('DISTRO_FEATURES', 'x11', '', bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'eglfs', d), d) ==> eglfs
and more specifically:
% MACHINE=nitrogen6x ye x qtbase PACKAGECONFIG_GL
Loading cache: 100% |#########################################################################################################| Time: 0:00:00
Loaded 3344 entries from dependency cache.
=== Final value
PACKAGECONFIG_GL = gles2
=== Expansion
PACKAGECONFIG_GL ==> gles2
and as expected, below is for mainline:
% MACHINE=imx6qdlsabresd ye x qtbase PACKAGECONFIG_GL
Parsing recipes: 100% |#######################################################################################################| Time: 0:00:13
Parsing of 2245 .bb files complete (0 cached, 2245 parsed). 3344 targets, 485 skipped, 0 masked, 0 errors.
Removing 6 recipes from the x86_64 sysroot: 100% |############################################################################| Time: 0:00:00
=== Final value
PACKAGECONFIG_GL = gl gbm kms
=== Expansion
PACKAGECONFIG_GL ==> ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d)} gbm kms
@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 'no-opengl', d) ==> gl
What layers do you have included and what distro are you using?
from meta-freescale.
@otavio I've been using a BSP based upon the imx6qdlsabreauto/imx6qdlsabresd.
Prior to dunfell, qtbase would build properly.
If you try to build qtbase with framebuffer support (i.e. without X11 or Wayland), the do_configure
step will fail as PACKAGECONFIG_GL returns gl which corresponds to -opengl desktop
.
This also seems to prevent using the imx-gpu-viv
with the "mainline" BSPs. Is that intended?
from meta-freescale.
Yes, as we default to mainline there. If desired, you can set the BSP to NXP and return to old behavior.
Qt failed to build?
from meta-freescale.
@otavio Yes, Qt fails to build. As noted in #86, the use-mainline-bsp
filters out mx6
, mx6q
, mx6dl
, etc.
Prior to this change to MACHINEOVERRIDES, use-mainline-bsp
was only set for specific chipsets, so I guess the MACHINEOVERRIDES_EXTENDER_FILTER_OUT
wasn't such an issue.
Specifically, it doesn't seem that these get added: imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d
from meta-freescale.
Will give dunfell a build and see what happens - wanted to lift our builds anyway. May take a bit.
from meta-freescale.
Related Issues (20)
- Closed sources binaries and compilation flags HOT 3
- imx-gpu-viv-demos: differences between linux-imx and linux-fslc-imx kernels HOT 2
- SRC_URI in `recipes-bsp/uefi/uefi_git.bb` points to old repository org HOT 1
- plat_prng_add_jitter_entropy fatal error on i.MX93 HOT 1
- Upgrade BSP to LF6.6.3_1.0.0 HOT 4
- No kernel log after migration to Scarthgap HOT 5
- pipewire bbappend is not in dynamic-layers
- build fails on meta-freescale/kirkstone due to missing revision in management-console upstream HOT 4
- failure to build kernel-module-nxp89xx on Kirkstone branch HOT 2
- Failed to fetch/checkout linux-fslc in scarthgap HOT 1
- imx93-evk: Failure to detect the SD card HOT 5
- meta-freescale or meta-imx? HOT 1
- IW612 (WiFi) not working on i.MX93EVK HOT 1
- Some OP-TEE tests fail on i.MX93 HOT 6
- Plan to sync `master` to `scarthgap`? HOT 1
- Build failure for core-image-weston (scarthgap) HOT 3
- scarthgap, master: linux-qoriq fails to build since removal of unshared S HOT 5
- qt6 qtbase bbappend is overwriting PACKAGECONFIG from meta-qt6 HOT 2
- Upgrade BSP to LF6.6.23_2.0.0 HOT 2
- Mickledore branch gone HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-freescale.