Support for Yocto Kirkstone (4.0) ended in May 2026. Two LTS releases are supported today: Scarthgap (5.0) until April 2028 and Wrynose (6.0) until April 2030. On paper, Kirkstone to Scarthgap is one step. In practice there are three more releases in between, and most of the items that break a BSP are in their migration notes: 4.1 moved the classes, 4.2 removed old variables, and 4.3 switched time_t to 64 bits on 32-bit targets and made usrmerge a requirement for systemd. Along the way the kernel goes from 5.15 to 6.6, glibc from 2.35 to 2.39, and Python from 3.10 to 3.12. This article collects the items from the official migration guides that touch a BSP most often, release by release, and describes the order in which we suggest handling them.

In short

  • Support for Kirkstone ended in May 2026. Scarthgap is supported until April 2028, Wrynose until April 2030.
  • According to the Yocto guide, anyone coming from an earlier LTS also applies every migration note in between. From Kirkstone to Scarthgap that means four documents: 4.1, 4.2, 4.3 and 5.0.
  • The three heaviest breaks are in 4.3, not in 5.0: 64-bit time_t on 32-bit targets (the ABI breaks), the usrmerge requirement with systemd, and new names for image output files.
  • Release versions: kernel 5.15 → 6.6, glibc 2.35 → 2.39, systemd 250.4 → 255.4, Python 3.10.3 → 3.12.3, OpenSSL 3.0.2 → 3.2.1.
  • The migration is more than a build job. It reaches devices in the field through OTA, so the image contract and the rollback path are part of the migration.

Why is staying on Kirkstone not an option?

Because the branch no longer receives fixes. The Yocto release process document says that stable branches take bug fixes and security fixes only, and that releases which have reached end of life will not receive those updates. When the LTS period of a branch ends, it moves to "community" status if a volunteer maintainer exists, and to EOL if not. Kirkstone is on the EOL list today.

There is a product side to this as well. From 11 December 2027 the EU Cyber Resilience Act requires manufacturers to provide security updates for a support period of at least five years for most products. We covered the timeline in our CRA article and the arithmetic against LTS lifetimes in our support period article. This article covers the engineering part: the migration itself.

How far apart are Kirkstone and Scarthgap?

Four migration notes, and a version jump in every core component. The table below is taken from the release notes of the two LTS releases.

Component Kirkstone 4.0 Scarthgap 5.0
linux-yocto kernel 5.15 6.6
glibc 2.35 2.39
binutils 2.38 2.42
systemd 250.4 255.4
Python 3.10.3 3.12.3
OpenSSL 3.0.2 3.2.1

Scarthgap also ships gcc 13.2 and LLVM 18.1; we did not verify the compiler version of Kirkstone for this article. The values in the table are from release day: a stable branch can take patch versions that follow the upstream stable series of a component, so the last digit in your tree may differ. One detail makes life easier: the move from OpenSSL 1.1.1 to 3.0 was done in Kirkstone itself, so the major version of OpenSSL does not change in this migration.

On the kernel side the path is stepped. Each intermediate release removed one older kernel recipe:

Release linux-yocto removed Provided
4.1 Langdale 5.10 5.15 and 5.19
4.2 Mickledore 5.19 5.15 and 6.1
4.3 Nanbield 5.15 6.1 and 6.5
5.0 Scarthgap 6.1 6.6

The Scarthgap release notes say "The default kernel is the current LTS (6.6)". The OLDEST_KERNEL setting is still "5.15" in 5.0.

What broke in which release?

Most of the breaks are in the intermediate releases. The Scarthgap migration guide says so in its first paragraph: if you migrate from an earlier LTS, you also need to check all the previous migration notes from your release to the new one. The general migration document sets the same rule for every upgrade that skips releases. The table below collects, from the four guides, the items that most often land in a BSP.

