Modify your buildfile to support 720p screen resolution

The default buildfiles requires some modifications to support a screen resolution of 720p. Make the following changes to the src/hardware/support/appsmedia-sample/appsmedia-sample-board.build file:
  1. In the start-graphics section, change:
    #Start devi-hid with a width and height parameter.
    #The width and height must match graphics.conf
    devi-hid -R800,480 touch kbd &
    to:
    #Start devi-hid with a width and height parameter.
    #The width and height must match graphics.conf
    devi-hid -R1280,720 touch kbd &
  2. In the graphics.conf display internal configuration section, change:
    video-mode = 800 x 480 @ 60
    to:
    video-mode = 1280 x 720 @ 60
  3. In the graphics.conf mtouch configuration section, change:
    options = height=480,width=800,poll=1000
    to:
    options = height=720,width=1280,poll=1000
  4. In the scaling.conf section, change:
    800x480:mode=direct
    to:
    1280x720:mode=direct
  5. For i.MX6 boards, you must make additional changes:
    • In the graphics.conf dislay 1 configuration section (line 117), change:
      # HDMI display
      wfd-dlls = libwfdcfg-imx6x-hdmi.so libimx6xCSCgamma-generic.so libWFDimx6x.so
      to:
      # 720p display
      wfd-dlls = libwfdcfg-imx6x-qnx-car.so libimx6xCSCgamma-generic.so libWFDimx6x.so
    • In the Graphics files section (line 338), add:
      /usr/lib/graphics/iMX6X/libwfdcfg-imx6x-qnx-car.so=libwfdcfg-imx6x-qnx-car.so
  6. To regenerate the final Apps and Media image, type the following command:
    make appsmedia-sample