Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your issue. The error you’re encountering during the build process for Torizon 6 on the Verdin iMX8MP is related to the ‘useradd’ command failing due to missing groups such as ‘gpio’, ‘i2cdev’, ‘spidev’, and ‘pwm’. This typically indicates that these groups are not defined in the build configuration.
To resolve this issue, please consider the following steps:
-
Check Configuration Files: Ensure that the necessary group definitions are included in your Yocto build configuration. You may need to modify the
torizon-users
recipe or related configuration files to define these groups. -
Verify Build Environment: Make sure your build environment is correctly set up and that all dependencies are installed. Sometimes, missing packages or incorrect environment settings can lead to such errors.
Regarding your concerns about performance, running applications directly on the host OS can indeed provide better performance compared to containerized environments. However, TorizonCore is designed to be lightweight and efficient, even when using containers.
For integrating an out-of-tree Linux kernel module, you can use the Yocto build system to include your custom kernel module in the TorizonCore image. This approach allows you to maintain a high-performance environment while still benefiting from the flexibility of TorizonCore.
I hope this helps you resolve the issue and proceed with your project. If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: