Set imx6ull-colibri default lcd resolution

Hello there,
I am working with imx6ull-colibri 512 SOM and I want to set 800x600 resolution.
As defaul the display resolution is 640x480 and I know for Display Output, Resolution and Timings (Linux) | Toradex Developer Center.
So to change that resolution I have to do:

$ setenv vidargs video=‘mxsfb:800x600M-16@60’

To set this vidargs arg is working but I want to have this resolutios as default .
To be clear, I need that 800x600 as default resolution.
Which file I have to change to do this?
My idea is to do a recipie that change some file to set the resolution that I want but I dont know which file does this and if is It possible to do.
Which file sets this args in u-boot?
Thanks,
Emmanuel

Hello @emmaperea ,

Welcome to the Toradex community!

The correct way to do this is to adjust the sources from the U-boot and recompile it.

Please take a look at this file where the vidargs parameter is configured.

To download the sources and recompile the U-boot, please take a look at this article.

Best regards,
Daniel Morais

Hi Daniel,
Yes, that is the solution.
I made the follow change in colibri-imx6ull.h:

            "${board}/flash_blk.img && source ${loadaddr}\0" \
    "splashpos=m,m\0" \
    "splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
  •   "vidargs=video=mxsfb:800x600M-16@60\0" \
      "videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0\0" \
      "updlevel=2\0"
    

Thanks for your help.
Emmanuel.