# 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:** 1
**Showing post:** 46

<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

---

_[View the full topic](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-4-0-kirkstone-and-earlier/889)._
