Raspberry pi 4B Raspberry pi OS (64-bit) cant locate kernel img

rensW
Thu, 21 Sep 2023 10:02:49 +0000
Board Integrations

I am trying to convert a raspberry pi os 64 bit release 2023-05-03
i am running mender convert on Ubuntu 18.04.6 LTS

Static hostname: golden-image-230829-0809-RWL
Icon name: computer
Machine ID: 6f8e59b7aa8740df96ca28085fdc28b6
Boot ID: e0bc6a38e8834fd0a55027a4a58c8f7e
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 6.1.21-v8+
Architecture: arm64

The command i am running is:

MENDER_ARTIFACT_NAME=release-2 ./docker-mender-convert \
    --disk-image input/230921_0851.img \
    --config configs/raspberrypi4_config \
    --overlay input/rootfs_overlay_demo/

at some point the process looks for a kernel in work/ and cant locate the img.
there is indeed no kernel image file in the work folder

Should i pull the kernel image from somewhere ?

This is the output:
2023-09-21 02:24:09 [INFO] [mender-convert-extract] Using configuration file: configs/mender_convert_config
2023-09-21 02:24:09 [INFO] [mender-convert-extract] Using configuration file: ./work/override_compression_config
2023-09-21 02:24:09 [INFO] [mender-convert-extract] Using configuration file: configs/raspberrypi4_config
2023-09-21 02:24:09 [INFO] [mender-convert-extract] Validating disk image
2023-09-21 02:24:09 [INFO] [mender-convert-extract] Disk parsed successfully
2023-09-21 02:24:09 [INFO] [mender-convert-extract] NUMBER OF PARTS: 2 TYPE: dos
2023-09-21 02:24:09 [INFO] [mender-convert-extract] PART 1: SIZE: 256M TYPE: 0xc
2023-09-21 02:24:09 [INFO] [mender-convert-extract] PART 1: extracting to work/part-1.fs
2023-09-21 02:24:10 [INFO] [mender-convert-extract] PART 2: SIZE: 3.7G TYPE: 0x83
2023-09-21 02:24:10 [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/230921_0851.img --config configs/raspberrypi4_config --overlay input/rootfs_overlay_demo/
2023-09-21 02:24:32 [INFO] [mender-convert-modify] Using configuration file: configs/mender_convert_config
2023-09-21 02:24:32 [INFO] [mender-convert-modify] Using configuration file: ./work/override_compression_config
2023-09-21 02:24:32 [INFO] [mender-convert-modify] Using configuration file: configs/raspberrypi4_config
2023-09-21 02:24:33 [INFO] [mender-convert-modify] Installing Mender client and related files
2023-09-21 02:24:33 [INFO] [mender-convert-modify] Installing Mender client version latest
2023-09-21 02:24:34 [INFO] [mender-convert-modify] Successfully downloaded mender-client_3.5.1-1+debian+bullseye_arm64.deb
2023-09-21 02:24:34 [INFO] [mender-convert-modify] Successfully installed mender-client_3.5.1-1+debian+bullseye_arm64.deb into /home/eyemation/mender-convert/mender-convert/work/rootfs/
2023-09-21 02:24:34 [INFO] [mender-convert-modify] Creating state folder in the data partition for Mender add-ons
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Using root device A in mender.conf: /dev/mmcblk0p2
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Using root device B in mender.conf: /dev/mmcblk0p3
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Creating state scripts version file.
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Installing a custom /etc/fstab (see /home/eyemation/mender-convert/mender-convert/logs/convert.log for more info)
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Using boot partition device in fstab: /dev/mmcblk0p1
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Using data partition device in fstab: /dev/mmcblk0p4
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Performing platform specific modifications (if any)
2023-09-21 02:24:35 [INFO] [mender-convert-modify] Running hook: platform_modify
mender-convert-modify has finished. Cleaning up…
2023-09-21 02:24:35 [ERROR] [mender-convert] mender-convert failed
2023-09-21 02:24:35 [DEBUG] [mender-convert-modify] When running: (configs/raspberrypi_config:78): run_and_log_cmd():

sudo cp work/boot/kernel7l.img work/rootfs/boot/zImage
cp: cannot stat ‘work/boot/kernel7l.img’: No such file or directory

2023-09-21 09:41:36 [ERROR] [mender-convert] mender-convert failed
2023-09-21 09:41:36 [ERROR] [mender-convert] mender-convert exit code: 1

2 posts - 2 participants