<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Lucida Sans Unicode";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        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:"Lucida Sans Unicode";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>Hello all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>After a lot of
reading of code, FAQs, and this list, I have successfully ported U-Boot to my
custom PowerPC 852T platform.&nbsp; (And by the way, all you out there that
have problems with SDRAM&#8230; make sure your UPM tables are right; cost me a
day for two mistyped values.)&nbsp; However, I ran into something that I call
unusual, and would like some advice/opinions.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>My board boots to
address 0x0, with FLASH located there.&nbsp; The desired location for FLASH
memory will be at 0x0400_0000.&nbsp; This is the address space to which I link
U-Boot.&nbsp; The way I understand U-Boot to work is that for PPC8xx platforms,
FLASH memory is generally located at address 0x0, and CS0 is required to map
both address 0x0 and your absolute address space (0x0400_0000 in my example) so
it can seamlessly jump from one to the other.&nbsp; Later on, when SDRAM needs
to be initialized, all chip selects 0-7 are configured based on definitions in
your board&#8217;s config include file.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>Assuming this is
correct, I found that my platform would not run past the jump from address
space mapped at 0x0 to address space mapped at 0x0400_0000, and I boiled it
down to values in CS0&#8217;s option register that are contrary to what I require.&nbsp;
What I ended up doing is program CS0 base and option registers with what I call
&#8216;boot&#8217; values, to correctly configure OR0 to allow this duplication
of address space for FLASH.&nbsp; This was done immediately prior to the
jumpoff point.&nbsp; Everything from that point on was per normal U-Boot
startup (including the remapping of CS0 later on).&nbsp; This puts my platform
into a known state that correctly maps all peripheral devices with their proper
sizing and address masks.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>Is this something
uncommon or am I missing something obvious?&nbsp; Is this contrary to the goals
for U-Boot&#8217;s architecture at startup of PPC8xx processors?&nbsp; Or is
this possibly something one would like to see incorporated into U-Boot?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>Any advice/comments are
appreciated&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>TIA,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'>Steve<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:9.0pt;font-family:"Lucida Sans Unicode"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:7.5pt;font-family:"Lucida Sans Unicode"'>------</span></font><o:p></o:p></p>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=1
 face="Lucida Sans Unicode"><span style='font-size:7.5pt;font-family:"Lucida Sans Unicode"'>Steve
 Strublic</span></font></st1:PersonName><o:p></o:p></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:7.5pt;font-family:"Lucida Sans Unicode"'>Network Solutions
Group</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=1 face="Lucida Sans Unicode"><span
style='font-size:7.5pt;font-family:"Lucida Sans Unicode"'>Hypercom Corporation</span></font><o:p></o:p></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=1
  face="Lucida Sans Unicode"><span style='font-size:7.5pt;font-family:"Lucida Sans Unicode"'>Phoenix</span></font></st1:City><font
 size=1 face="Lucida Sans Unicode"><span style='font-size:7.5pt;font-family:
 "Lucida Sans Unicode"'>, <st1:State w:st="on">AZ</st1:State></span></font></st1:place><o:p></o:p></p>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>