Hi, we recently buyed a colibri im8x som and try to make an “Easy installer” image for it (we have one for imx6ull with success). We are not capable to compile the kernel following the steps:
on Release Matrix - Kernel/U-Boot Version | Toradex Developer Center we have this data:
Colibri iMX8X
BSP: 7.5.0
Kernel: Downstream Toradex v6.6.119 based on NXP BSP L6.6.52_2.2.2
Yocto: 5.0 (Scarthgap)
U-Boot: Downstream Toradex i.MX 2024.04 based on NXP lf_v2024.04
SCFW firmware: Toradex 1.17 based on NXP 1.17
SCU firmware: NXP i.MX SECO 5.9.4
TF-A firmware: NXP lf-6.6.52-2.2.1
Release: 01/2026
so following Build Linux Kernel from Source Code | Toradex Developer Center
we have the Downstream kernel:
git clone -b toradex_6.6-2.2.x-imx git://git.toradex.com/linux-toradex.git
get the artifacts from JFrog
wget -c https://artifacts.toradex.com/artifactory/tdxref-oe-prod-frankfurt/scarthgap-7.x.y/release/11/colibri-imx8x/tdx-xwayland/tdx-reference-minimal-image/oedeploy/kernel-config -O kernel-config-colibri-imx8x-minimal-14
and to compile:
cp kernel-config-colibri-imx8x-minimal .config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output olddefconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output menuconfig (nothing new… only save)
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output -j24 zImage
and kernel compilation exits with this warnings of undefined dependencies:
L_MOD_PATH=output -j24 zImage
SYNC include/config/auto.conf
WARNING: unmet direct dependencies detected for HAVE_ARM_SMCCC_DISCOVERY
Depends on [n]: ARM_PSCI_FW [=n]
Selected by [y]:
- ARM_GIC_V3 [=y]
WARNING: unmet direct dependencies detected for HAVE_ARM_SMCCC_DISCOVERY
Depends on [n]: ARM_PSCI_FW [=n]
Selected by [y]:
- ARM_GIC_V3 [=y]
and exits with errors:
drivers/soc/imx/busfreq-imx8mq.c:304:6: error: redefinition of ‘request_bus_freq’
304 | void request_bus_freq(enum bus_freq_mode mode)
| ^~~~~~~~~~~~~~~~
In file included from drivers/soc/imx/busfreq-imx8mq.c:16:
./include/linux/busfreq-imx.h:58:20: note: previous definition of ‘request_bus_freq’ with type ‘void(enum bus_freq_mode)’
58 | static inline void request_bus_freq(enum bus_freq_mode mode)
| ^~~~~~~~~~~~~~~~
drivers/soc/imx/busfreq-imx8mq.c:340:6: error: redefinition of ‘release_bus_freq’
340 | void release_bus_freq(enum bus_freq_mode mode)
| ^~~~~~~~~~~~~~~~
./include/linux/busfreq-imx.h:61:20: note: previous definition of ‘release_bus_freq’ with type ‘void(enum bus_freq_mode)’
61 | static inline void release_bus_freq(enum bus_freq_mode mode)
| ^~~~~~~~~~~~~~~~
drivers/soc/imx/busfreq-imx8mq.c:393:5: error: redefinition of ‘get_bus_freq_mode’
393 | int get_bus_freq_mode(void)
| ^~~~~~~~~~~~~~~~~
./include/linux/busfreq-imx.h:72:19: note: previous definition of ‘get_bus_freq_mode’ with type ‘int(void)’
72 | static inline int get_bus_freq_mode(void)
| ^~~~~~~~~~~~~~~~~
make[5]: *** [scripts/Makefile.build:243: drivers/soc/imx/busfreq-imx8mq.o] Error 1
when we make the menuconfig options, on “system type” → “Freescale i.MX Family” there is no imx8x…. can this be the problem? we have download the wrong version of kernel branch?
thank you in advance!