Neo, how to change HDMI resolution to 1024x768?.

Discussion in 'UDOO NEO' started by Kevin.B.W.lEE, Nov 15, 2015.

  1. Kevin.B.W.lEE

    Kevin.B.W.lEE New Member

    Joined:
    Nov 10, 2015
    Messages:
    5
    Likes Received:
    0
    Hello?
    My lcd monitor is quite old one. It just support 1024x768. but, neo seems fixed by 1280x720.
    How can I configure it to 1024x768?.
    --
    udooer@udooneo:~$ xrandr
    Screen 0: minimum 240 x 240, current 1280 x 720, maximum 8192 x 8192
    mxs-lcdif connected 1280x720+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    U:1280x720p-60 60.0*
    udooer@udooneo:~$
    udooer@udooneo:~$ uname -a
    Linux udooneo 3.14.28-udooneo-04206-g9e7d486 #31 SMP PREEMPT Thu Nov 12 16:22:15 CET 2015 armv7l armv7l armv7l GNU/Linux


    root@udooneo:~# setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1024x768M@60,if=RGB24,bpp=32 video=mxcfb1:eek:ff video=mxcfb2:eek:ff fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M
    No command 'setenv' found, did you mean:
    Command 'netenv' from package 'netenv' (universe)
    setenv: command not found
    root@udooneo:~# sudo apt-get install setenv
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package setenv



    Best Regards,
     
  2. stanleyyork11

    stanleyyork11 New Member

    Joined:
    Nov 23, 2015
    Messages:
    7
    Likes Received:
    2
    Well your problem seems to lie in the fact that there are emoji in your code :p

    Sent from my Harrier Tab from EE using Tapatalk
     
  3. jas-mx

    jas-mx Active Member

    Joined:
    Dec 31, 2013
    Messages:
    407
    Likes Received:
    118
    Currently (this may change in the future), if you want to change resolution then you need to edit the dts which has the monitor timing for hdmi with new timings for your display, compile the dts and deploy to the image. I'm guessing your wondering why it's not so straight forward? The imx6sx doesn't have a on board hdmi controller, so the LCD interface is wired to an external HDMI controller. A combination using the LCD interface and writing a kernel driver for the controller meant the quickest solution was to set the resolution in the dts file.

    I'd also point out that 1024x768 isn't a valid HDMI CEA mode and therefore most likely won't work without further code changes to the hdmi driver to allow DMT modes.
     

Share This Page