diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0fac487713a303482a13e9428b349dbc9ba8f1cf..c88549b94912d3a01943d5330aa3301c2018a17e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ build-zynthbox-image-armhf:
     # Update and install dependencies
     - echo "# Update and install dependencies"
     - apt-get update
-    - apt-get install -y coreutils p7zip-full qemu-user-static sudo git wget curl python3 lsof fdisk xz-utils openssh-client jq zip binutils
+    - apt-get install -y coreutils p7zip-full qemu-user-static sudo git wget curl python3 lsof fdisk xz-utils openssh-client jq zip binutils kmod
 
     # Build custom base image with Low Latency Kernel
     - wget -c --trust-server-names 'https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2024-03-15/2024-03-15-raspios-bookworm-armhf-lite.img.xz' -O ./raspios-${debian_release_name}-armhf-lite.img.xz
@@ -40,7 +40,7 @@ build-zynthbox-image-armhf:
     - sudo mount --bind /sys $mountdir/sys
     - echo "# Updating firmware and bootloader"
     - sudo curl -L --output /usr/bin/rpi-update https://raw.githubusercontent.com/raspberrypi/rpi-update/master/rpi-update && sudo chmod +x /usr/bin/rpi-update
-    - sudo SKIP_WARNING=1 ROOT_PATH=$mountdir BOOT_PATH=$mountdir/boot rpi-update
+    - sudo SKIP_WARNING=1 ROOT_PATH=$mountdir BOOT_PATH=$mountdir/boot WANT_32BIT=1 WANT_64BIT=0 WANT_PI4=0 WANT_PI5=1 rpi-update
     # - echo "# Cleaning up old and unused kernels"
     # - sudo chroot $mountdir apt -yy remove "linux-headers-6.6.2*" "linux-image-6.6.2*" "linux-headers-rpi-v*" "linux-image-rpi-v*" "linux-kbuild-6.6.2*"
     # - echo "# Installing kernel ${KERN}"