<!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> </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> </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 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 Fri, May 16, 2008 at 02:54:34PM +0800, jiale.Yin wrote:</DIV>
<DIV>> Our board is reference with the mpc8313erdb,and its design is to link CS0</DIV>
<DIV>> to the NAND FLASH, so I have to boot from NAND other than NOR.In</DIV>
<DIV>> /board/mpc8313erdb I can find some files, such as nand_boot.c, nand.c and</DIV>
<DIV>> nand_ecc.c,</DIV>
<DIV> </DIV>
<DIV>I assume you're talking about the Freescale BSP, as those files are not in</DIV>
<DIV>mainline u-boot.</DIV>
<DIV> </DIV>
<DIV>> which I think are related with booting from NAND.What I want</DIV>
<DIV>> to know is if booting from NAND,is there any need to modify the start.s</DIV>
<DIV> </DIV>
<DIV>No, beyond what's already been changed in the BSP to support it. Make sure</DIV>
<DIV>you use a NAND configuration when building u-boot.</DIV>
<DIV> </DIV>
<DIV>> and what is needed to ba added. What's the difference between NOR-BOOT and</DIV>
<DIV>> NAND-BOOT. Thank you!</DIV>
<DIV> </DIV>
<DIV>NOR can be mapped in its entirety, while with NAND only the first 4KiB gets</DIV>
<DIV>mapped, and that code has to fetch the rest of u-boot from NAND and copy it</DIV>
<DIV>to RAM before continuing.</DIV>
<DIV> </DIV>
<DIV>-Scott</DIV></FONT></DIV></BODY></HTML>