<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="line-height: 23.8px; margin: 0px;">Dear openbmcer,</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">        </span> Thank you for your quick reply.</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">      </span> My code is based on openbmc meta-ibm/meta-romulus.I think it is similar to ast2500.evb. I tried to change debug console uart5(ttl) to uart1(rs232) on uboot and kernel linux.</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">        </span> I read the ast2500 manual,find we can set Hardware Strap gpio or Hardware Strap register bit29 to changedebug console between uart5 and uart1 but not effective.</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">     </span> I also tried these:</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">  </span> (1) modify CONFIG_BOOTARGS to "console=ttyS0,115200n8 root=/dev/ram rw" on uboot ast-g5.c</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">  </span> (2) modify stdout-path = &uart1; bootargs = "console=ttyS0,115200 earlyprintk";  on kernel aspeed-bmc-opp-romulus.dts</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">     </span> </p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">     </span> Any advice will be appreciated.</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">                                                                                                                                                                                                                              </span></p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">                                                                                                                                                                                                   </span>Thanks,</p><p style="line-height: 23.8px; margin: 0px;"><span class="Apple-tab-span" style="white-space: pre;">                                                                                                                                                                                                    </span>JunHeng</p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2020-07-24 10:38:30, "chunhui.jia" <chunhui.jia@linux.intel.com> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">

<style type="text/css">
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</style>



<div>Is it AST2500-EVB?</div>
<div> </div>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; COLOR: #c0c0c0" align="left">2020-07-24 
<hr id="SignNameHR" style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; WIDTH: 122px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px" align="left">
<span id="_FlashSignName">chunhui.jia</span> </div>
<hr style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px">

<blockquote id="ntes-flashmail-quote" style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; PADDING-LEFT: 0px; MARGIN-LEFT: 0px">
  <div><strong>发件人:</strong>不语 <junhengdi@163.com></div>
  <div><strong>发送时间:</strong>2020-07-23 17:54</div>
  <div><strong>主题:</strong>how to change debug uart from uart5 to uart1 on 
  ast2500 romulus?</div>
  <div><strong>收件人:</strong>"openbmc"<openbmc@lists.ozlabs.org></div>
  <div><strong>抄送:</strong></div>
  <div> </div>
  <div>
  <div style="FONT-SIZE: 14px; FONT-FAMILY: Arial; COLOR: #000000; LINE-HEIGHT: 1.7">
  <p style="MARGIN: 0px">Dear opembmcer,</p>
  <p style="MARGIN: 0px"><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>I am green to openbmc and I want to learn 
  something about ast2500.Now I have one board ast2500 and </p>
  <p style="MARGIN: 0px">use openbmc code romulus.I know the default debug uart 
  is uart5 and I want to change it to uart1,because</p>
  <p style="MARGIN: 0px">on my board, uart1 is rs232.I have tried these ,but not 
  effective.</p>
  <p style="MARGIN: 0px">(1) set the hardware strap register bit29 0 on 
  ast-g5.c</p>
  <p style="MARGIN: 0px">(2) set CONFIG_SYS_NS16550_COM1 from 0x1E784000 to 
  0x1E783000</p>
  <p style="MARGIN: 0px"><br></p>
  <p style="MARGIN: 0px"><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>Any addvice will be appricated.</p>
  <p style="MARGIN: 0px"><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>            
                        
             Thanks,</p>
  <p style="MARGIN: 0px"><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span>            
                        
             JunHeng</p></div><br><br><span title="neteasefooter">
  <p> </p></span></div></blockquote></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>