Re: How to select Linux kernel version?


JH
 

Thanks Quentin, here are results:

So we can stop half guessing and help you can you give us the output of:
bitbake -e virtual/kernel | grep -e "^PREFERRED_PROVIDER_"
$ bitbake -e virtual/kernel | grep -e "^PREFERRED_PROVIDER_"
PREFERRED_PROVIDER_console-tools="kbd"
PREFERRED_PROVIDER_dbus-glib="dbus-glib"
PREFERRED_PROVIDER_dbus-glib-native="dbus-glib-native"
PREFERRED_PROVIDER_gdb="gdb"
PREFERRED_PROVIDER_gdk-pixbuf="gdk-pixbuf"
PREFERRED_PROVIDER_getopt="util-linux-getopt"
PREFERRED_PROVIDER_gzip-native="pigz-native"
PREFERRED_PROVIDER_libgcc="libgcc"
PREFERRED_PROVIDER_linux-libc-headers="linux-libc-headers"
PREFERRED_PROVIDER_ltp="ltp"
PREFERRED_PROVIDER_matchbox-panel="matchbox-panel-2"
PREFERRED_PROVIDER_nativesdk-libgcc="nativesdk-libgcc"
PREFERRED_PROVIDER_nativesdk-linux-libc-headers="nativesdk-linux-libc-headers"
PREFERRED_PROVIDER_nativesdk-mesa="nativesdk-mesa"
PREFERRED_PROVIDER_nativesdk-openssl="nativesdk-openssl"
PREFERRED_PROVIDER_nativesdk-opkg="nativesdk-opkg"
PREFERRED_PROVIDER_nativesdk-pkgconfig="nativesdk-pkgconfig"
PREFERRED_PROVIDER_openssl="openssl"
PREFERRED_PROVIDER_openssl-native="openssl-native"
PREFERRED_PROVIDER_opkg="opkg"
PREFERRED_PROVIDER_opkg-native="opkg-native"
PREFERRED_PROVIDER_pkgconfig="pkgconfig"
PREFERRED_PROVIDER_pkgconfig-native="pkgconfig-native"
PREFERRED_PROVIDER_udev="systemd"
PREFERRED_PROVIDER_virtual/base-utils="busybox"
PREFERRED_PROVIDER_virtual/egl="mesa"
PREFERRED_PROVIDER_virtual/fakeroot-native="pseudo-native"
PREFERRED_PROVIDER_virtual/gettext="gettext"
PREFERRED_PROVIDER_virtual/i686-oe-linux-binutils="binutils-cross-i686"
PREFERRED_PROVIDER_virtual/i686-oe-linux-compilerlibs="gcc-runtime"
PREFERRED_PROVIDER_virtual/i686-oe-linux-g++="gcc-cross-i686"
PREFERRED_PROVIDER_virtual/i686-oe-linux-gcc="gcc-cross-i686"
PREFERRED_PROVIDER_virtual/kernel="linux-yocto"
PREFERRED_PROVIDER_virtual/libc="glibc"
PREFERRED_PROVIDER_virtual/libc-locale="glibc-locale"
PREFERRED_PROVIDER_virtual/libgl="mesa"
PREFERRED_PROVIDER_virtual/libgl-native="mesa-native"
PREFERRED_PROVIDER_virtual/libgles1="mesa"
PREFERRED_PROVIDER_virtual/libgles2="mesa"
PREFERRED_PROVIDER_virtual/libiconv="glibc"
PREFERRED_PROVIDER_virtual/libintl="glibc"
PREFERRED_PROVIDER_virtual/libx11="libx11"
PREFERRED_PROVIDER_virtual/make="make"
PREFERRED_PROVIDER_virtual/make-native="make-native"
PREFERRED_PROVIDER_virtual/mesa="mesa"
PREFERRED_PROVIDER_virtual/nativesdk-libc="nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libgl="nativesdk-mesa"
PREFERRED_PROVIDER_virtual/nativesdk-libiconv="nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libintl="nativesdk-glibc"
PREFERRED_PROVIDER_virtual/update-alternatives="opkg-utils"
PREFERRED_PROVIDER_virtual/update-alternatives-native="opkg-utils-native"
PREFERRED_PROVIDER_virtual/x86_64-oesdk-linux-binutils-crosssdk="binutils-crosssdk-x86_64-oesdk-linux"
PREFERRED_PROVIDER_virtual/x86_64-oesdk-linux-compilerlibs="nativesdk-gcc-runtime"
PREFERRED_PROVIDER_virtual/x86_64-oesdk-linux-g++="gcc-crosssdk-x86_64-oesdk-linux"
PREFERRED_PROVIDER_virtual/x86_64-oesdk-linux-gcc="gcc-crosssdk-x86_64-oesdk-linux"
PREFERRED_PROVIDER_virtual/xserver="xserver-xorg"
PREFERRED_PROVIDER_virtual/xserver-xf86="xserver-xorg"
PREFERRED_PROVIDER_xf86-video-intel="xf86-video-intel"

