
Originally Posted by
stra
Thanks for:
2.8.5 9 January 2009 **** do***entation :king-041:
From my readings (have a lot of docs to read...)
Code:
fb_test
Test the Linux frame buffer. The mambofb module should be installed before using this application.
Please see "How can I use osdbuf_control.c?" in the FAQ page for more information.
How can I use osdbuf_control.c?
1. Need to compile mambolfb/mambolfb.o.
2. You will need to create the OSD buffer by doing...
# ./osdbuf_control -c
Note: since you will have many strange characters here, you should redirect the output.
# ./osdbuf_control -c > /mnt/nfs_partition/osdbuf
3. Then, read it back from the osdbuf
# insmod mambolfb.o videomemory=0x100000ec videomemorysize=1228800 palette=0x79000 mode=640
4. Next, you have the frame buffer module installed and ready to run the application called fb_test.
# ./fb_test /dev/fb/0
Now, you can see all the circles on TV with different alpha blending levels.
How can I test the OSD framebuffer under Linux?
We have 2 ways:
1. osdbuf which is a buffer that can be mapped, and is transferred by DMA master on every other VSynch osd_fb that uses osdbuf but offers a framebuffer device interface that allows to have the consoles running on it, or XFree as well. These instructions are for RH7.2. Please take a standard distributions and add the sources/headers of the kernel to be able to compile the kernelmodule. You also need fb enabled, but this is by default in RH7.2:
(if you did not put vga=792, the circles of colors change and have some circles of white in between the color circles. If you go on the console (Ctrl+Alt+F1) you should see the console on OSD) (if you did put vga=792, the vga uses the fb0 where the consoles are, and the osd framebuffer has been created with the next available /dev/fb1. You need to switch the console - uses ./sendconsoletoframebuffer 0 /dev/fb1)
2. You can also use the application ./osdbuf_fb_control to see the different access to the OSD.
Edit: Board used on Azbox is Rev. 3 correct?
"EM86XX_REVISION<=3" ???
Bookmarks