Release Change Where it touches a BSP
4.1 Classes are split by usage context into classes-recipe and classes-global; a class used in the wrong context is a parse error Your own .bbclass files in the layer
4.1 The largefile item was removed from DISTRO_FEATURES; large file support is always on Distro configuration
4.1 make 4.0 required on the build host Build environment
4.2 SERIAL_CONSOLE removed, replaced by SERIAL_CONSOLES Machine configuration
4.2 Bypassing the LAYERSERIES_COMPAT check indirectly is no longer accepted The layer.conf of every layer
4.2 Python 3.8 and gcc 8.0 required on the build host Build environment
4.2 Checksums are mandatory for Rust crates Rust recipes
4.2 The OEBasic signature handler and the package_tar class were removed Distro configuration
4.3 Large file support and 64-bit time_t on 32-bit targets The ABI of all of user space
4.3 The usrmerge feature is required when systemd is used Root file system layout
4.3 The imgsuffix varflag was dropped; image output files have new names CI, OTA packaging and production scripts
4.3 PE and PR were removed from the WORKDIR path Scripts that depend on the path
4.3 CVE_CHECK_IGNORE is deprecated, replaced by CVE_STATUS CVE exception lists
5.0 PYTHON_PN, SERIAL_CONSOLES_CHECK and CVE_SOCKET_TIMEOUT removed Recipes and machine configuration
5.0 Dynamic linking in Go was disabled on all previously supported architectures Components written in Go
5.0 The internal dependency solver of opkg is deprecated Package management with ipk

The table is our selection, not the full guides. There are further items for users of QEMU, Go and Rust; for your own tree, read the four documents from start to end.

Why is time_t the riskiest item on 32-bit targets?

Because it does not fail at build time. It fails at run time. The 4.3 migration guide says that code on 32-bit platforms is now compiled with large file support and 64-bit time_t, and adds: "This breaks the ABI and could break existing programs in untested layers." The same guide ties this decision to providing 64-bit time support on 32-bit platforms as well and to resolving Y2038 issues.

In practice three places are affected. The first is binary libraries for which you have no source: if a vendor blob was built with the old time_t width, it sees the same structure at a different size than the new user space. The second is structures written to disk or to the wire: if a record format carries a time_t, the new image can misread a file written by the old image. The third is your own layers; this is usually what the guide means by "untested layers".

The item covers 32-bit platforms only; on 64-bit targets such as AArch64, time_t is 64 bits already. On 32-bit Arm products such as the Cortex-A15 based TI AM57x, it is the first risk item of the migration.

What does usrmerge change?

The layout of the root file system. The sentence in the 4.3 guide is: "Upstream systemd is now more strict on filesystem layout and the usrmerge feature is therefore required alongside systemd." With usrmerge enabled, /bin, /sbin and /lib are linked to their counterparts under /usr.

The requirement is tied to systemd; images that use another init system are outside this item. On an image with systemd it has two consequences. Recipes that install a file with the same name under both /bin and /usr/bin collide. More importantly, because the layout of the root file system changes, this step is not an update you apply to a running system at file or package level; it calls for a full image swap. That second sentence is our conclusion, not the guide's, and it is the reason for the OTA section below.

Variables and classes: what shows up at parse time?

The cheapest errors of the migration show up here, because they are visible before any build starts. But not all of them raise an error.

  • Location of classes (4.1). Classes that only recipes inherit belong in classes-recipe, globally used ones in classes-global. If a class is used in the wrong context, parsing fails.
  • Layer compatibility (4.2). Each layer declares in conf/layer.conf which series it is compatible with, using LAYERSERIES_COMPAT. Layers that bypass this check indirectly are no longer accepted; the layer has to name the series it supports.
  • Python library code (4.2). If your layer adds a lib/ directory to extend Python library code, it should use the addpylib directive. The line in oe-core's own layer.conf is addpylib ${LAYERDIR}/lib oe.
  • Removed variables (4.2 and 5.0). SERIAL_CONSOLE, PYTHON_PN, SERIAL_CONSOLES_CHECK. Setting a removed variable does not always raise an error; the line can silently have no effect. So a clean parse is not enough. You have to search the tree for these names.
  • New syntax (5.0). inherit_defer works like inherit but is evaluated at the end of parsing. It is not a break; you will meet it in newer layers.
# Lines that work on Kirkstone and have no effect or are deprecated on Scarthgap
SERIAL_CONSOLE = "115200 ttyS2"            # removed in 4.2
CVE_CHECK_IGNORE += "CVE-YYYY-NNNN"        # deprecated since 4.3
RDEPENDS:${PN} += "${PYTHON_PN}-core"      # PYTHON_PN removed in 5.0

# Their replacements
SERIAL_CONSOLES = "115200;ttyS2"
CVE_STATUS[CVE-YYYY-NNNN] = "cpe-incorrect: does not affect this component"
RDEPENDS:${PN} += "python3-core"

None of the guides from 4.1 to 5.0 contains an item about S or UNPACKDIR. If you are reading a note about an UNPACKDIR change, that note belongs to a release after 5.0.

