I have imx7ulpevk board with me and I have connected LCD display through MIPI interface. Default .dtb selected by u-boot is imx7ulp-evk.dtb but I want to use imx7ulp-evk-mipi.dtb as a default .dtb file. I made below change in board config file,
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index cdc1a48..7ee1bf0 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -73,7 +73,7 @@
"console=ttyLP0\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
- "fdt_file=imx7ulp-evk.dtb\0" \
+ "fdt_file=imx7ulp-evk-mipi.dtb\0" \
"fdt_addr=0x63000000\0" \
"boot_fdt=try\0" \
"earlycon=lpuart32,0x402D0010\0" \
with this change I generated an image, flashed on the SD card and booted up the board. Very first boot fdt_file variable gets updated with imx7ulp-evk-mipi.dtb but from next boot onwards fdt_file value gets back to imx7ulp-evk.dtb. I am unable understand what is happening, looks like variable gets overridden somehow.
U-boot version I am using is 2020.01+fslc+g76594fb.
Any lead on this?