Fbtest

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search


  • Image:Google-16x16.png Search for an article here:


Contents

About

fbtest is a open source tool that can be used for testing the frame buffer device. Supports-

  • Command line option for pixel formats
  • Command line option for width and height.
  • Command line option to enable/disable clearing after drawing.


Source Download Location

Visit Download fbtest source


Cross compiling

  • Command to compile - $(TOOL_CHAIN_PREFIX) -o fbtest fbtest.c
    The TOOL_CHAIN_PREFIX corresponds to the tool chain in use. Set this based on your tool chain. Also make path to toolchain is exported as part of $PATH.


Test setup

  • EVM booted up with NFS configuration.
  • Connect a display device such as LCD.


Execution

  • ./fbtest --help ----To know the usage/options supported.
  • ./fbtest -fRGB565 -s320x240 -n ---- To display the color pattern in RGB565 format with width as 320 and height as 240. Don't clear the screen after display.
  • ./fbtest -fRGB565 -s320x240 ---To display the color pattern in RGB565 format with width as 320 and height as 240. Clear the screen after display.

For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Fbtest here.
Leave a Comment