Hello Toradex Support Team,
I’m working with the Verdin iMX8M Plus Quad 8GB Wi-Fi / Bluetooth IT on the Mallow Carrier Board V1.1, and I’m evaluating a custom driver development environment using a kernel built outside of Yocto. The official Yocto-based image boots and operates correctly, including the cinema application.
This is basically what I have done to build a new Yocto image as below:
$ repo init -u git://git.toradex.com/toradex-manifest.git -b scarthgap-7.x.y -m tdxref/default.xml
$ repo sync
$. export
$vi build/conf/local.conf
MACHINE ?= “verdin-imx8mp”
ACCEPT_FSL_EULA = “1”
$bitbake tdx-reference-multimedia-image
$~/oe-core/build/deploy/images/verdin-imx8mp$ tar xf Verdin-iMX8MP_Reference-Multimedia-Image-Tezi_7.3.0-devel-20250717025907+build.0.tar -C
However, I encountered boot-related issues when switching to a kernel built manually from the Toradex Git repository. I have two key questions:
Question 1: Boot errors with externally built kernel
I cloned the kernel source from:
$ git clone -b toradex_6.6-2.2.x-imx git://git.toradex.com/linux-toradex.git
Then I used the official kernel-config from:
“JFrog”
The steps I followed are:
$ cp kernel-config .config
$ make olddefconfig
$ make -j$(nproc) Image.gz
$ make -j$(nproc) modules
$ make modules_install INSTALL_MOD_PATH=modules
$ tar -czf modules.tar.gz modules
Then I copied Image.gz to /boot and extracted modules.tar.gz to / respectively on the target.
After rebooting, the following systemd errors occurred:
[FAILED] Failed to start BlueALSA service.
[FAILED] Failed to start Weston, a Wayland compositor, as a system service.
[DEPEND] Dependency failed for Start a wayland application.
systemctl --failed
- bluealsa.service
- bluetooth.service
- weston.service
- systemd-logind.service
- systemd-timesyncd.service
Despite using the same kernel version and identical .config, these errors persist.
From what I can tell, the kernel boots, but critical userspace services fail to start.
Is there anything I might be missing when compiling or installing the kernel/modules externally?
Question 2: Boot error when restoring default Image.gz
To revert back, I had previously backed up the working Image.gz from Yocto:
'# cp Image.gz Image.gz.bk
However, when I restore it with:
'# cp Image.gz.bk Image.gz && sync
'# reboot
and then reboot (even with power-cycle), I encounter the same boot errors mentioned in Question 1.
Does this imply that the restored Image.gz is not being used properly? Or is something cached or overwritten during the module install?
Is there a better way to revert completely to the original kernel state without re-flashing the entire image via Easy Installer?
System Details
root@verdin-imx8mp-15722079:~# tdx-info
Software summary
Bootloader: U-Boot
Kernel version: 6.6.94-7.3.0-devel #1 SMP PREEMPT Wed Jun 25 09:14:55 UTC 2025
Kernel command line: root=PARTUUID=9376571f-02 ro rootwait console=tty1 console=ttymxc2,115200 quiet loglevel=3
Distro name: NAME=“TDX Wayland with XWayland”
Distro version: VERSION_ID=7.3.0-devel-20250717025907-build.0
Distro variant: -
Hostname: verdin-imx8mp-15722079
Hardware info
HW model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version: 0070 V1.1A
Serial number: 15722079
Processor arch: aarch64
Any advice or guidance would be appreciated to understand what’s causing the system service failures and how to properly manage kernel switching (manual vs. Yocto).
Thank you for your support.