Hi santhosh@eilabs.co.in,
You will be able to change the u-boot environment variables from the board files "include/configs/imx_env.h" and "include/configs/imx8mm_evk.h".
Note:
As this are header files it may not reflect while compilation, so make sure to modify the c file and compile.
Regards,
Kunal