How to set display resolution?

  • Hello,


    i have a custom display with resolution 640x480 px.
    Regarding to some research in the forum I found in kernel sources, drivers/video/mvf_dcu.c an entry which supports this resolution.
    I use fsvybrid-V2.1.


    How can I change the default resolution? Can I do this from command line or is custom kernel or u-boot build necessary?


    Regards
    Ruben

  • Hello,


    take a look into your linux kernel source:

    Code
    1. arch/arm/mach-mvf/mach-netdcua5.c


    search for

    Code
    1. mode_str


    Code
    1. // Replace
    2. .mode_str = "800x480",
    3. // by
    4. .mode_str = "640x480",


    you have to rebuild & reload your kernel.