<div dir="ltr"><div><div class="gmail_quote">2008/9/9 Jonathan Sturges <span dir="ltr"><<a href="mailto:jonathansturges@yahoo.com">jonathansturges@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the quick reply!<br>
This board uses a National PC97317 Super-I/O chip, and the only reference to a serial port I see in auto.c is a call to function pc97317_enable_serial(), where it passes the value of TTYS0_BASE.  I guess that means something could be wrong with pc97317_enable_serial(), which I'll try to grok tomorrow.<br>

<br>
thanks,<br>
<font color="#888888">Jonathan<br>
</font><div class="Ih2E3d"><br>
<br>
<br>
<br>
----- Original Message ----<br>
> From: Corey Osgood <<a href="mailto:corey.osgood@gmail.com">corey.osgood@gmail.com</a>><br>
> To: Jonathan Sturges <<a href="mailto:jonathansturges@yahoo.com">jonathansturges@yahoo.com</a>><br>
> Cc: coreboot mailing list <<a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a>><br>
> Sent: Monday, September 8, 2008 10:09:09 PM<br>
> Subject: Re: [coreboot] using COM2 on Geode GX-1 system (v2)?<br>
><br>
> You also need to change it in the target's auto.c or<br>
> cache_as_ram_auto.c, you'll need to change both the IO base and the<br>
> com port. They're usually defines at the start of the file that you<br>
> have to change.<br>
><br>
> -Corey<br>
><br>
> On Mon, Sep 8, 2008 at 10:04 PM, Jonathan Sturges<br>
</div><div><div></div><div class="Wj3C7c">> wrote:<br>
> > Hi,<br>
> > I have a perfectly working coreboot v2 image for a GX-1 target of mine, but<br>
> when I tried to switch it from COM1 to COM2, I can't make it work.  I thought it<br>
> would be as easy as updating TTYS0_BASE from 0x3f8 to 0x2f8 in Options.lb, but<br>
> that doesn't work.  What's the trick to making this work?<br>
> ><br>
> > thanks,<br>
> > Jonathan<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>
> ><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></div></div></blockquote>try this:<div><br></div><div>pc97317_enable_serial(PC97317_SP2,TTYS0_BASE);</div>
<div><br></div><div>for the call, only the first parameter is relevant, and will determine which physical port will be used. the second parameter</div><div>only determines which IO port your code uses to access it. </div>
</div><br></div></div>