* [U-Boot-Users] Boot from NAND FLASH
@ 2008-05-16 6:54 jiale.Yin
2008-05-16 19:17 ` Scott Wood
0 siblings, 1 reply; 3+ messages in thread
From: jiale.Yin @ 2008-05-16 6:54 UTC (permalink / raw)
To: u-boot
Our board is reference with the mpc8313erdb,and its design is to link CS0 to the NAND FLASH, so I have to boot from NAND other than NOR.In /board/mpc8313erdb I can find some files, such as nand_boot.c, nand.c and nand_ecc.c, which I think are related with booting from NAND.What I want to know is if booting from NAND,is there any need to modify the start.s and what is needed to ba added. What's the difference between NOR-BOOT and NAND-BOOT. Thank you!
2008-05-16
jiale.Yin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080516/02b95bc5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jiale Yin.vcf
Type: application/octet-stream
Size: 2162 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080516/02b95bc5/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1476 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080516/02b95bc5/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Boot from NAND FLASH
2008-05-16 6:54 [U-Boot-Users] Boot from NAND FLASH jiale.Yin
@ 2008-05-16 19:17 ` Scott Wood
2008-05-19 12:13 ` jiale.Yin
0 siblings, 1 reply; 3+ messages in thread
From: Scott Wood @ 2008-05-16 19:17 UTC (permalink / raw)
To: u-boot
On Fri, May 16, 2008 at 02:54:34PM +0800, jiale.Yin wrote:
> Our board is reference with the mpc8313erdb,and its design is to link CS0
> to the NAND FLASH, so I have to boot from NAND other than NOR.In
> /board/mpc8313erdb I can find some files, such as nand_boot.c, nand.c and
> nand_ecc.c,
I assume you're talking about the Freescale BSP, as those files are not in
mainline u-boot.
> which I think are related with booting from NAND.What I want
> to know is if booting from NAND,is there any need to modify the start.s
No, beyond what's already been changed in the BSP to support it. Make sure
you use a NAND configuration when building u-boot.
> and what is needed to ba added. What's the difference between NOR-BOOT and
> NAND-BOOT. Thank you!
NOR can be mapped in its entirety, while with NAND only the first 4KiB gets
mapped, and that code has to fetch the rest of u-boot from NAND and copy it
to RAM before continuing.
-Scott
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Boot from NAND FLASH
2008-05-16 19:17 ` Scott Wood
@ 2008-05-19 12:13 ` jiale.Yin
0 siblings, 0 replies; 3+ messages in thread
From: jiale.Yin @ 2008-05-19 12:13 UTC (permalink / raw)
To: u-boot
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
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?
2008-05-19
jiale.Yin
???? Scott Wood
????? 2008-05-17 03:16:52
???? jiale.Yin
??? u-boot-users
??? Re: [U-Boot-Users] Boot from NAND FLASH
On Fri, May 16, 2008 at 02:54:34PM +0800, jiale.Yin wrote:
> Our board is reference with the mpc8313erdb,and its design is to link CS0
> to the NAND FLASH, so I have to boot from NAND other than NOR.In
> /board/mpc8313erdb I can find some files, such as nand_boot.c, nand.c and
> nand_ecc.c,
I assume you're talking about the Freescale BSP, as those files are not in
mainline u-boot.
> which I think are related with booting from NAND.What I want
> to know is if booting from NAND,is there any need to modify the start.s
No, beyond what's already been changed in the BSP to support it. Make sure
you use a NAND configuration when building u-boot.
> and what is needed to ba added. What's the difference between NOR-BOOT and
> NAND-BOOT. Thank you!
NOR can be mapped in its entirety, while with NAND only the first 4KiB gets
mapped, and that code has to fetch the rest of u-boot from NAND and copy it
to RAM before continuing.
-Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080519/ed2a4dcb/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jiale Yin.vcf
Type: text/x-vcard
Size: 2162 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080519/ed2a4dcb/attachment.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1476 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080519/ed2a4dcb/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-19 12:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 6:54 [U-Boot-Users] Boot from NAND FLASH jiale.Yin
2008-05-16 19:17 ` Scott Wood
2008-05-19 12:13 ` jiale.Yin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox