Hello, I am porting u-boot 1.0 to MPC862ADS board with MPC862P processor. The use<br>r manual says the board is compatible with MPC8xxFADS for SW point of view. The b<br>oard has 8M SDRAM and additional 32M EDO DRAM (or 16M) will be inserted.<br>According to the fads.c file, SDRAM is physically mapped at address 0 and DRAM im<br>mediately follows SDRAM, i.e. DRAM is mapped at 0x800000. So the BR2/OR2, BR3/OR3<br> are initialized as follows:<br><br>16 Mbyte DRAM uses only CS2:<br> memctl->memc_or2 = 0xff000800; <br> memctl->memc_br2 = 0x00800081; <br><br>32 Mbyte DRAM uses both CS3 and CS2:<br> memctl->memc_or3 = 0xff000800; <br> memctl->memc_br3 = 0x01800081;<br> memctl->memc_or2 = 0xff000800; <br> memctl->memc_br2 = 0x00800081; <br><br>With these settings, bank 2 is mapped to 0x00000000~0x00ffffff, bank 3 is mapped <br>to 0x01800000~0x01ffffff. This is not the desired mapping. The desired mapping is<br>: 0x00800000~(0x01800000-1) => bank2, 0x01800000~(0x02800000-1) => bank3. But I <br>don't think we can get this mapping by setting BR/OR2 and BR3/OR3 with appropriat<br>e values. So I think DRAM should be mapped at address 0 and SDRAM follows if the <br>DRAM size is 16MB or 32MB. <br><br>Is my understanding correct?<br><br><br><!--临时备份,可以删除>
<table width="570" border="0" cellpadding="4">
<tr>
<td bgcolor="#E6EEFF" style="font-size:9pt"><font color="#CC0000" style="font-size:10.5pt">·热点推荐:</font>
[ <a href="http://mms.tom.com" target="_blank"><font color="#CC0000">最热门的TOM
MMS彩信站</font></a> ] [ <a href="http://vip.163.net/" target="_blank"><font color="#CC0000">中国最专业的收费邮箱--163电子邮局</font></a>
] </td>
</tr>
</table>
<table width="570" border="0">
<tr>
<td height="5"></td>
</tr>
<td height="3" bgcolor="#CC6600"></td>
<tr>
<td height="1" bgcolor="#CC6600"></td>
</tr>
</table>
<table width="570" border="0">
<tr>
<td style="font-size:10.5pt"><font color="#CC0000">·网上最热:</font> [ <a href="http://sms1php.tom.com/smslist/list0/sms_0_1_12_0_1.htm?user_id=62564" target="_blank"><font color="#0000CC">史上最强的短信笑话</font></a>
] [ <a href="http://sms1php.tom.com/smslist/list0/sms_0_2_3_0_1.htm?user_id=62564" target="_blank"><font color="#0000CC">网上最热门的图片</font></a>
] [ <a href="http://sms1php.tom.com/smslist/list0/sms_0_3_6_0_1.htm?user_id=62564" target="_blank"><font color="#0000CC">网上最热门的铃声</font></a>
]</td>
</tr>
</table>
<table width="570" border="0">
<td height="3" bgcolor="#CC6600"></td>
</table>
<table width="570" border="0">
<tr>
<td style="font-size:9pt"><font color="#CC0000" style="font-size:10.5pt">·热门歌手:
</font><a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=周杰伦&inc=3" target="_blank"><font color="#000000">周杰伦</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=阿杜&inc=3" target="_blank"><font color="#000000">阿 杜</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=刘德华&inc=3" target="_blank"><font color="#000000">刘德华</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=张学友&inc=3" target="_blank"><font color="#000000">张学友</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=王力宏&inc=3" target="_blank"><font color="#000000">王力宏</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=陈奕迅&inc=3" target="_blank"><font color="#000000">陈奕迅</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=谢霆锋&inc=3" target="_blank"><font color="#000000">谢霆锋</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=陶喆&inc=3" target="_blank"><font color="#000000">陶 喆</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=许志安&inc=3" target="_blank"><font color="#000000">许志安</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=任贤齐&inc=3" target="_blank"><font color="#000000">任贤齐</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=孙楠&inc=3" target="_blank"><font color="#000000">孙 楠</font></a>
</td>
</tr>
<tr>
<td style="font-size:9pt"><a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=Twins&inc=3" target="_blank"><font color="#000000">Twins</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=S.H.E&inc=3" target="_blank"><font color="#000000">S.H.E</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=孙燕姿&inc=3" target="_blank"><font color="#000000">孙燕姿</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=陈慧琳&inc=3" target="_blank"><font color="#000000">陈慧琳</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=王菲&inc=3" target="_blank"><font color="#000000">王 菲</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=郑秀文&inc=3" target="_blank"><font color="#000000">郑秀文</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=容祖儿&inc=3" target="_blank"><font color="#000000">容祖儿</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=李玟&inc=3" target="_blank"><font color="#000000">李 玟</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=莫文蔚&inc=3" target="_blank"><font color="#000000">莫文蔚</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=张惠妹&inc=3" target="_blank"><font color="#000000">张惠妹</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=梁咏琪&inc=3" target="_blank"><font color="#000000">梁咏琪</font></a>
<a href="http://sms1php.tom.com/smslist/smsearch.php?user_id=62564&keyword=那英&inc=3" target="_blank"><font color="#000000">那 英</font></a>
<a href="http://sms1ad.tom.com/smslist/liebiao-list.htm?user_id=62564" target="_blank"><font color="#CC0000">更多歌手...</font></a>
</td>
</tr>
</table>
<table width="570" border="0">
<td height="3" bgcolor="#CC6600"></td>
</table>
<table width="570" border="0">
<tr>
<td style="font-size:9pt" ><a
href="http://sms1php.tom.com/smslist/list0/sms_0_3_6_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>诺基亚铃声</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_2_3_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>诺基亚图片</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_3_8_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>摩托罗拉铃声</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_3_19_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>三星铃声</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_2_18_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>三星图片</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_3_40_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>松下铃声图片</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_3_16_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>阿尔卡特铃声</font></a> <a
href="http://sms1php.tom.com/smslist/list0/sms_0_3_66_0_1.htm?user_id=62564"
target=_blank style="text-decoration:none"><font color=#000000>波导铃声图片</font></a></td>
</tr>
</table>
<br>
<br-->
<hr align="left" width="577" size="1" color="cccccc">
<table cellpadding="1" cellspacing="1" border="0">
<tr>
<td width="427" style="font-size: 14.7px"><a href="http://mail.tom.com/?10004" target="_blank"><b><font color=008000><font face="Arial">TOM</font>免费邮箱---<font face="Arial">10M</font>空间
<font face="Arial">2M</font>附件,完全免费,立即申请!</font></b></a></td>
</tr>
<tr>
<td style="font-size: 14.7px; line-height:18px"><a href="http://www.tom.com" target="_blank"><font color="cc0000" face="Arial">http://www.tom.com</font></a></td>
</tr>
</table>