# Raspberry Pi OS 64 Bit conversion

**URL:** <https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919>\
**Category:** Debian family\
**Created:** [May 2, 2022, 9:23pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919 "2022-05-02T21:23:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamwendel](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/adamwendel/32/1603_2.png) [@adamwendel](https://hub.mender.io/u/adamwendel)\
**Post date:** [May 2, 2022, 9:23pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/1 "2022-05-02T21:23:30Z")

</div>

Hello,

I’ve tried to do a conversion of a vanilla 2022.01 Raspberry Pi OS 64bit image directly from the raspberry pi foundation and had no success. The only thing I changed in the config files was in raspberrypi4\_config to have `RASPBERRYPI_KERNEL_IMAGE="kernel8.img"` as that is the 64 bit kernel, and it failed to actually boot past the rainbow splash screen. Mender-config did not throw any errors. Ideas?

---

<div class="post-metadata">

**Author:** ![sensslen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/sensslen/32/245_2.png) [@sensslen](https://hub.mender.io/u/sensslen)\
**Post date:** [May 4, 2022, 9:26am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/2 "2022-05-04T09:26:50Z")

</div>

This Is prbably due the fact that the u-boot image installed is compiled as 32bit binary which in turn expects to load a 32 bit kernel.

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [May 24, 2022, 3:30pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/3 "2022-05-24T15:30:57Z")

</div>

FYI: We will start looking into this in the near future:

Here is the (not yet broken down) epic if you guys are curious

[https://tracker.mender.io/browse/MEN-5634](https://tracker.mender.io/browse/MEN-5634)

---

<div class="post-metadata">

**Author:** ![ruben](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ruben/32/565_2.png) [@ruben](https://hub.mender.io/u/ruben)\
**Post date:** [June 22, 2023, 5:14am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/4 "2023-06-22T05:14:00Z")

</div>

Hi @oleorhagen ,

I’m currently having issues converting a 64bit ubuntu for RaspberryPi. Is there any update on this topic? Is a 64bit conversion currently possible/supported by mender-convert?

Thanks and best regards  
Ruben

---

<div class="post-metadata">

**Author:** ![koehlma](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/koehlma/32/1950_2.png) [@koehlma](https://hub.mender.io/u/koehlma)\
**Post date:** [July 26, 2023, 6:36am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/5 "2023-07-26T06:36:25Z")

</div>

We had the same issue and also wanted to be able to update firmware files, which, unfortunately is not possible with the existing OTA strategy. As a result, we ended up developing our own solution using the new [`tryboot` feature of Raspberry Pi’s boot loader](https://www.raspberrypi.com/documentation/computers/config_txt.html#example-update-flow-for-ab-booting). We integrated our solution into Mender with a [custom update module](https://docs.mender.io/artifact-creation/create-a-custom-update-module) and it seems to work quite well. We still need to do some further testing, though.

We also made the system’s core open-source, if you want to check it out: [Home | Rugpi](https://oss.silitics.com/rugpi/)

If you are interested in our Mender integration, just drop me a message ([koehl@silitics.com](mailto:koehl@silitics.com)). I am happy to share the details and send you the update module.

---

<div class="post-metadata">

**Author:** ![johnyivanov](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/johnyivanov/32/1952_2.png) [@johnyivanov](https://hub.mender.io/u/johnyivanov)\
**Post date:** [July 26, 2023, 1:38pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/6 "2023-07-26T13:38:27Z")

</div>

hi koehlma,

I’m interested on your integration.Could you please send the update module?

Thanks and best regards  
John

---

<div class="post-metadata">

**Author:** ![johnyivanov](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/johnyivanov/32/1952_2.png) [@johnyivanov](https://hub.mender.io/u/johnyivanov)\
**Post date:** [July 26, 2023, 2:04pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/7 "2023-07-26T14:04:15Z")

</div>

Hi koehlma,

I’m interested in your Mender integration.Could you please send me the update module?

Thanks and best regards  
John

---

<div class="post-metadata">

**Author:** ![koehlma](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/koehlma/32/1950_2.png) [@koehlma](https://hub.mender.io/u/koehlma)\
**Post date:** [July 27, 2023, 6:14am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/8 "2023-07-27T06:14:08Z")

</div>

I realized that private messages have apparently been disabled in this forum after posting. Can you please send me an email, so I can reach out to you. My email address is [koehl@silitics.com](mailto:koehl@silitics.com).

---

<div class="post-metadata">

**Author:** ![durnek60](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@durnek60](https://hub.mender.io/u/durnek60)\
**Post date:** [January 11, 2024, 5:51pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/10 "2024-01-11T17:51:51Z")

</div>

Hello guys!  
I have the exactly same problem with the 64-bit raspbery image. The service that I intented to use supports only 64-bit environment so I can not move to 32-bit version of the raspbian.  
Can you please help me how can I use the mender-convert tool to with 64-bit version of raspbian?

Thank you for your reply!

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [January 30, 2024, 8:26am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/11 "2024-01-30T08:26:12Z")

</div>

Hello @durnek60 currently we do not support the 64-bit version.

Support is planned though, but there is no clear timeline as of yet.

---

<div class="post-metadata">

**Author:** ![brandonwheat](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/brandonwheat/32/2236_2.png) [@brandonwheat](https://hub.mender.io/u/brandonwheat)\
**Post date:** [July 9, 2024, 9:09pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/12 "2024-07-09T21:09:29Z")

</div>

Is there any update on support for 64-bit versions?

---

<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 10, 2024, 7:49am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/13 "2024-07-10T07:49:56Z")

</div>

Hi @brandonwheat,

I do have a working proof of concept by now, but still figuring out the rough edges. Hopefully I can put it out in the upcoming days.

Greets,  
Josef

---

<div class="post-metadata">

**Author:** ![brandonwheat](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/brandonwheat/32/2236_2.png) [@brandonwheat](https://hub.mender.io/u/brandonwheat)\
**Post date:** [July 11, 2024, 1:50pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/14 "2024-07-11T13:50:53Z")

</div>

Great to hear, please let me know when it will be available!

Thanks

---

<div class="post-metadata">

**Author:** ![chris\_wd](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@chris\_wd](https://hub.mender.io/u/chris_wd)\
**Post date:** [September 26, 2024, 1:33pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/15 "2024-09-26T13:33:27Z")

</div>

Any update or rough timeline for 64-bit support?

Thanks!

---

<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:** [October 1, 2024, 3:15pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/16 "2024-10-01T15:15:59Z")

</div>

@chris_wd unfortunately not yet, you can find my current state of “work including binaries” at [GitHub - TheYoctoJester/mender-convert at rpi\_debian\_64bit\_with\_binaries](https://github.com/TheYoctoJester/mender-convert/tree/rpi_debian_64bit_with_binaries). There are a number of moving parts involved, and as we want to keep things usable for pre-`bookworm` releases too, its not exactly becoming easier ☹

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![davidlekve](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@davidlekve](https://hub.mender.io/u/davidlekve)\
**Post date:** [November 7, 2024, 10:45am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/17 "2024-11-07T10:45:29Z")

</div>

Will it be possible to upgrade from a 32-bit image to a 64-bit image over the air using mender-convert?

---

<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:** [November 7, 2024, 11:00am UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/18 "2024-11-07T11:00:41Z")

</div>

Hi @davidlekve,

The bit width is set very early through the RPi-specific first stage loader in conjunction with `config.txt`, and `u-boot` already needs to be in the correct type. All of this happens earlier in the boot process than Menders A/B logic.

While you technically can do it still by adding scripts to replace those files, it makes the process quite fragile and introduces numerous single points of failure, so it is highly discouraged.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![jjsteele](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@jjsteele](https://hub.mender.io/u/jjsteele)\
**Post date:** [February 26, 2025, 2:40pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/19 "2025-02-26T14:40:37Z")

</div>

Hi Josef, I am currently working on a new project that will use 64bit Bookworm. Is this supported yet?

Cheers,

John

---

<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:** [February 27, 2025, 4:03pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/20 "2025-02-27T16:03:28Z")

</div>

Hi @jjsteele,

It should work out of the box now: [mender-convert/configs/raspberrypi/uboot/debian/raspberrypi4\_bookworm\_64bit\_config at master · mendersoftware/mender-convert · GitHub](https://github.com/mendersoftware/mender-convert/blob/master/configs/raspberrypi/uboot/debian/raspberrypi4_bookworm_64bit_config)

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![jjsteele](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@jjsteele](https://hub.mender.io/u/jjsteele)\
**Post date:** [February 27, 2025, 4:42pm UTC](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919/21 "2025-02-27T16:42:02Z")

</div>

Thanks Josef,  
Does it work with the Raspberry Pi 5 as well?

John

[Next page](https://hub.mender.io/t/raspberry-pi-os-64-bit-conversion/4919.md?page=2)
