All
I’m making progress, slow but steady.
As of today I can build & run kernel 2.6.22.18 (from the beagleboard wiki – no patches). Once it boots, it the output screen has a penguin in the upper left of a blue screen (hooray!). The monitor resolution is 1024 x 768
My goal is to change the resolution to 640 x 480, RGB 888. Khasim provided the suggestion below and I tried them (and several other slight modifications). They build but when I run, I am not seeing anything displayed on my monitor (completely black). I’m wondering if there are some other registers that need changing too (pixel clock?) Does anything come to mind?
Thanks in advance and regards
Jim
------------------------------------------------------------------
FILE: arch/arm/plat-omap/Display.c
1. omap2_disp_set_panel_size()
//changed the LCD size to 720p
dispc_reg_out(DISPC_SIZE_LCD,0x01DF027F);
2. omap2_disp_config_lcd(u32
clkdiv, u32 hbp, u32 hfp, u32 hsw,
dispc_reg_out(DISPC_DIVISOR, divisor);
control = dispc_reg_in(DISPC_CONTROL);
control |= DISPC_CONTROL_TFTDATALINES_OALSB24B;
FILE: drivers/video/omap/omap_disp_out.c
1) //changed LCD size #define
#define H4_LCD_XRES 640
#define H4_LCD_YRES 480
If you move up to the git tree kernel with the OE patches, you can
check out [1], [2], and [3] to gain the ability to dynamically select
640x480 from the bootargs. [1] is the initial submission of the patch
to the git tree to add DVI-D support for Beagle. [2] adds to [1]
additional resolution options that are configurable by 'make
menuconfig'. I don't believe that [3] cleanly patches [2], but it
adds the ability to fetch the resolution/mode settings from the
bootargs command-line.
[1] http://source.mvista.com/git/?p=linux-omap-2.6.git;a=commitdiff;h=0e3ef44c3c56ea2b46d59ffcb230f00c49d19916
[2] http://www.sakoman.net/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=2498f7c4179b37d971e283a707211b9874fcce55
[3] http://git.mansr.com/?p=linux-omap;a=commitdiff;h=c76a61167997a1dc680c421b1cdb753dfd492b0a
At least you can get some additional ideas from these patches.
Does anyone know if S-Video and DVI (LCD data) can display simultaneously, with different source?
I want two different video streams running at the same time.
Regards
Jim
Regards,
Nishanth Menon
Try the patches from the link below
http://linux.omap.com/pipermail/linux-omap-open-source/2008-June/012744.html
echo 'lcd' > /sys/class/display_control/omap_disp_control/video1
echo 'tv' >/sys/class/display_control/omap_disp_control/video2
-Ragha
the below command will send Video1 pipeline content on to S-video
echo 'tv' > /sys/class/disp_control/omap_disp_out/video1
Regards,
Khasim
BTW, I guess this email belong to the set of mails Jason is letting thru
-> please note posting to this mailing list requires subscription to the
group first..
Regards,
Nishanth Menon
I should be getting my beagle in october, and I will definately want
to do something
similar... Mind if I contact you at that time?