Hi:
I'm using an imx8mp-evk with Linux 5.15.71_2.2.0 release.
I'm trying to change u-boot's default dtb file in yocto from "imx8mp-evk-dsp.dtb" to "imx8mp-evk-sof-wm8960.dtb".
So far I have tried the following without luck:
* Created my own layer and added recipes-kernel/linux/linux-imx_%.bbappend with the line KERNEL_DEVICETREE = "freescale/imx8mp-evk-sof-wm8960.dtb" . I can confirm the variable is set by "bitbake virtual/linux -e | grep KERNEL_DEVICETREE", it show the value but not in uboot
* Added the previous line to conf/local.conf
* Added to local.conf:
First: CONFIG_DEFAULT_FDT_FILE = "imx8mp-evk-sof-wm8960.dtb"
And then:CONFIG_DEFAULT_DEVICE_TREE="imx8mp-evk-sof-wm8960"
* Used devtool modify u-boot-imx and changed the configuration file imx8mp_evk.h
- "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
+ "fdtfile=imx8mp-evk-sof-wm8960.dtb\0" \
After updating the recipe, generating the patch, etc, I can see that the patch is correctly applied to uboot's build dir but, once again, the final image still has "fdtfile=imx8mp-evk-dsp.dtb"
I think there is something else setting the default dtb un uboot and so far I was not able to find it, any input is highly appreciated.