NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Fbtest
About[edit]
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[edit]
Visit Download fbtest source
Cross compiling[edit]
- 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[edit]
- EVM booted up with NFS configuration.
- Connect a display device such as LCD.
Execution[edit]
- ./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.