
Dear Jerry Van Baren,
Thanks for your kind and quick response.
I read the thread and it is going to be very useful to me. Can we use DMA to load image from flash to ram ?
Currently I am using following command to load kernel image from flash to ram,
bootcmd=nand read.jffs2 0x30007FC0 0x80000 0x153000;bootm 0x30007FC0
Can someone suggest me better way to quicker the process?
Thank you, Ankur.
On Wed, Feb 27, 2008 at 8:09 AM, Jerry Van Baren gvb.uboot@gmail.com wrote:
conn intel wrote:
Dear Friends,
I am using u-boot and it is first loading into the ram from flash and then starts booting. The problem is its taking a lot of time in loading the image from flash to ram and then starts booting from it. Following is the output for printenv variables. I am new to u-boot and thus not much aware of it. On other board there is redboot installed and it loads kernel in just flash and starts booting the kernel.
Kindly let me know if you need any information.
Thank you, Ankur.
# printenv bootargs=root=/dev/mtdblock2 rw init=/linuxrc console=ttyS0,115200 mem=32M rootfstype=jffs2 bootcmd=nand read.jffs2 0x30007FC0 0x80000 0x300000;bootm 0x30007FC0
Hi Ankur,
I have no experience with NAND/jffs2, but the following thread probably applies: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/32434
Summary: jffs2 is slow. The thread has discussion of various options to speed up boot time.
Best regards, gvb