<!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.2900.2180" name=GENERATOR>
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>Thank you very much for your help!I think there 
may be somthing wrong with my kernel command&nbsp; line.</FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT face=Verdana size=2>woyuzhilei</FONT></DIV>
<DIV><FONT face=Verdana size=2>2007-08-25</FONT></FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发件人:</STRONG> Grant 
Likely</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发送时间:</STRONG> 
2007-08-25&nbsp;02:21:11</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG> 
woyuzhilei</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>抄送:</STRONG> 
linuxppc-embedded</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>主题:</STRONG> Re: Problems on 
porting linux 2.6 to xilinx ML410</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>
<DIV>On&nbsp;8/23/07,&nbsp;woyuzhilei&nbsp; &lt;woyuzhilei@163.com 
&gt;&nbsp;wrote:</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;Hey:</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Recently&nbsp;I'm&nbsp;doing&nbsp;some&nbsp;project&nbsp;on&nbsp;Xilinx&nbsp;Ml410&nbsp;evaluation&nbsp;board.The</DIV>
<DIV>&gt;&nbsp;first&nbsp;step&nbsp;is&nbsp;porting&nbsp;linux&nbsp;2.6&nbsp;to&nbsp;ml410,but&nbsp;I&nbsp;got&nbsp;some&nbsp;problems&nbsp;on&nbsp;this,and</DIV>
<DIV>&gt;&nbsp;my&nbsp;project&nbsp;cann't&nbsp;proceed,so&nbsp;I&nbsp;come&nbsp;to&nbsp;you&nbsp;for&nbsp;some&nbsp;help.</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;use&nbsp;the&nbsp;linux&nbsp;kernel&nbsp;source&nbsp;tree&nbsp;download&nbsp;from</DIV>
<DIV>&gt;&nbsp;<A 
href="http://git.secretlab.ca/git/linux-2.6-virtex.git&nbsp;&nbsp;(The">http://git.secretlab.ca/git/linux-2.6-virtex.git&nbsp;&nbsp;(The</A></DIV>
<DIV>&gt;&nbsp;latest&nbsp;one).Add&nbsp;the&nbsp;file&nbsp;the&nbsp;xparameters.h,xparameter_ml40x.h.&nbsp;&nbsp;Then&nbsp;add</DIV>
<DIV>&gt;&nbsp;arch/ppc/platforms/4xx/xilinx_generic_ppc.c(Use&nbsp;the&nbsp;patch&nbsp;I</DIV>
<DIV>&gt;&nbsp;get&nbsp;here),and&nbsp;change&nbsp;it's&nbsp;name&nbsp;to&nbsp;ml40x.c,then&nbsp;I&nbsp;make&nbsp;some&nbsp;necessay&nbsp;change</DIV>
<DIV>&gt;&nbsp;of&nbsp;the&nbsp;configuration&nbsp;files&nbsp;to&nbsp;accept&nbsp;selecting&nbsp;a&nbsp;Ml40x&nbsp;type&nbsp;board.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You&nbsp;shouldn't&nbsp;need&nbsp;to&nbsp;do&nbsp;all&nbsp;of&nbsp;this;&nbsp;only&nbsp;the&nbsp;xparameters_ml40x.h</DIV>
<DIV>file&nbsp;is&nbsp;needed.&nbsp;&nbsp;To&nbsp;get&nbsp;started,&nbsp;I'd&nbsp;just&nbsp;use&nbsp;replace</DIV>
<DIV>xparameters_ml403.h&nbsp;with&nbsp;your&nbsp;custom&nbsp;xparameters_ml40x.h&nbsp;and&nbsp;use&nbsp;the</DIV>
<DIV>ml403&nbsp;board&nbsp;port.&nbsp;&nbsp;Once&nbsp;you've&nbsp;got&nbsp;it&nbsp;booting,&nbsp;you&nbsp;can&nbsp;get&nbsp;more&nbsp;fancy.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;Then</DIV>
<DIV>&gt;&nbsp;compile&nbsp;the&nbsp;kernel,and&nbsp;get&nbsp;the&nbsp;image&nbsp;file&nbsp;from&nbsp;arch/ppc/boot/images,&nbsp;(On</DIV>
<DIV>&gt;&nbsp;kernel&nbsp;compiling,the&nbsp;only&nbsp;device&nbsp;driver&nbsp;&nbsp;I&nbsp;sellect&nbsp;is&nbsp;"&nbsp;8250/16550&nbsp;and</DIV>
<DIV>&gt;&nbsp;compatible&nbsp;serial&nbsp;support&nbsp;").After&nbsp;that&nbsp;&nbsp;I&nbsp;download&nbsp;the&nbsp;zImage.elf&nbsp;file&nbsp;to</DIV>
<DIV>&gt;&nbsp;the&nbsp;target&nbsp;board,and&nbsp;run&nbsp;it.But&nbsp;there&nbsp;is&nbsp;no&nbsp;output&nbsp;from&nbsp;the&nbsp;serial&nbsp;port&nbsp;at</DIV>
<DIV>&gt;&nbsp;all.Am&nbsp;I&nbsp;doing&nbsp;somthing&nbsp;wrong?I&nbsp;really&nbsp;don't&nbsp;know&nbsp;goes&nbsp;wrong.</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Can&nbsp;anyone&nbsp;here&nbsp;help&nbsp;me&nbsp;with&nbsp;this?Any&nbsp;help&nbsp;from&nbsp;you&nbsp;is&nbsp;appreciated.Thank</DIV>
<DIV>&gt;&nbsp;you&nbsp;very&nbsp;much!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Make&nbsp;sure&nbsp;you've&nbsp;got&nbsp;16550&nbsp;console&nbsp;support&nbsp;enabled&nbsp;and</DIV>
<DIV>'console=/dev/ttyS0'&nbsp;in&nbsp;your&nbsp;kernel&nbsp;command&nbsp;line.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers,</DIV>
<DIV>g.</DIV>
<DIV>&nbsp;</DIV>
<DIV>--&nbsp;</DIV>
<DIV>Grant&nbsp;Likely,&nbsp;B.Sc.,&nbsp;P.Eng.</DIV>
<DIV>Secret&nbsp;Lab&nbsp;Technologies&nbsp;Ltd.</DIV>
<DIV>grant.likely@secretlab.ca</DIV>
<DIV>(403)&nbsp;399-0195</DIV></FONT></DIV></BODY></HTML>