Difference between revisions of "Framebuffer"
From ArmadeusWiki
(→Armadeus Framebuffer documentation page !) |
|||
Line 1: | Line 1: | ||
− | + | Here is the procedure to have a working framebuffer on the board | |
− | + | '''Framebuffer is already configured in standard Armadeus kernel image (for Microtips LCD)''' | |
− | + | ||
− | + | * configure the Linux kernel for Framebuffer support: | |
− | * | + | |
− | + | ||
− | + | ||
− | configure the | + | |
<pre> | <pre> | ||
make menuconfig | make menuconfig | ||
Line 17: | Line 12: | ||
support" (deactivate VGA stuff & add some fonts), then choose 224 colour | support" (deactivate VGA stuff & add some fonts), then choose 224 colour | ||
boot logo | boot logo | ||
+ | * recompile the kernel, now to have console on serial port, you will have to add "console=ttySMX0,115200n8" to your boot parameters | ||
+ | * reflash kernel image on your board and enjoy (you should see Linux logo on screen at startup)! | ||
− | + | If you have devfs activated, framebuffer device can be accessed with /dev/fb/0. Otherwise, you will need to create the device node with | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | If you have devfs activated, framebuffer device can be accessed with /dev/fb/0. Otherwise, you will | + | |
<pre> | <pre> | ||
− | mknod c 29 0 | + | # mknod c 29 0 |
</pre> | </pre> | ||
You can activate some test tools from the armadeus build process: | You can activate some test tools from the armadeus build process: | ||
<pre> | <pre> | ||
− | make menuconfig -> packages -> fbset | + | $ make menuconfig -> packages -> fbset |
</pre> | </pre> | ||
Revision as of 20:56, 28 February 2008
Here is the procedure to have a working framebuffer on the board
Framebuffer is already configured in standard Armadeus kernel image (for Microtips LCD)
- configure the Linux kernel for Framebuffer support:
make menuconfig
- in "Char Devices" menu, activate "Virtual Terminal" and "Support for virtual terminal on console"
- in "Graphic support" activate "Support for Framebuffer", "Motorola iMX
LCD support" "Console display driver support ->Frame buffer console support" (deactivate VGA stuff & add some fonts), then choose 224 colour boot logo
- recompile the kernel, now to have console on serial port, you will have to add "console=ttySMX0,115200n8" to your boot parameters
- reflash kernel image on your board and enjoy (you should see Linux logo on screen at startup)!
If you have devfs activated, framebuffer device can be accessed with /dev/fb/0. Otherwise, you will need to create the device node with
# mknod c 29 0
You can activate some test tools from the armadeus build process:
$ make menuconfig -> packages -> fbset
You have several test tools on yahoo groups to play a little with the framebuffer.