<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>
<DIV><FONT size=2>Hi, all!</FONT></DIV>
<DIV>    I am doing porting jobs on GX2(GX-<A 
href="mailto:GX-533@1.1w">533@1.1w</A>) + cs5535. I am using OLPC/rev_a 
directory as my starting point. </DIV>
<DIV>I know that OLPC use GX2(GX-<A href="mailto:GX-500@1.0w">500@1.0w</A>, 
right??) + cs5536. From POST card i see the code runs far behind the code </DIV>
<DIV>of auto.c(src/mainboard/olpc/rev_a/auto.c), and there should be some 
information printed from uart1, actually there is </DIV>
<DIV>none. </DIV>
<DIV>    As for cs5536, i see cs5536_setup_onchipuart() called 
before uart_init(), and i find the MSRs handled in </DIV>
<DIV>cs5536_setup_onchipuart do exist in cs5535. So i added a function named 
cs5535_setup_onchipuart in </DIV>
<DIV>cs5535_early_setup.c, and call that functions in auto.c. The same result, 
nothing printed from uart1.</DIV>
<DIV>    I googled related information, i found someone said 
we must first loaded VSA before we can use internal uart of </DIV>
<DIV>cs5535. I have a little bit understanding on VSA. From my point of view, i 
see VSA is an auto tools for OS to access </DIV>
<DIV>standard x86 compatible registers and ios from not fully x86 compatible 
system like cs5535. And i think </DIV>
<DIV>cs5535_setup_onchipuart handles accessing msr in cs5535 manually as what 
VSA should do and we do not need to </DIV>
<DIV>firstly load VSA at auto.c. If I were right, why nothing appears from 
uart??</DIV>
<DIV>    Any advice would be well 
appreciated.</DIV></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV><FONT size=2>
<DIV align=left>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</DIV>
<DIV align=left>Regards</DIV></FONT>
<DIV><FONT color=#c0c0c0><FONT size=2>lihao</FONT></DIV>
<DIV><FONT size=2>2007-02-04</FONT></FONT></DIV></FONT></BODY></HTML>