<!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. Kept on getting bus failures around line 181 of cpu/mpc8xx/cpu_init.c (version 1.1.1). 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"> /**************************************************************</FONT>
<BR><FONT FACE="Courier"> * The following causes the RPXlite 823 with rev b2(?) silicon</FONT>
<BR><FONT FACE="Courier"> * to generate a bus fault when executing u-boot reset command.</FONT>
</P>
<P><FONT FACE="Courier"> /* perform BR0 reset that MPC850 Rev. A can't guarantee *</FONT>
<BR><FONT FACE="Courier"> reg = memctl->memc_br0;</FONT>
<BR><FONT FACE="Courier"> reg &= BR_PS_MSK; /* Clear everything except Port Size bits *</FONT>
<BR><FONT FACE="Courier"> reg |= BR_V; /* then add just the "Bank Valid" bit *</FONT>
<BR><FONT FACE="Courier"> memctl->memc_br0 = reg;</FONT>
<BR><FONT FACE="Courier"> </FONT>
<BR><FONT FACE="Courier"> ***************************************************************/</FONT>
</P>
<BR>
<P><FONT FACE="Courier">Regards,</FONT>
<BR><FONT FACE="Courier">John Miller</FONT>
</P>
<BR>
</BODY>
</HTML>