[U-Boot-Users] NAND boot from file

Charles Krinke ckrinke at istor.com
Tue Dec 19 18:02:37 CET 2006


Dear Wolfgang:

>Um... if this is JFFS2, then why not simply "fsload" + "bootm" ?

Although I can format the flash in Linux and run fsinfo, ls or fsload in
u-boot, there is a time of several minutes after

Scanning JFFS2 FS

Before ls can find the directory or fsload can attempt to load the
uImage file.

I am thinking that the 'flash_eraseall -j' command I am using may not be
quite setup correctly with the u-boot environment. It should not take
several minutes to pull a directory off a formatted flash. Here is what
I do:

Linux# flash_eraseall -j /dev/mtd0
Linux# mount -t jffs2 /dev/mtdblock0 /mnt/flash1
Linux# cp /uImage /mnt/flash1
Linux# ls /mnt/flash1
uImage is here, now reboot

uboot> ls
uImage is here, but it takes several minutes to get the listing. Fsload
takes several minutes also.

Can you think of what other assumptions I may be making that may be
invalid?

Charles







More information about the U-Boot mailing list