i tried the current raspberry os bullseye lite arm64 image 2022-09-22. did not work.
spent some time on that.
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 only hf images are prepared/linked.
copied:
- Download link: Raspberry Pi 3 Model B and B+
- Download link: Raspberry Pi 4 Model B
having arm64 images working would be great