Changes

Jump to: navigation, search

BELK-AN-004: Interfacing BoraEVB/BoraXEVB to TFT LCD display

829 bytes added, 14:45, 2 September 2015
software details added
==Enabling frame buffer driver in linux kernel==
 To enable frame buffer driver user need to:* get the pre-built binaries from TBD Kernel and device tree can also be build with the following procedure:* update Bora kernel repository (as described [[Bora_Embedded_Linux_Kit_(BELK)#Updating_the_repositories_from_BELK_2.1.0_to_BELK_2.2.0|here]])* checkout ''bora-feat-lcd-support'' branch (using ''git checkout bora-feat-lcd-support'' command)* build the updated kernel source as usual Put the binaries on the first (FAT32) partition of your BELK 2.2.0 SD card, overwriting the original one when needed. Please note that you need the following files:* boot.bin* bora.dtb* uImage* fpga.bin* uEnv.txt Insert the SD card into BoraEVB and turn on the board.
During kernel bootstrap, the following messages are printed out on console, indicating framebuffer driver has been loaded succesfully:
[ 0.600840] borafb borafb.0: fb0: Virtual frame buffer device, using 16384K of video memory @ phys 2d900000
</pre>
 
You will also see two [https://en.wikipedia.org/wiki/Tux Tux] on the top left corner of the LCD, indicating that this Linux system has two cores.
Once the kernel has completed boot, frame buffer can be accessed from user space applications via <code>/dev/fb0</code> device file (for more details please refer to https://www.kernel.org/doc/Documentation/fb/framebuffer.txt).
The following image shows Qt 4.??? demo application running on top of it.
 
TBD
743
edits

Navigation menu