[U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

HeLei leon.he at msn.com
Tue Nov 3 11:01:18 CET 2009




> Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2	scaning time?
> To: leon.he at msn.com
> CC: u-boot at lists.denx.de
> From: joakim.tjernlund at transmode.se
> Date: Tue, 3 Nov 2009 10:43:46 +0100
> 
> HeLei <leon.he at msn.com> wrote on 03/11/2009 09:21:04:
> > > - Don't scan more than you have to, that is, ls/read /some/file
> > > should only scan and keep records to do the ls/read of that
> > > particular file.
> >    So we have to have an index, or something like that, to tell which file in
> > which EBs. This index is always generated by the scan for the first time.
> >    The only workaround like this idea is to divide the flash into several
> > paritions, the scan is performed on certain partition each time.
> 
> Forgot to comment on this one :)
> I belive u-boot creates a cache for the whole FS a first access
> so that later accesses are fast. I think this is suboptimal. Consider
> the common case to boot a linux kernel, you only want to get at the
> kernel image so creating a cache for the whole FS is a waste.   Yes, I agree!
> 
> Partitions works too, but is a waste of flash and it can be hard to get the
> partition size(s) right.   Yes, this need another information on partition size as well as starting address. I think uboot environment can handle this.
> 
>       Jocke
> 
 		 	   		  
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1


More information about the U-Boot mailing list