On Sun, Apr 20, 2008 at 9:05 PM, Joe <<a href="mailto:joe@settoplinux.org">joe@settoplinux.org</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hmm is right. That brings me back to my original question then:<br>
<div class="Ih2E3d"><br>
Starting to work on the TV-Out code for the RCA RM4100, and I need some<br>
help. Here is the Logical Plan:<br>
<br>
1. Setup a custom vga init (similar to Corey's vga.c for the cn700<br>
northbridge) that will call a i2c (i810_i2c.c which could be used for a<br>
bunch of intel nothbridges) driver from coreboot-v2/src/drivers/i2c/ that<br>
</div>will setup communications with the Tv-out encoder via the GPIO (sda, sdl)<br>
lines in the nothbridge.<br>
<div class="Ih2E3d">2. Then setup a init (that would program the registers, and fire it up)for<br>
the Tv encoder coreboot-v2/src/drivers/tv-out which could also be called<br>
from the nothbridge vga.c.<br>
<br>
</div><div class="Ih2E3d">Here is where it gets tricky. I want to make it dynamic in the respect that<br>
you could specify from your mainboard directory:<br>
</div>a. enable TV encoder usage (if yes setup i2c and program encoder, otherwise<br>
just skip over it).<br>
<div class="Ih2E3d">b. TV-out settings (with a header file??) like NTSC, PAl, resolution,<br>
macrovision, filters, etc.<br>
</div><div class="Ih2E3d">c. Specify which Tv encoder to use</div></blockquote><div><br>Ok, I'm not sure if that would work or not (it's late, I'm tired, and I can't remember), but declaring the tv encoder as a seperate device *should* work. Then you can put it in your mainboard Config.lb as device/tv-encoder/[chip name], like a north/south bridge or super io. You should then be able to give it an options struct, so you can just do register "format" = "ntsc", etc.<br>
<br>-Corey<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
<br>
</div><div class="Ih2E3d">This would broaden the horizons and allow other boards that have TV-out to<br>
use this code also. The only thing I can think to do is setup some global<br>
parameters? Suggestions?<br>
<br>
</div><div class="Ih2E3d">Thanks,<br>
Joseph Smith<br>
Set-Top-Linux<br>
<a href="http://www.settoplinux.org" target="_blank">www.settoplinux.org</a><br>
> -----Original Message-----<br>
><br>
</div><div><div></div><div class="Wj3C7c">> > > Please make the TV stuff generic code for the chipset that is<br>
> > > enabled by an option in Config.lb.<br>
><br>
> This is not obviously correct anymore. I thought it was indeed<br>
> integrated. The CX25873 no doubt needs specific init, which doesn't<br>
> belong in the Intel code at all. Hm.<br>
><br>
><br>
> //Peter<br>
><br>
<br>
<br>
<br>
--<br>
coreboot mailing list<br>
<a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>
</div></div></blockquote></div><br>