# Raspberry Pi 4 Model B - Yocto 4.0 "kirkstone" and earlier

**URL:** https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889
**Category:** Yocto Project
**Tags:** yocto, raspberry, warrior, raspberry-pi-4, zeus, dunfell, kirkstone
**Created:** [August 6, 2019, 6:53pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889 "2019-08-06T18:53:21Z")
**Posts on this page:** 6
**Page:** 3

<div class="post-metadata">

### Author: ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)
#### Post date: [April 15, 2024, 6:47am UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889/42 "2024-04-15T06:47:19Z")

</div>

6 posts were split to a new topic: [RPi4 boot problem](https://hub.mender.io/t/rpi4-boot-problem/6732)

---

<div class="post-metadata">

### Author: ![maxhochlenertarnoldn](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/maxhochlenertarnoldn/32/2239_2.png) [@maxhochlenertarnoldn](https://hub.mender.io/u/maxhochlenertarnoldn)
#### Post date: [July 12, 2024, 12:04pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889/43 "2024-07-12T12:04:15Z")

</div>

is there an update for scarthgap?

> [@Meta-mender support for Yocto 5.0 "scarthgap" (LTS)](https://hub.mender.io/t/meta-mender-support-for-yocto-5-0-scarthgap-lts/6987):
>
> Howdy! We are happy/proud/pleased/thrilled/excited/(insert other word that you like) to announce the official support for Yocto 5.0 “scarthgap”. [meta-mender](https://github.com/mendersoftware/meta-mender) The [meta-mender](https://github.com/mendersoftware/meta-mender) offers the validated Mender integration on both the scarthgap branch, as well as the [scarthgap-v2024.07)([Release scarthgap-v2024.07 · mendersoftware/meta-mender · GitHub](https://github.com/mendersoftware/meta-mender/releases/tag/scarthgap-v2024.07)) tag. It features numerous contributions by the community, from Enterprise over Basic customers all he way to open source enthusiasts. Thank you very much…

---

<div class="post-metadata">

### Author: ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)
#### Post date: [July 12, 2024, 12:08pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889/44 "2024-07-12T12:08:35Z")

</div>

Hi @maxhochlenertarnoldn,

> [@maxhochlenertarnoldn](#):
>
> is there an update for scarthgap?

Update in terms of this article? Yes, once I find the time to adjust it. The `meta-mender` and `meta-mender-community` layers are updated and available on [Mender · GitHub](https://github.com/mendersoftware), so you should be good to go.

Greets,  
Josef

---

<div class="post-metadata">

### Author: ![maxhochlenertarnoldn](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/maxhochlenertarnoldn/32/2239_2.png) [@maxhochlenertarnoldn](https://hub.mender.io/u/maxhochlenertarnoldn)
#### Post date: [July 12, 2024, 12:18pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889/45 "2024-07-12T12:18:01Z")

</div>

Thanks for the quick response, no pressure. Just for reference:

The tutorial on this page is referenced here:

> **[Building for demo | Mender documentation](https://docs.mender.io/operating-system-updates-yocto-project/build-for-demo#starting-from-scratch)**

However, this tutorial:

> [@Raspberry Pi 4 Model B - Yocto 4.0 "kirkstone" and earlier](https://hub.mender.io/t/raspberry-pi-4-model-b/889#configuring-the-build-5):
>
> Board description The Raspberry Pi 4 Model B is the probably most popular board of the Raspberry Pi family. URL: [https://www.raspberrypi.org/products/raspberry-pi-4-model-b/](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) Wiki: [https://elinux.org/RPi\_Hub](https://elinux.org/RPi_Hub?target=_blank)Test results Raspberry Pi 4 is one of the official reference devices of Mender and is easy to get started with. This device is continuously tested as part of Mender testing pipelines which assures high quality of the integrati…

does not work with replacing “zeus” by “scarthgap”, because the scarthgap branch of [meta-mender-community/meta-mender-raspberrypi at scarthgap · mendersoftware/meta-mender-community · GitHub](https://github.com/mendersoftware/meta-mender-community/tree/scarthgap/meta-mender-raspberrypi) does not contain all files that zeus contains.

It’s probably an easy fix for somebody proficient in yocto, but an updated tutorial might be helpful for newcomers.

---

<div class="post-metadata">

### Author: ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)
#### Post date: [July 12, 2024, 12:25pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889/46 "2024-07-12T12:25:43Z")

</div>

Hi @maxhochlenertarnoldn

> [@maxhochlenertarnoldn](#):
>
> does not work with replacing “zeus” by “scarthgap”, because the scarthgap branch of [meta-mender-community/meta-mender-raspberrypi at scarthgap · mendersoftware/meta-mender-community · GitHub](https://github.com/mendersoftware/meta-mender-community/tree/scarthgap/meta-mender-raspberrypi) does not contain all files that zeus contains.

Ah yes, now I see the issue. So, all of the example builds have been moved to `kas` configuration files as described here: [Using kas to reproduce your Yocto builds](https://hub.mender.io/t/using-kas-to-reproduce-your-yocto-builds/6020). The one for building a 64bit-image for the Raspberry Pi 4 is [meta-mender-community/kas/raspberrypi4-64.yml at scarthgap · mendersoftware/meta-mender-community · GitHub](https://github.com/mendersoftware/meta-mender-community/blob/scarthgap/kas/raspberrypi4-64.yml).

So essentially, without crafting a full blown tutorial overhaul:

1. make sure your box fulfils the build requirements and has the `kas` tool installed
2. `git clone https://github.com/mendersoftware/meta-mender-community -b scarthgap`
3. `mkdir -p meta-mender-community/my-raspberrypi4-64 && cd meta-mender-community/my-raspberrypi4-64`
4. `kas build ../kas/raspberrypi4-64.yml`

That should get you the build going.

Greets,  
Josef

---

<div class="post-metadata">

### Author: ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)
#### Post date: [July 17, 2024, 11:07am UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889/47 "2024-07-17T11:07:53Z")

</div>

Hi @maxhochlenertarnoldn, for reference, see [Raspberry Pi 4 Model B - Yocto 5.0 "scarthgap" and later](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-5-0-scarthgap-and-later/7024)

Greets,  
Josef

[Previous page](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889.md?page=2)