bitbake -e virtual/kernel | grep -e "^PREFERRED_VERSION_"
$ bitbake -e virtual/kernel | grep -e "^PREFERRED_VERSION_"
PREFERRED_VERSION_binutils="2.32%"
PREFERRED_VERSION_binutils-cross-canadian-i686="2.32%"
PREFERRED_VERSION_binutils-cross-i686="2.32%"
PREFERRED_VERSION_binutils-crosssdk-x86_64-oesdk-linux="2.32%"
PREFERRED_VERSION_binutils-native="2.32%"
PREFERRED_VERSION_cross-localedef-native="2.30%"
PREFERRED_VERSION_gcc="9.%"
PREFERRED_VERSION_gcc-cross-canadian-i686="9.%"
PREFERRED_VERSION_gcc-cross-i686="9.%"
PREFERRED_VERSION_gcc-cross-initial-i686="9.%"
PREFERRED_VERSION_gcc-crosssdk-initial-x86_64-oesdk-linux="9.%"
PREFERRED_VERSION_gcc-crosssdk-x86_64-oesdk-linux="9.%"
PREFERRED_VERSION_gcc-runtime="9.%"
PREFERRED_VERSION_gcc-sanitizers="9.%"
PREFERRED_VERSION_gdb="8.3%"
PREFERRED_VERSION_gdb-cross-canadian-i686="8.3%"
PREFERRED_VERSION_gdb-cross-i686="8.3%"
PREFERRED_VERSION_glibc="2.30%"
PREFERRED_VERSION_glibc-locale="2.30%"
PREFERRED_VERSION_glibc-mtrace="2.30%"
PREFERRED_VERSION_glibc-scripts="2.30%"
PREFERRED_VERSION_go="1.12%"
PREFERRED_VERSION_go-cross-canadian-i686="1.12%"
PREFERRED_VERSION_go-cross-core2-32="1.12%"
PREFERRED_VERSION_go-crosssdk-x86_64="1.12%"
PREFERRED_VERSION_go-native="1.12%"
PREFERRED_VERSION_go-runtime="1.12%"
PREFERRED_VERSION_libgcc="9.%"
PREFERRED_VERSION_libgcc-initial="9.%"
PREFERRED_VERSION_libgfortran="9.%"
PREFERRED_VERSION_linux-libc-headers="5.2%"
PREFERRED_VERSION_linux-yocto="5.10.%"
PREFERRED_VERSION_llvm="8.0.1"
PREFERRED_VERSION_llvm-native="8.0.1"
PREFERRED_VERSION_nativesdk-gcc="9.%"
PREFERRED_VERSION_nativesdk-gcc-runtime="9.%"
PREFERRED_VERSION_nativesdk-gcc-sanitizers="9.%"
PREFERRED_VERSION_nativesdk-glibc="2.30%"
PREFERRED_VERSION_nativesdk-go="1.12%"
PREFERRED_VERSION_nativesdk-go-runtime="1.12%"
PREFERRED_VERSION_nativesdk-libgcc="9.%"
PREFERRED_VERSION_nativesdk-libgcc-initial="9.%"
PREFERRED_VERSION_nativesdk-linux-libc-headers="5.2%"
PREFERRED_VERSION_nativesdk-llvm="8.0.1"
PREFERRED_VERSION_nativesdk-qemu="4.1%"
PREFERRED_VERSION_qemu="4.1%"
PREFERRED_VERSION_qemu-native="4.1%"
PREFERRED_VERSION_virtual/i686-oe-linux-go="1.12%"
PREFERRED_VERSION_wpa_supplicant="2.6"


bitbake -e virtual/kernel | grep -e "^OVERRIDES="
$ bitbake -e virtual/kernel | grep -e "^OVERRIDES="
OVERRIDES="linux:i686:pn-linux-yocto:x86:qemuall:qemux86:solar-distro:class-target:libc-glibc:forcevariable"

bitbake-layers show-recipes linux-yocto linux-fslc
$ bitbake-layers show-recipes linux-yocto linux-fslc
NOTE: Starting bitbake server...
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 1473 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:02
Parsing of 922 .bb files complete (920 cached, 2 parsed). 1475
targets, 295 skipped, 0 masked, 0 errors.
=== Matching recipes: ===
linux-fslc:
meta-freescale 5.1 (skipped)
linux-yocto:
meta 5.2.28+gitAUTOINC+dd6019025c_992280855e
meta 4.19.87+gitAUTOINC+4f5d761316_b44ad1b1e7

$ cat local.conf
............
PREFERRED_PROVIDER_virtual/kernel="linux-yocto"
PREFERRED_VERSION_linux-yocto = "5.10.%"
.............

Thank you very much.

Kind regards,

- jupiter

Join yocto@lists.yoctoproject.org to automatically receive all group messages.