I’m busy with trying to get the spread spectrum build as you describe in the mail and I have some issues building this correct.
First to describe some context.
My environment is based on the 5.0.0 release and I’m building a custom image based on the reference image with tdx-wayland as distro.
I followed the description for doing this from Build Custom i.MX 8/8X System Controller Firmware (SCFW) | Toradex Developer Center.
The sdk that I use is the 1.5.1 version from NXP because as I could see from the recipe name it looks like that U are also using the same sdk (imx-sc-firmware-toradex_1.5.1.bb).
I copied the code from the i.MX-System-Controller-Firmware with the same hash as the yocto recipe to the sdk and build it with the gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux compiler downloaded from the links provided.
With the description from the website I could build the code. To let it be used in the image I made a bbappend that overwrites the .bin file that is used in the imx-sc-firmware-toradex recipe with my personal .bin that is generated.
When I generate from this an Image it will boot on my custom environment, but the screen stays black. Even when I don’t change any code at all. I did the spread spectrum changes as described and I see that when the changes are done the spread spectrum can be measured.
So it also looks that it is working.
Based on this I have 2 questions:
1: Is there a explanation why this could happen? Can you give me any pointers what I could have done wrong in the above.
2: Is there a quick way to iterate with the scfw binaries. I tried to trigger rebuilds in Yocto for a new image, but this does not work because It seems that there is a missing build dependency. So the scfw binaries change but are not taken in to the new image because this change is not seen by the build environment.