Kernel 5.15 to 6.6: Yocto's share and the vendor's share

For Yocto's own kernel recipe the answer is simple: Scarthgap provides 6.6 only. Most products, however, do not ship linux-yocto. They ship the kernel and bootloader from the BSP layer of the chip vendor. The version of that kernel is set by the vendor, not by Yocto.

So the first question of the migration goes to the vendor, not to Yocto: is there a branch of the BSP layer that is compatible with Scarthgap, and which kernel and bootloader does it bring? Two separate jobs follow from the answer. Your out-of-tree drivers, device tree changes and kernel configuration fragments move to the new kernel. Your board support in the bootloader follows the same path.

Because OLDEST_KERNEL is "5.15" in 5.0, user space targets 5.15 and newer by default. If your vendor kernel is older than that, you are below the default and the kernel has to move first. We describe platform details on our Texas Instruments, NXP i.MX and NVIDIA Jetson pages.

What changed for SBOM and CVE handling?

Two things. On Kirkstone, generation of a software bill of materials (SBOM) was off by default and was enabled with INHERIT += "create-spdx"; on Scarthgap the create-spdx class is on through the distro default. The second is CVE exceptions: since 4.3, CVE_STATUS replaces CVE_CHECK_IGNORE and carries the status and the reason together. In the same release the recipe that fetches the CVE database changed too (cve-update-nvd2-native instead of cve-update-db-native).

The migration is a good moment to review your list of CVE exceptions: with CVE_STATUS, every line has its reason written down. What an SBOM covers under the CRA, and what it does not, is the subject of our SBOM article.

In what order should you migrate?

The order below is our working method; it is not a quote from the Yocto guide. The logic is to fix errors that are cheap and show up early before the ones that are expensive and show up late.

  1. Layer inventory. Save the output of bitbake-layers show-layers and bitbake-layers show-appends. Ask three questions for each layer: who owns it (upstream, chip vendor, you), is there a branch compatible with Scarthgap, and which recipe versions are your .bbappend files pinned to. The state of the vendor BSP layer sets the rest of the schedule.
  2. Pin the build environment. Build host requirements changed along the way (make 4.0, Python 3.8, gcc 8.0), and the list of supported distributions was updated in 4.2, 4.3 and 5.0. Build the old tree and the new tree in separate container images.
  3. Parse only, first. Build nothing until bitbake -p passes cleanly. Class locations, layer compatibility and removed classes show up here. Then search the tree for the names of removed variables.
  4. Kernel and bootloader. Do not move on to user space until the board boots, the serial console is there and all peripherals are detected.
  5. User space ABI. time_t on a 32-bit target, usrmerge if you use systemd, the warnings and errors a newer compiler raises in old code, the Python and OpenSSL versions. If the UI is written in Qt 5, the move to Qt 6 often falls into the same project; plan it as a separate work item.
  6. Image contract. Names of the output files, partition layout, format and signature of the OTA bundle, production programming scripts. Write down everything the field device and the factory depend on, and freeze it.
  7. SBOM and CVE. Move the exceptions to CVE_STATUS and check that the SBOM output is archived in the build pipeline.
  8. Same acceptance test, two images. Run the Kirkstone image and the Scarthgap image through the same test on the same board. The list of differences is the delivery document of the migration.

Scarthgap, or straight to Wrynose?

Scarthgap ends in April 2028: about seventeen months after the date of this article. Wrynose runs until April 2030. For a migration that starts now, both are worth weighing.

Going straight to Wrynose adds four more migration notes to the reading list: 5.1, 5.2, 5.3 and 6.0. We have not read these documents from start to end; from the 6.0 guide we know two items. The cve-check class was removed and replaced by sbom-cve-check. Support for SPDX 2.2 was removed as well, leaving SPDX 3 only.

The decision is often not yours to make; it depends on which branch the vendor BSP layer supports. Whichever LTS you choose, a second migration will come within a five-year support period. The setup you build in this migration (a pinned build environment, a written image contract, an acceptance test with two images) is reused in the next one.

How does the migration reach devices in the field?

As a full image, and in a way that can be rolled back. The root file system layout, the C library and, on 32-bit targets, the ABI change together. Instead of applying them piece by piece to a running system, the new image is written to the spare slot, the bootloader boots it as a trial, and falls back to the old slot if no health confirmation arrives. We described the mechanism in our article on OTA failure modes.

