From 3eeda90d141cf2db6541a740e22e20be04504bb5 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 19 May 2023 10:14:02 -0500 Subject: subtree updates meta-openembedded: f3cdc9d7ee..0474e0b870: Alexander Amelkin (1): ipmitool: Update links Bhargav Das (1): python3-libevdev: Add recipe for python libevdev module. Changqing Li (1): redis: upgrade 6.2.11 -> 6.2.12 Chen Qi (1): frr: add CVE_PRODUCT Diego Dassie (2): paho-mqtt-c: Disable building tests paho-mqtt-c: Improve performance Fabio Estevam (1): lvgl: lvgl-demo-fb: Inherit features_check Johannes Kauffmann (2): open62541: allow overriding encryption providers open62541: disable warnings as errors Jun Nie (3): libcbor: Add initial support python3-pefile: Add initial support python3-uswid: Add initial support Khem Raj (27): gitpkgv: Fix python deprecation warning python3-pyzstd: Disable LTO on clang+arm libftdi: Remove sysroot paths from .cmake files libencode-perl: Remove buildpaths from generated .exh files libcdio: Drop need for LIBCDIO_SOURCE_PATH enca: Remove buildpaths from target scripts libirecovery: Add missing build dependency on readline usbmuxd: Remove recipe for 1.1.1 usbmuxd: Updgrade to latest on master branch packagegroup-meta-oe: Add kpatch for glibc + x86_64 only packagegroup-meta-oe: Remove minicoredumper-ptest for musl libimobiledevice: Delete recipe for 1.3.0 libimobiledevice: Update to latest tip libimobiledevice: Fix build with clang idevicerestore: Update to latest on master branch libpaper: Add recipe psutils: Add recipe nodejs: Upgrade to 18.16.0 python3-pylint: Fix missing deps for ptests etcd: Inherit missing features_check fftw: Remove hardcoded sysroot into binaries lmdb: Pass CFLAGS to Makefile squid: Remove buildpaths from generated binaries libiio: Do not generate lineinfo in lex/yacc generated files php: Remove buildpaths from scripts and generated headers uw-imap: Pass CFLAGS from environment libmad: Add a patch to pass cflags to build Marcel Ziswiler (1): libusbgx: fix device hot-plug use case Marek Vasut (7): lvgl: Upgrade lvgl to 8.3.7 and lv-driver to 8.3.0 lvgl: Activate custom tick implementation lvgl: Add configurable color depth, default to 32bpp lvgl: Support both fbdev and wayland backends lvgl: Update lvgl-demo-fb to 8.3.0 lvgl: Upgrade dialog-lvgl to next/main version lvgl: Add dependency on fbdev into lvgl-demo-fb DISTRO_FEATURES Markus Volk (12): xdg-desktop-portal-wlr: update 0.6.0 -> 0.7.0 python3-pillow: add libxcb to RDEPENDS for x11 adw-gtk3: update 4.5 -> 4.6 paprefs: add recipe imaagemagick: update 7.1.1-5 -> 7.1.1-8 fuse3: update 3.12.0 -> 3.14.1 gnome-software: update 44.0 -> 44.1 gjs: update 1.75.1 -> 1.76.0 evince: update 44.0 -> 44.1 gdm: update 44.0 -> 44.1 xdg-desktop-portal-gnome: update 44.0 -> 44.1 libcamera: update 0.0.4 -> 0.0.5 Martin Jansa (18): glfw: respect DISTRO_FEATURES when enabling x11 in default PACKAGECONFIG and return it to REQUIRED_DISTRO_FEATURES libreport: add dependency on libarchive libxmlb: add missing dependency on glib-2.0 and xz geoclue: fix build without gobject-introspection-data appstream: fix build without gobject-introspection-data ostree: fix build without gobject-introspection-data rdfind: fix build with -Werror=return-type spice-gtk: respect gobject-introspection-data cpulimit: fix do_install with multilib libnfs: fix installed-vs-shipped issues with multilib btrfsmaintenance: install to ${datadir}/${BPN} libtomcrypt: pass LIBPATH to fix installed-vs-shipped with multilib nanopb: fix installed-vs-shipped with multilib nv-codec-headers: fix installed-vs-shipped with multilib zfs: fix installation paths for multilib poppler: add dependency on glib-2.0-native paprefs: add x11 to REQUIRED_DISTRO_FEATURES etcd: don't hardcode /usr/lib in do_install Matija Tudan (1): serial: add recipe for version 1.2.1 Ming Liu (4): libusbgx: uprev to the latest commit libusbgx: fix some systemd service conditions libusbgx: drop hard-coded /usr/bin,/etc libusbgx: check scripts in /etc/usbgx.d Mingli Yu (1): minicoredumper: correct the sysvinit service file attribute Petr Gotthard (4): strongswan: add PACKAGECONFIG for the NetworkManager module openfortivpn: add new recipe networkmanager-fortisslvpn: add new recipe networkmanager-openconnect: add new recipe Ross Burton (6): v4l-utils: do out-of-tree builds python3-ninja: simplify recipe libisofs: add new recipe libburn: move to meta-filesystems libisoburn: add new recipe xorriso: remove obsolete recipe Trevor Gamblin (9): python3-pytest-mock: Add recipe python3-tomlkit: Add recipe ptest-packagelists-meta-python: Add new tests python3-platformdirs: Add recipe python3-pylint: upgrade 2.14.5 -> 2.17.3 python3-pylint: add ptest ptest-packagelists-meta-python: Add new tests python3-pylint: upgrade 2.17.3 -> 2.17.4 python3-pylint: omit failing pickle test Vasileios Anagnostopoulos (1): asio: update to 1.28.0 Wang Mingyu (74): abseil-cpp: upgrade 20230125.2 -> 20230125.3 appstream: upgrade 0.16.1 -> 0.16.2 babl: upgrade 0.1.104 -> 0.1.106 audit: upgrade 3.1 -> 3.1.1 boost-sml: upgrade 1.1.6 -> 1.1.8 ctags: upgrade 6.0.20230416.0 -> 6.0.20230430.0 eog: upgrade 44.0 -> 44.1 gspell: upgrade 1.12.0 -> 1.12.1 etcd-cpp-apiv3: upgrade 0.14.2 -> 0.14.3 googlebenchmark: upgrade 1.7.1 -> 1.8.0 hwdata: upgrade 0.369 -> 0.370 libbpf: upgrade 1.1.0 -> 1.2.0 iozone3: upgrade 492 -> 506 libadwaita: upgrade 1.3.1 -> 1.3.2 libcgi-perl: upgrade 4.56 -> 4.57 libjs-jquery-cookie: upgrade 3.0.1 -> 3.0.5 libmodule-build-tiny-perl: upgrade 0.043 -> 0.045 log4cpp: upgrade 1.1.3 -> 1.1.4 nautilus: upgrade 44.0 -> 44.1 makedumpfile: upgrade 1.7.2 -> 1.7.3 mg: upgrade 20230406 -> 20230501 python3-yarl: upgrade 1.8.2 -> 1.9.2 python3-alembic: upgrade 1.10.3 -> 1.10.4 python3-cassandra-driver: upgrade 3.26.0 -> 3.27.0 python3-can: upgrade 4.1.0 -> 4.2.0 python3-astroid: upgrade 2.15.3 -> 2.15.4 python3-argcomplete: upgrade 3.0.5 -> 3.0.8 python3-coverage: upgrade 7.2.3 -> 7.2.5 python3-imageio: upgrade 2.27.0 -> 2.28.1 python3-gast: upgrade 0.5.3 -> 0.5.4 python3-langtable: upgrade 0.0.61 -> 0.0.62 python3-flask-socketio: upgrade 5.3.3 -> 5.3.4 python3-elementpath: upgrade 4.1.1 -> 4.1.2 python3-nocasedict: upgrade 2.0.0 -> 2.0.1 python3-protobuf: upgrade 4.22.3 -> 4.22.4 python3-pint: upgrade 0.20.1 -> 0.21 python3-pulsectl: upgrade 22.3.2 -> 23.5.0 python3-pika: upgrade 1.3.1 -> 1.3.2 python3-pymisp: upgrade 2.4.170.1 -> 2.4.170.2 python3-pyudev: upgrade 0.24.0 -> 0.24.1 python3-regex: upgrade 2023.3.23 -> 2023.5.5 python3-rich: upgrade 13.3.4 -> 13.3.5 python3-smpplib: upgrade 2.2.2 -> 2.2.3 python3-sentry-sdk: upgrade 1.20.0 -> 1.22.1 python3-sqlalchemy: upgrade 2.0.9 -> 2.0.12 python3-termcolor: upgrade 2.2.0 -> 2.3.0 python3-twitter: upgrade 4.13.0 -> 4.14.0 python3-web3: upgrade 6.2.0 -> 6.3.0 tracker: upgrade 3.5.0 -> 3.5.1 python3-zeroconf: upgrade 0.56.0 -> 0.62.0 python3-xstatic: upgrade 1.0.2 -> 1.0.3 python3-requests-toolbelt: upgrade 0.10.1 -> 1.0.0 libimobiledevice-glue: SRCREV bump d2ff796..114098d libplist: upgrade 2.2.0 -> 2.3.0 ctags: upgrade 6.0.20230430.0 -> 6.0.20230507.0 libnet-dns-perl: upgrade 1.37 -> 1.38 libdivecomputer: upgrade 0.7.0 -> 0.8.0 python3-platformdirs: upgrade 3.5.0 -> 3.5.1 python3-sympy: upgrade 1.11.1 -> 1.12 python3-google-auth: upgrade 2.17.3 -> 2.18.0 php: upgrade 8.2.5 -> 8.2.6 postgresql: upgrade 15.2 -> 15.3 python3-protobuf: upgrade 4.22.4 -> 4.23.0 python3-pulsectl: upgrade 23.5.0 -> 23.5.1 python3-pymisp: upgrade 2.4.170.2 -> 2.4.171 python3-pyjwt: upgrade 2.6.0 -> 2.7.0 python3-redis: upgrade 4.5.4 -> 4.5.5 python3-pytest-xdist: upgrade 3.2.1 -> 3.3.0 python3-sentry-sdk: upgrade 1.22.1 -> 1.22.2 python3-typeguard: upgrade 3.0.2 -> 4.0.0 python3-sqlalchemy: upgrade 2.0.12 -> 2.0.13 python3-websockets: upgrade 11.0.2 -> 11.0.3 xterm: upgrade 379 -> 380 wavpack: upgrade 4.60.1 -> 5.1.0 Xiangyu Chen (1): pahole: fix native package build error ojayanth (2): etcd: systemd unit support to start existing etcd node etcd: add systemd unit support for clustering poky: 76cec94fad..35e5d29a7d: Alexander Kanavin (1): gcr: consider all versions, not only x.even.y Andrew Jeffery (1): Revert "ipk: Decode byte data to string in manifest handling" Anuj Mittal (2): gstreamer1.0: upgrade 1.22.0 -> 1.22.2 vte: upgrade 0.72.0 -> 0.72.1 Chen Qi (1): sqlite3: update CVE_PRODUCT Frederic Martinsons (1): ptest-cargo.bbclass: add the possibility to define test arguments Khem Raj (3): musl: Update to 1.2.4 release cpio: Run ptests under ptest user python3-requests: Upgrade to 2.30.0 Luca Ceresoli (2): ref-manual: classes: kernel: remove incorrect sentence opening ref-manual: classes: kernel: document automatic defconfig usage Martin Jansa (1): populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner Michael Opdenacker (2): migration-guides: start of 4.3 migration and release notes ref-manual: document FIT_ADDRESS_CELLS Paul Gortmaker (1): yocto-bsp: drop MIPS Edgerouter support Qiu Tingting (1): e2fsprogs: fix ptest bug for second running Richard Purdie (5): migration/release-notes-4.3: Add extra notes qemu: Update ppc instruction fix to match revised upstream version glib-networking: Add test retry to avoid failures glib-networking: Correct glib error handling in test patch qemu: Further updates to the ppc patch after upstream discussion Ross Burton (6): gdb: fix crashes when debugging threads with Arm Pointer Authentication enabled Revert "ffmpeg: move ffmpeg config into packageconfig" ffmpeg: add v4l2 PACKAGECONFIG python3: use libedit instead of readline python3: clean up PACKAGECONFIG python3: use system expat Tim Orling (2): python3-urllib3: upgrade 1.26.15 -> 2.0.2 python3-attrs: upgrade 22.2.0 -> 23.1.0 Trevor Gamblin (3): python3-trove-classifiers: Add recipe python3-hatchling: upgrade 1.13.0 -> 1.14.1 python3-calver: Add recipe Zang Ruochen (1): elfutils: upgrade 0.188 -> 0.189 nikhil (1): tiff: Remove unused patch from tiff Signed-off-by: Andrew Geissler Change-Id: I5304cb7a7ca3c09a110f52fa5b2844f5f00f4851 --- poky/documentation/migration-guides/index.rst | 1 + .../migration-guides/migration-4.3.rst | 102 +++++++++++++++++++++ .../documentation/migration-guides/release-4.3.rst | 9 ++ .../migration-guides/release-notes-4.3.rst | 71 ++++++++++++++ poky/documentation/ref-manual/classes.rst | 20 ++-- poky/documentation/ref-manual/variables.rst | 26 ++++++ 6 files changed, 223 insertions(+), 6 deletions(-) create mode 100644 poky/documentation/migration-guides/migration-4.3.rst create mode 100644 poky/documentation/migration-guides/release-4.3.rst create mode 100644 poky/documentation/migration-guides/release-notes-4.3.rst (limited to 'poky/documentation') diff --git a/poky/documentation/migration-guides/index.rst b/poky/documentation/migration-guides/index.rst index 6f7bcbef29..a3bddb3f1e 100644 --- a/poky/documentation/migration-guides/index.rst +++ b/poky/documentation/migration-guides/index.rst @@ -12,6 +12,7 @@ to move to one release of the Yocto Project from the previous one. .. toctree:: migration-general + release-4.3 release-4.2 release-4.1 release-4.0 diff --git a/poky/documentation/migration-guides/migration-4.3.rst b/poky/documentation/migration-guides/migration-4.3.rst new file mode 100644 index 0000000000..c2e5699ccb --- /dev/null +++ b/poky/documentation/migration-guides/migration-4.3.rst @@ -0,0 +1,102 @@ +.. SPDX-License-Identifier: CC-BY-SA-2.0-UK + +Release 4.3 (nanbield) +======================== + +Migration notes for 4.3 (nanbield) +------------------------------------ + +This section provides migration information for moving to the Yocto +Project 4.3 Release (codename "nanbield") from the prior release. + +.. _migration-4.3-supported-kernel-versions: + +Supported kernel versions +~~~~~~~~~~~~~~~~~~~~~~~~~ + +The :term:`OLDEST_KERNEL` setting has been changed to "5.15" in this release, meaning that +out the box, older kernels are not supported. There were two reasons for this. +Firstly it allows glibc optimisations that improve the performance of the system +by removing compatibility code and using modern kernel APIs exclusively. The second +issue was this allows 64 bit time support even on 32 bit platforms and resolves Y2038 +issues. + +It is still possible to override this value and build for older kernels, this is just +no longer the default supported configuration. This setting does not affect which +kernel versions SDKs will run against and does not affect which versions of the kernel +can be used to run builds. + +.. _migration-4.3-supported-distributions: + +Supported distributions +~~~~~~~~~~~~~~~~~~~~~~~ + +This release supports running BitBake on new GNU/Linux distributions: + +On the other hand, some earlier distributions are no longer supported: + +See :ref:`all supported distributions `. + +.. _migration-4.3-go-changes: + +Go language changes +~~~~~~~~~~~~~~~~~~~ + +- Support for the Glide package manager has been removed, as ``go mod`` + has become the standard. + +.. _migration-4.3-recipe-changes: + +Recipe changes +~~~~~~~~~~~~~~ + +- Runtime testing of ptest now fails if no test results are returned by + any given ptest. + +.. _migration-4.3-class-changes: + +Class changes +~~~~~~~~~~~~~ + +- The ``perl-version`` class no longer provides the ``PERLVERSION`` and ``PERLARCH`` variables + as there were no users in any core layer. The functions for this functionality + are still available. + +.. _migration-4.3-removed-variables: + +Removed variables +~~~~~~~~~~~~~~~~~ + +The following variables have been removed: + +- ``PERLARCH`` +- ``PERLVERSION`` + +.. _migration-4.3-removed-recipes: + +Removed recipes +~~~~~~~~~~~~~~~ + +The following recipes have been removed in this release: + +- ``glide``, as explained in :ref:`migration-4.3-go-changes`. + +.. _migration-4.3-removed-classes: + +Removed classes +~~~~~~~~~~~~~~~ + +The following classes have been removed in this release: + + +.. _migration-4.3-misc-changes: + +Miscellaneous changes +~~~~~~~~~~~~~~~~~~~~~ + +- The ``-crosssdk`` suffix and any :term:`MLPREFIX` were removed from + ``virtual/XXX`` provider/dependencies where a ``PREFIX`` was used as well, + as we don't need both and it made automated dependency rewriting + unnecessarily complex. In general this only affects internal toolchain + dependencies so isn't end user visible. + diff --git a/poky/documentation/migration-guides/release-4.3.rst b/poky/documentation/migration-guides/release-4.3.rst new file mode 100644 index 0000000000..92516ae8f5 --- /dev/null +++ b/poky/documentation/migration-guides/release-4.3.rst @@ -0,0 +1,9 @@ +.. SPDX-License-Identifier: CC-BY-SA-2.0-UK + +Release 4.3 (nanbield) +======================== + +.. toctree:: + + migration-4.3 + release-notes-4.3 diff --git a/poky/documentation/migration-guides/release-notes-4.3.rst b/poky/documentation/migration-guides/release-notes-4.3.rst new file mode 100644 index 0000000000..ede3dc41aa --- /dev/null +++ b/poky/documentation/migration-guides/release-notes-4.3.rst @@ -0,0 +1,71 @@ +.. SPDX-License-Identifier: CC-BY-SA-2.0-UK + +Release notes for 4.3 (nandbield) +---------------------------------- + +New Features / Enhancements in 4.3 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Linux kernel 6.x, glibc 2.xx and ~xxx other recipe upgrades + +- New variables: + +- Architecture-specific enhancements: + +- Kernel-related enhancements: + +- New core recipes: + +- New classes: + + - A ``ptest-cargo`` class was added to allow Cargo based recipes to easily add ptests + +- QEMU/runqemu enhancements: + +- Image-related enhancements: + +- wic Image Creator enhancements: + +- FIT image related improvements: + + - New :term:`FIT_ADDRESS_CELLS` variable allowing + to specify 64 bit addresses. + +- SDK-related improvements: + +- Testing: + +- Utility script changes: + +- BitBake improvements: + + - The BitBake Cooker log now contains notes when the caches are + invalidated which is useful for memory resident bitbake debugging. + +- Packaging changes: + +- Miscellaneous changes: + + - Git based recipes in OE-Core which used the git protocol have been + changed to use https where possibile. https is now believed to be + faster and more reliable. + + - The ``os-release`` recipe added a ``CPE_NAME`` to the fields provided, with the + default being populated from :term:`DISTRO`. + +Known Issues in 4.3 +~~~~~~~~~~~~~~~~~~~ + +Recipe License changes in 4.3 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The following corrections have been made to the :term:`LICENSE` values set by recipes: + +Security Fixes in 4.3 +~~~~~~~~~~~~~~~~~~~~~ + +Recipe Upgrades in 4.3 +~~~~~~~~~~~~~~~~~~~~~~ + +Contributors to 4.3 +~~~~~~~~~~~~~~~~~~~ diff --git a/poky/documentation/ref-manual/classes.rst b/poky/documentation/ref-manual/classes.rst index a78368b380..ab1628401e 100644 --- a/poky/documentation/ref-manual/classes.rst +++ b/poky/documentation/ref-manual/classes.rst @@ -1532,11 +1532,18 @@ code to build all kernel trees. All needed headers are staged into the :term:`STAGING_KERNEL_DIR` directory to allow out-of-tree module builds using the :ref:`ref-classes-module` class. -This means that each built kernel module is packaged separately and -inter-module dependencies are created by parsing the ``modinfo`` output. -If all modules are required, then installing the ``kernel-modules`` -package installs all packages with modules and various other kernel -packages such as ``kernel-vmlinux``. +If a file named ``defconfig`` is listed in :term:`SRC_URI`, then by default +:ref:`ref-tasks-configure` copies it as ``.config`` in the build directory, +so it is automatically used as the kernel configuration for the build. This +copy is not performed in case ``.config`` already exists there: this allows +recipes to produce a configuration by other means in +``do_configure:prepend``. + +Each built kernel module is packaged separately and inter-module +dependencies are created by parsing the ``modinfo`` output. If all modules +are required, then installing the ``kernel-modules`` package installs all +packages with modules and various other kernel packages such as +``kernel-vmlinux``. The :ref:`ref-classes-kernel` class contains logic that allows you to embed an initial RAM filesystem (:term:`Initramfs`) image when you build the kernel image. For @@ -1590,7 +1597,8 @@ Only a single kernel can be added to the FIT image created by :ref:`ref-classes-kernel-fitimage` and the kernel image in FIT is mandatory. The address where the kernel image is to be loaded by U-Boot is specified by :term:`UBOOT_LOADADDRESS` and the entrypoint by -:term:`UBOOT_ENTRYPOINT`. +:term:`UBOOT_ENTRYPOINT`. Setting :term:`FIT_ADDRESS_CELLS` to "2" +is necessary if such addresses are 64 bit ones. Multiple device trees can be added to the FIT image created by :ref:`ref-classes-kernel-fitimage` and the device tree is optional. diff --git a/poky/documentation/ref-manual/variables.rst b/poky/documentation/ref-manual/variables.rst index 574af2c2f9..6ee65e1788 100644 --- a/poky/documentation/ref-manual/variables.rst +++ b/poky/documentation/ref-manual/variables.rst @@ -2898,6 +2898,26 @@ system and gives an overview of their function and contents. For guidance on how to create your own file permissions settings table file, examine the existing ``fs-perms.txt``. + :term:`FIT_ADDRESS_CELLS` + + Specifies the value of the ``#address-cells`` value for the + description of the kernel FIT image. + + The default value is set to "1" by the :ref:`ref-classes-kernel-fitimage` + class, which corresponds to 32 bit addresses. + + For platforms who need to set 64 bit addresses in + :term:`UBOOT_LOADADDRESS` and :term:`UBOOT_ENTRYPOINT`, you need to + set this value to "2", as two 32 bit values (cells) will be needed + to represent such addresses. + + Here is an example setting "0x400000000" as a load address:: + + FIT_ADDRESS_CELLS = "2" + UBOOT_LOADADDRESS= "0x04 0x00000000" + + See `more details about #address-cells `__. + :term:`FIT_CONF_DEFAULT_DTB` Specifies the default device tree binary (dtb) file for a fitImage when multiple are provided. @@ -9041,11 +9061,17 @@ system and gives an overview of their function and contents. creation, the :term:`UBOOT_ENTRYPOINT` variable is passed as a command-line parameter to the ``uboot-mkimage`` utility. + To pass a 64 bit address for FIT image creation, you will need to set + the :term:`FIT_ADDRESS_CELLS` variable too. + :term:`UBOOT_LOADADDRESS` Specifies the load address for the U-Boot image. During U-Boot image creation, the :term:`UBOOT_LOADADDRESS` variable is passed as a command-line parameter to the ``uboot-mkimage`` utility. + To pass a 64 bit address for FIT image creation, you will need to set + the :term:`FIT_ADDRESS_CELLS` variable too. + :term:`UBOOT_LOCALVERSION` Appends a string to the name of the local version of the U-Boot image. For example, assuming the version of the U-Boot image built -- cgit v1.2.3