
On Wed, Jan 21, 2009 at 4:02 AM, roundrobin iram.shahzad@jp.fujitsu.comwrote:
Hi
We have a custom board where we are using u-boot to boot linux kernel from NOR flash. This is working alright.
However, we are planning to replace the NOR flash with NAND flash. There will be no NOR flash on the board. So I need to boot linux kernel from NAND.
I use the command:
nboot.i 20000000 primary
primary is in my mtdparts environment variable:
mtdparts=nand:7m@0m(primary),7m@7m(secondary,2m@14m(config)
mtdids is nand0=nand
partition is nand0,0
My question is what works do I need to do so that u-boot can boot linux from NAND? Do I need to implement something like a NAND driver for u-boot, or do I just need to modify some u-boot configurations?
You're going to have to configure your nand flash in your board config file. I believe there are sufficient examples for you to read.
By the way, I am talking about booting linux kernel, not u-boot itself. u-boot itself will be loaded from NAND and kicked by using a feature of the board which I am not clear at the moment.
Many thanks in advance for any info on this.
Best regards Round Robin
-- View this message in context: http://www.nabble.com/boot-linux-kernel-from-NAND-tp21579236p21579236.html Sent from the Uboot - Users mailing list archive at Nabble.com.
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot