# Mender-convert for Raspberry Pi 3 - 64bit?

**URL:** <https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422>\
**Category:** General Discussions\
**Created:** [November 18, 2022, 10:58am UTC](https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422 "2022-11-18T10:58:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_richard](https://avatars.discourse-cdn.com/v4/letter/_/f05b48/32.png) [@\_richard](https://hub.mender.io/u/_richard)\
**Post date:** [November 18, 2022, 10:58am UTC](https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422/1 "2022-11-18T10:58:52Z")

</div>

i tried the current raspberry os bullseye lite arm64 image 2022-09-22. did not work.  
spent some time on that.

```auto
2022-11-18 10:10:02 [INFO] [mender-convert-extract] Using configuration file: configs/mender_convert_config
2022-11-18 10:10:02 [INFO] [mender-convert-extract] Using configuration file: ./work/override_compression_config
2022-11-18 10:10:02 [INFO] [mender-convert-extract] Using configuration file: ./configs/raspberrypi3_config
2022-11-18 10:10:02 [INFO] [mender-convert-extract] Validating disk image
2022-11-18 10:10:03 [INFO] [mender-convert-extract] Disk parsed successfully
2022-11-18 10:10:03 [INFO] [mender-convert-extract] NUMBER OF PARTS: 2 TYPE: dos
2022-11-18 10:10:03 [INFO] [mender-convert-extract] PART 1: SIZE: 256M TYPE: 0xc
2022-11-18 10:10:03 [INFO] [mender-convert-extract] PART 1: extracting to work/part-1.fs
2022-11-18 10:10:04 [INFO] [mender-convert-extract] PART 2: SIZE: 7.2G TYPE: 0x83
2022-11-18 10:10:04 [INFO] [mender-convert-extract] PART 2: extracting to work/part-2.fs
mender-convert-extract has finished. Cleaning up...
Running mender-convert-modify: --config ./work/override_compression_config --disk-image ./input/arm6420220922.img --config ./configs/raspberrypi3_config --overlay ./output
2022-11-18 10:10:51 [INFO] [mender-convert-modify] Using configuration file: configs/mender_convert_config
2022-11-18 10:10:51 [INFO] [mender-convert-modify] Using configuration file: ./work/override_compression_config
2022-11-18 10:10:51 [INFO] [mender-convert-modify] Using configuration file: ./configs/raspberrypi3_config
2022-11-18 10:10:52 [INFO] [mender-convert-modify] Installing Mender client and related files
2022-11-18 10:10:52 [INFO] [mender-convert-modify] Installing Mender client version latest
2022-11-18 10:10:54 [INFO] [mender-convert-modify] Successfully downloaded mender-client_3.3.0-1+debian+bullseye_arm64.deb
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Successfully installed mender-client_3.3.0-1+debian+bullseye_arm64.deb into /mender-convert/work/rootfs/
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Creating state folder in the data partition for Mender add-ons
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Using root device A in mender.conf: /dev/mmcblk0p2
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Using root device B in mender.conf: /dev/mmcblk0p3
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Installing the local mender.conf file
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Creating state scripts version file.
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Installing a custom /etc/fstab (see /mender-convert/logs/convert.log.1668766202-16789 for more info)
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Using boot partition device in fstab: /dev/mmcblk0p1
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Using data partition device in fstab: /dev/mmcblk0p4
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Performing platform specific modifications (if any)
2022-11-18 10:10:55 [INFO] [mender-convert-modify] Running hook: platform_modify
mender-convert-modify has finished. Cleaning up...
2022-11-18 10:10:56 [ERROR] [mender-convert] mender-convert failed
2022-11-18 10:10:56 [DEBUG] [mender-convert-modify] When running: (configs/raspberrypi_config:78): run_and_log_cmd():

        sudo cp work/boot/kernel7.img work/rootfs/boot/zImage
        cp: cannot stat 'work/boot/kernel7.img': No such file or directory

2022-11-18 10:10:56 [ERROR] [mender-convert] mender-convert failed
2022-11-18 10:10:56 [ERROR] [mender-convert] mender-convert exit code: 1

```

i then tried the current raspberry os bullseye lite armhf image 2022-09-22. did work.

btw. it would be great if the scripts could work with podman.

ps.  
i see that in [Prepare a Raspberry Pi device | Mender documentation](https://docs.mender.io/get-started/preparation/prepare-a-raspberry-pi-device) only hf images are prepared/linked.

copied:

- Download link: [Raspberry Pi 3 Model B and B+](https://d4o6e0uccgv40.cloudfront.net/2022-01-28-raspios-bullseye-armhf-lite/arm/2022-01-28-raspios-bullseye-armhf-lite-raspberrypi3-mender-convert-3.0.1.img.xz)
- Download link: [Raspberry Pi 4 Model B](https://d4o6e0uccgv40.cloudfront.net/2022-01-28-raspios-bullseye-armhf-lite/arm/2022-01-28-raspios-bullseye-armhf-lite-raspberrypi4-mender-convert-3.0.1.img.xz)

having arm64 images working would be great

---

<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 18, 2022, 2:42pm UTC](https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422/2 "2022-11-18T14:42:33Z")

</div>

Hi @_richard,

Currently we do not offer support for 64bit versions through `mender-convert`. We are looking into it and plan to add it, but there is no defined timeline at the moment, sorry.

Concerning the podman remark, is there any technical rationale behind it?

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![\_richard](https://avatars.discourse-cdn.com/v4/letter/_/f05b48/32.png) [@\_richard](https://hub.mender.io/u/_richard)\
**Post date:** [November 18, 2022, 5:51pm UTC](https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422/3 "2022-11-18T17:51:10Z")

</div>

Hi @TheYoctoJester,  
thanks for the fast response.  
I prefer podman a bit for license reasons and not having one more repo to add. The alias docker=podman approach for me did not work in the scripts but it should be possible to provide a param to the scripts that selects docker or podman.

---

<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 18, 2022, 9:04pm UTC](https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422/4 "2022-11-18T21:04:16Z")

</div>

Hi @_richard,

If you think that an optional podman operation mode would bring value to other users, then feel free to share a patch. 👍

At least from the feedback we get, the license situation of the tooling is not an issue at the moment. My personal experience with compliance problems is way more caused by badly managed golden images and their creation processes.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![\_richard](https://avatars.discourse-cdn.com/v4/letter/_/f05b48/32.png) [@\_richard](https://hub.mender.io/u/_richard)\
**Post date:** [November 19, 2022, 4:45pm UTC](https://hub.mender.io/t/mender-convert-for-raspberry-pi-3-64bit/5422/5 "2022-11-19T16:45:16Z")

</div>

> [@TheYoctoJester](#):
>
> you think that an optional podman operation mode would bring value to other users, then feel free to share a patch

thought about that. for now have to focus on other issues.

it’s less a blocking compliance issue then a podman becomes more standard issue.

i understand the “badly managed golden images and their creation processes” issue. For as small test deployment in a somehow controlled context the mender-convert approach looks OK to me.
