<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Reset command causes Bus Fault on MPC823</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><FONT FACE="Courier">Hi Folks</FONT>
</P>

<P><FONT FACE="Courier">Been working on getting u-boot's reset command to work correctly on my RPXlite.&nbsp; Kept on getting bus failures around line 181 of cpu/mpc8xx/cpu_init.c (version 1.1.1).&nbsp;&nbsp; I finally tried commenting out the following lines (figuring that I wasn't an 850 and wasn't rev A silicon) and am now able to perform a reset successfully at u-boot's command prompt.</FONT></P>
<BR>

<P><FONT FACE="Courier">&nbsp; /**************************************************************</FONT>

<BR><FONT FACE="Courier">&nbsp;&nbsp; * The following causes the RPXlite 823 with rev b2(?) silicon</FONT>

<BR><FONT FACE="Courier">&nbsp;&nbsp; * to generate a bus fault when executing u-boot reset command.</FONT>
</P>

<P><FONT FACE="Courier">&nbsp; /* perform BR0 reset that MPC850 Rev. A can't guarantee *</FONT>

<BR><FONT FACE="Courier">&nbsp; reg = memctl-&gt;memc_br0;</FONT>

<BR><FONT FACE="Courier">&nbsp; reg &amp;= BR_PS_MSK;&nbsp;&nbsp;&nbsp;&nbsp; /* Clear everything except Port Size bits *</FONT>

<BR><FONT FACE="Courier">&nbsp; reg |= BR_V;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* then add just the &quot;Bank Valid&quot; bit&nbsp;&nbsp;&nbsp;&nbsp; *</FONT>

<BR><FONT FACE="Courier">&nbsp; memctl-&gt;memc_br0 = reg;</FONT>

<BR><FONT FACE="Courier">&nbsp; </FONT>

<BR><FONT FACE="Courier">&nbsp; ***************************************************************/</FONT>
</P>
<BR>

<P><FONT FACE="Courier">Regards,</FONT>

<BR><FONT FACE="Courier">John Miller</FONT>
</P>
<BR>

</BODY>
</HTML>