<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#000080 size=2>Thank you for your answer. But as 
you said in the letter, "NOR can be mapped in its entirety, while with NAND only 
the first 4KiB gets<BR>mapped, and that code has to fetch the rest of u-boot 
from NAND and copy it to RAM before continuing." Why did you also mentioned that 
there is no need to modify the start.s, isn't there any difference between 
booting from NOR and NAND for start.s?</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2008-05-19 </FONT></DIV><FONT 
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>jiale.Yin</SPAN> 
</FONT></DIV><FONT face=Verdana color=#000080 size=2>
<HR>
</FONT>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Scott Wood </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2008-05-17&nbsp; 03:16:52 
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> jiale.Yin </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> u-boot-users </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [U-Boot-Users] Boot from 
NAND FLASH </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>On&nbsp;Fri,&nbsp;May&nbsp;16,&nbsp;2008&nbsp;at&nbsp;02:54:34PM&nbsp;+0800,&nbsp;jiale.Yin&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;Our&nbsp;board&nbsp;is&nbsp;reference&nbsp;with&nbsp;the&nbsp;mpc8313erdb,and&nbsp;its&nbsp;design&nbsp;is&nbsp;to&nbsp;link&nbsp;CS0</DIV>
<DIV>&gt;&nbsp;to&nbsp;the&nbsp;NAND&nbsp;FLASH,&nbsp;so&nbsp;I&nbsp;have&nbsp;to&nbsp;boot&nbsp;from&nbsp;NAND&nbsp;other&nbsp;than&nbsp;NOR.In</DIV>
<DIV>&gt;&nbsp;/board/mpc8313erdb&nbsp;I&nbsp;can&nbsp;find&nbsp;some&nbsp;files,&nbsp;such&nbsp;as&nbsp;nand_boot.c,&nbsp;nand.c&nbsp;and</DIV>
<DIV>&gt;&nbsp;nand_ecc.c,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;assume&nbsp;you're&nbsp;talking&nbsp;about&nbsp;the&nbsp;Freescale&nbsp;BSP,&nbsp;as&nbsp;those&nbsp;files&nbsp;are&nbsp;not&nbsp;in</DIV>
<DIV>mainline&nbsp;u-boot.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;which&nbsp;I&nbsp;think&nbsp;are&nbsp;related&nbsp;with&nbsp;booting&nbsp;from&nbsp;NAND.What&nbsp;I&nbsp;want</DIV>
<DIV>&gt;&nbsp;to&nbsp;know&nbsp;is&nbsp;if&nbsp;booting&nbsp;from&nbsp;NAND,is&nbsp;there&nbsp;any&nbsp;need&nbsp;to&nbsp;modify&nbsp;the&nbsp;start.s</DIV>
<DIV>&nbsp;</DIV>
<DIV>No,&nbsp;beyond&nbsp;what's&nbsp;already&nbsp;been&nbsp;changed&nbsp;in&nbsp;the&nbsp;BSP&nbsp;to&nbsp;support&nbsp;it.&nbsp;&nbsp;Make&nbsp;sure</DIV>
<DIV>you&nbsp;use&nbsp;a&nbsp;NAND&nbsp;configuration&nbsp;when&nbsp;building&nbsp;u-boot.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;and&nbsp;what&nbsp;is&nbsp;needed&nbsp;to&nbsp;ba&nbsp;added.&nbsp;What's&nbsp;the&nbsp;difference&nbsp;between&nbsp;NOR-BOOT&nbsp;and</DIV>
<DIV>&gt;&nbsp;NAND-BOOT.&nbsp;Thank&nbsp;you!</DIV>
<DIV>&nbsp;</DIV>
<DIV>NOR&nbsp;can&nbsp;be&nbsp;mapped&nbsp;in&nbsp;its&nbsp;entirety,&nbsp;while&nbsp;with&nbsp;NAND&nbsp;only&nbsp;the&nbsp;first&nbsp;4KiB&nbsp;gets</DIV>
<DIV>mapped,&nbsp;and&nbsp;that&nbsp;code&nbsp;has&nbsp;to&nbsp;fetch&nbsp;the&nbsp;rest&nbsp;of&nbsp;u-boot&nbsp;from&nbsp;NAND&nbsp;and&nbsp;copy&nbsp;it</DIV>
<DIV>to&nbsp;RAM&nbsp;before&nbsp;continuing.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Scott</DIV></FONT></DIV></BODY></HTML>