Verdin device tree compilation from the toradex repo not working


I am trying to customize the device tree for the verdin board (so that wifi is enabled), and as a starting point I would like to use the one provided by the toradex git. However the device tree present in the repo is not working for me. I do have a working one, and by comparing both with dtdiff (or decompiling them) I see a lot of changes and am not sure where to look.

My best guess is that the device tree provided by in the toradex git repo should be working without making any changes. So my first focus is on getting this to work, and then I am going to apply the overlay.

The setup I have:
Verdin iMX8M Mini 2GB Wi-Fi / BT IT V1.0B
This is the repo (commit) that I currenly use for DT. I would like to be able to compile any verdin related device tree in this folder.

How I am loading the devicetree/kernel:

  1. I use the u-boot bootloader that was shipped with the verdin board to load an image and device tree present on an sd card:
  2. I load the device tree by updating the device tree name in u-boot (
    setenv fdtfile NEWNAME.dtb)
  3. U-boot loads the Image and the device tree and gives the message “starting kernel…”

At this point I am not sure where to look. Can I assume that the device tree that is compile from the git repo is correct, or is there a versioning thing that I am overlooking?

Device tree:
The device three that is working is a fsl device tree.
I can decompile and recompile this tree, which indicates that it is not an compilation issue. I can also make minor changes to this device tree file (like removing the serial ports), and I see the result which indicates that u-boot does load this new device tree.

I get no compilation errors and I can inspect the header with the u-boot tools. I am pretty sure that it is not only a serial thing (I would expect the serial to give boot messages), but the ethernet connection that is established with the working device tree is not coming up.

U-boot BuildInfo:

  • ATF a-20190
  • U-Boot 2018.03-toradex_imx_v2018.03_4.14.78_1.0.0_ga-bringup+gc0ff506c39 )

I am using Buildroot for compiling the kernel and device trees, but I have verified that it is not a buildroot related issue since the device trees compile with the toradex manual gives issue of not booting.

Toradex provided device tree is definitely “working” since we used it for building our images and they work. Most like it just not compatible with your kernel. Unfortunately we are not supporting buildroot.
You can try to build an image using OpenEmbedded/Yocto and verify that device tree is OK