Configuring Proper Device Tree for Ivy Carrier Board on Verdin iMX8MM in Yocto

Hi Alvaro,

I’m not sure modifying the machine conf file is the right approach here. It may work but I’ve obviously not tested your exact config. The diffs from the stock file are not too concerning but I wonder if we should take a step back and try with the default conf file.

My understanding is you have three main concerns:

  1. Getting the console to work. Unless you added a transceiver to your board, I’m not sure how you got it working. My understanding is that the Ivy board does not have that part populated and if you really need it then you need to follow the instructions in this post. What port are you connecting to when you got this working? Can you share a pic of your setup?

  2. Setting the default dtb. As you noticed you can set fdtfile in the uboot environment and save it, then the PREBOOT command will take care of it. If you want to have it set in the default image, the way to do that is documented here.

  3. Getting the Riverdi 7" DSI display to work. Was it working before you changed the uboot fdtfile variable? The basic way to handle this is documented here for the on-device workflow and here for doing this change in the Yocto build.

I realize I am repeating myself here but I just wanted to summarize what I think are all your concerns in one post. Please let me know if I got it all.

Drew