-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for IOT-DIN-IMX8PLUS #26
Comments
Hi @mgisch |
Hi @lueschem - thank you for the quick response. I do have a working debian image provided by CL themselves (https://mediawiki.compulab.com/w/index.php?title=IOT-DIN-IMX8PLUS:_Debian_Linux:_Preparing_Live_Media). Is it possible to somehow use that as part of the edi image build and still end up with the dual partition / mender enabled setup? These are the files in the first partition of the CL image:
Thank you. |
Hi @mgisch It is for sure a good idea to look at the Compulab provided image. I would not directly rip out the files from that image as then the setup gets somewhat unreproducible. Here is what I figured out about the file list you provided:
The kernel documentation I pointed out seems to be outdated. This documentation seems to be the most recent one. I did a GitHub actions workflow for it and got this kernel (for Debian bookworm - let me know if you need one for trixie). The kernel Debian package contains the required kernel image (vmlinux-xyz in /boot/) as well as the matching device tree binaries (see /usr/lib/linux-image-6.6.23-g96ad4675347d/compulab/). As the next steps we might need to include this new kernel and adjust the U-Boot bootloader setup. Could you do the following commands on your Compulab device running the Compulab provided image and provide the output?
This should help us to stick the remaining pieces together. |
Thank you for looking at this in more detail @lueschem . If I use your kernel package in the edi build the resulting usb image now says it finds a device tree but fails with this error instead:
Here is the output of those 2 commands from a running system:
The only variables I added were the 2 kernel_comp; the rest is as it came from CL. |
Can you give this branch a try? The build command is:
It will build a Debian trixie image using buildah and friends. This commit pulls in the 6.6 kernel, sets an appropriate mender device type and chooses the correct edi-boot-shim template. The edi-boot-shim template is implemented here. |
This looks very promising!
I've run into a couple of issues. It's possible they are more related to me being new to the "v2" workflow. The root file system never gets resized (resize2fs binary is not present in the image)
Customizing the default user password appears to have no effect. Any ideas what might be going wrong there? |
I am glad to hear that the device boots! About the missing resize2fs: Recently the "Priority" of e2fsprogs went from "required" to "important". Therefore resize2fs is missing on the image. I will fix that asap! About the default user password and group ID: I will try to reproduce that issue. My first guess is that you need to clear intermediate artifacts before doing that change:
Background: If there is already a group with gid 2000 in the buildah container, then Ansible will refuse to create another group with the same gid. |
I believe I can reproduce the group ID issue:
However, after a
Let me know if I am missing something! |
Confirmed - after the recursive clean I was able to set custom user & password. So far the only other delta I've noticed is that it's very noisy on console; mostly with systemd logging. |
Hello,
Can anyone provide hints for what would need changing to support a similar compulab model - the IOT-DIN-IMX8PLUS?.
Out of the box the images produced from bookworm branch do not boot on this device; failing here:
The same usb stick boots fine on an iot-gate-imx8.
Thank you,
-M.
The text was updated successfully, but these errors were encountered: