<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Question about SMC serial port on MPC8270 in u-boot </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">Dear All:</FONT></SPAN>

<BR><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;When i port the u-boot 1.1.3 on my MPC8270 board, the serial port has the following question:</FONT></SPAN>

<BR><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp; 1. the Dual port ram cannot be revised manually, but can be revised by the u-boot code. What's the problem?</FONT></SPAN>

<BR><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;&nbsp; 2. the serial_putc() in serial_smc.c is loop forever on&nbsp; &quot;while (tbdf-&gt;cbd_sc &amp; BD_SC_READY);&quot;. How to slove the bug?</FONT></SPAN></P>

<P><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;&nbsp; 3. the speed.c calc the wrong cpm, cpu, brg_clk, I had hard coded the right&nbsp;&nbsp; cpm, cpu, brg_clk values. But the &quot;m8260_cpm_setbrg()&quot; is still wrong? Why?</FONT></SPAN></P>

<P><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the registers are all right.</FONT></SPAN>

<BR><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;&nbsp; 4. Can you tell me the ALL items about the SMC1&nbsp; UART output? I had checked almost all the concerned SMC registers, IO ports,</FONT></SPAN></P>

<P><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data structures, they all seems right, but the UART cannot work. How could I find the problem? </FONT></SPAN>

<BR><SPAN LANG="zh-cn"><FONT COLOR="#000000" SIZE=2 FACE="Arial">&nbsp;&nbsp; thanks a lot ! </FONT></SPAN>
</P>
<BR>

</BODY>
</HTML>