# Updating Raspberry Pi boot firmware files using Yocto Project and Mender

**URL:** <https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719>\
**Category:** Mender\
**Created:** [April 1, 2020, 6:38am UTC](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719 "2020-04-01T06:38:52Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [September 29, 2022, 5:27am UTC](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719/21 "2022-09-29T05:27:07Z")

</div>

The 1.x series does not support state scripts on the command line, it was a new feature in 2.0, I believe.

---

<div class="post-metadata">

**Author:** ![tactmaster](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/tactmaster/32/1709_2.png) [@tactmaster](https://hub.mender.io/u/tactmaster)\
**Post date:** [September 29, 2022, 6:56am UTC](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719/22 "2022-09-29T06:56:08Z")

</div>

You know what i though the same things…  
[State scripts | Mender documentation](https://docs.mender.io/artifact-creation/state-scripts) however it does say it starts in 1.2…  
We have a update “bootstrapping” So I guess I will have to add it in there…

---

<div class="post-metadata">

**Author:** ![timg236](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/timg236/32/1777_2.png) [@timg236](https://hub.mender.io/u/timg236)\
**Post date:** [November 3, 2022, 11:58am UTC](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719/23 "2022-11-03T11:58:49Z")

</div>

FYI, the latest stable RPi firmware release now makes it easier to do A/B booting at the partition level by adding a [tryboot] filter to the autoboot.txt file. Although, it will take a while for this to filter through into the various Raspberry Pi and other distros.

> **[Raspberry Pi Documentation - The config.txt file](https://www.raspberrypi.com/documentation/computers/config_txt.html#autoboot-txt)**
>
> The official documentation for Raspberry Pi computers and microcontrollers

---

<div class="post-metadata">

**Author:** ![alpinemedia](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@alpinemedia](https://hub.mender.io/u/alpinemedia)\
**Post date:** [February 17, 2023, 8:32pm UTC](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719/24 "2023-02-17T20:32:15Z")

</div>

I was testing updating Raspberry Pi’s and I found some devices were losing functionality after updating the firmware. It seems that [rpi-udate-firwmare](https://github.com/mendersoftware/meta-mender/blob/master/meta-mender-raspberrypi/classes/rpi-update-firmware.bbclass) does not include Image, and it places overlay\_map.dtb in /boot/firmware instead of /boot/firmware/overlays. Without receiving those parts of the firmware in the update, (predictably) devices that needed updated versions lost the ability to detect some hardware.

For my purposes, I’m using a modified version of the class to include the missing files in rootfs /boot/firmware so they can be copied into place by the state script. Should the Mender-provided class be altered to include these files?

Thanks!

[Previous page](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719.md?page=1)