A major release migration adds three questions to that mechanism:

  • Update client. The client running on the field device, which dates from the Kirkstone period, has to be able to install the new bundle. That is why the bundle format, the signature chain and the compatibility information are part of the image contract.
  • Bootloader. If the new image needs a new bootloader, that is a separate class of risk; in most designs the bootloader itself is not made redundant as easily as the root file system.
  • Data partition. If the new software migrates data to a new format, a device that falls back to the old slot boots with data it does not understand. Either the format stays backward compatible for one release, or the old state of the data is kept before the switch.

The design of this layer is the subject of our secure boot and OTA work.

Where it goes wrong

  1. Reading only the 5.0 note. The heaviest items are in 4.3: time_t, usrmerge and output names. 4.1 and 4.2 carry the class and variable side.
  2. Leaving the vendor layer until last. The kernel and the bootloader come from there. If there is no compatible branch, the scope of the migration changes from the start.
  3. Forgetting binary blobs on a 32-bit target. A library without source can run incorrectly after the time_t change without any build error.
  4. Trusting variables that have no effect. A removed variable such as SERIAL_CONSOLE may not produce an error; the expected thing simply does not happen.
  5. Scripts with a hard-coded image name. The naming change in 4.3 surfaces in CI, OTA packaging and production programming scripts; the factory is often the last place where it is noticed.
  6. Shutting down the Kirkstone environment too early. Until the whole fleet has moved, you may need to release a fix for the version in the field. Keep the container that can build the old tree.

What this article cannot tell you

There are no measurements in this article: we did not compare build time, boot time or image size. The items come from Yocto's own migration guides and release notes; the selection and the order are ours.

What we did not verify:

  • Vendor BSP layers. For this article we did not check which branch any chip vendor's layer supports. It depends on the SoC and on the vendor's release schedule.
  • The compiler version of Kirkstone, and the current patch versions of the components in the table on the branches.
  • The full 5.1, 5.2, 5.3 and 6.0 guides. From 6.0 we verified only the two items above.
  • Before Kirkstone. If you come from an older release, the 4.0 migration guide joins the list; we did not cover it.
  • The move from Qt 5 to Qt 6. That is a subject for a separate article.

For your own tree the answer can only be given after the inventory: how many layers, how many .bbappend files, which vendor branch, 32-bit or 64-bit. We provide software services; we do not sell hardware: Yocto LTS migrations, BSPs for TI, NXP and NVIDIA platforms, secure boot, and OTA with rollback. If you want a second pair of eyes on your migration plan, our Yocto and BSP page and the architecture audit are where it starts.

Frequently asked questions

Can you migrate directly from Kirkstone to Scarthgap?

Yes. The general Yocto migration document provides for upgrades that skip releases; the condition is that you apply the migration note of every release in between. From Kirkstone (4.0) to Scarthgap (5.0) that means the 4.1, 4.2, 4.3 and 5.0 guides.

When did Kirkstone support end, and how long is Scarthgap supported?

Support for Kirkstone 4.0 ended in May 2026 and the release is on the EOL list today. Scarthgap 5.0 is supported as an LTS until April 2028, Wrynose 6.0 until April 2030. Yocto makes an LTS release every two years and supports each LTS for four years.

Which kernel and toolchain does Scarthgap ship?

According to the Scarthgap 5.0 release notes, it ships the Linux 6.6 kernel, gcc 13.2, glibc 2.39 and LLVM 18.1. Kirkstone 4.0 was released with kernel 5.15 and glibc 2.35. As a linux-yocto recipe, Scarthgap provides 6.6 only.

What is the biggest risk on 32-bit Arm devices?

Since release 4.3, code on 32-bit platforms is compiled with 64-bit time_t, and in the words of the guide this breaks the ABI. Binary libraries built with the old width, and record formats that carry a time_t, can run incorrectly without any build error. 64-bit targets are not affected by this item.

Should I skip Scarthgap and go straight to Wrynose?

Wrynose 6.0 is supported until April 2030, which gains two more years, but it adds the 5.1, 5.2, 5.3 and 6.0 migration notes to the reading list. In 6.0 the cve-check class and SPDX 2.2 support were removed. In most cases the decision depends on which branch the BSP layer of the chip vendor supports.

How is the migration delivered to devices in the field?

As a full image, in an A/B layout, and in a way that can be rolled back. Because the root file system layout and the C library change together, the migration should not be designed as a package-level update. Whether the old update client in the field can install the new bundle is the first thing to test before the migration starts.

Sources

Accessed: 19 November 2026.