Because of hardware shortages, I’ve been looking at new compute platforms. I have found the Toradex Verdin family of modules (particularly the Verdin iMX8M Mini) to be well suited to my needs, but have had some difficulty getting their bsp layers to work with balena OS following this guide.
Could I get some assistance porting balena os to this platform? Preferably with support for their flasher image format for easy provisioning over a local network.
Also, the guide mentions support for Toradex platforms at the bottom, but the linked repository is archived and hasn’t been updated since 2018.
As we don’t support the Toradex Verdin compute modules yet we have 2 possibilities:
check if there is another hardware available, if this is a possibility
or give you support on building the custom board support
Then, what are your hardware requirements? Maybe there is another available hardware in the market already supported on balena that can fit your needs? Let us know if this is a possibility for your project and we can help you to find another compatible hardware.
If there is no other hardware possible for your project, could you please share the errors that you get building the BSP layers?
log.do_compile.1724089.log (1.1 KB)
Here is the complete log from the failed step.
I also just made the repository I’ve been working in public. You can find it here.
@mpous, I’m seeing the same error trying to build the images from the balena-os/balena-raspberrypi repo, so this is likely a problem with my build environment.
The information I’ve found about building custom images seems like it may be out of date, and doesn’t provide much information about how to set up the appropriate environment. Can you point me in the right direction, or put me in contact with the devices team?
I have been attempting to build on Ubuntu 22.04 in WSL2 as well as Ubuntu 22.04 on dedicated hardware. I get the same error in both environments. I start the build by running ./balena-yocto-scripts/build/barys as indicated by the readme on the repository.
HI @aferm thanks for reporting this. Indeed, the balena token is an optional argument and the script should not end if it’s not provided. I have opened a PR to address this.
I keep getting the following error logs from the kernel-modules-headers task. I’ve added a bbappend for the kernel based off of the one in the balena-raspberrypi repo, but I’m not entirely sure it is being applied. The Customer Board Support guide does not go into detail on what the kernel recipies should do.
NOTE: recipe kernel-modules-headers-1.0-r0: task do_compile: Started
ERROR: kernel-modules-headers-1.0-r0 do_compile: ExecutionError('/work/build/tmp/work/verdin_imx8mm-poky-linux/kernel-modules-headers/1.0-r0/temp/run.do_compile.4649', 1, None, None)
ERROR: Logfile of failure stored in: /work/build/tmp/work/verdin_imx8mm-poky-linux/kernel-modules-headers/1.0-r0/temp/log.do_compile.4649
Log data follows:
| DEBUG: Executing shell function do_compile
| gen_mod_headers: Missing kernel configuration.
| WARNING: exit code 1 from a shell command.
NOTE: recipe kernel-modules-headers-1.0-r0: task do_compile: Failed
Can you check the log in
/work/build/tmp/work/verdin_imx8mm-poky-linux/kernel-modules-headers/1.0-r0/temp/run.do_compile
and see if you find more info about the build failure?