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

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Nov 3 14:30:17 CET 2009


Wolfgang Denk <wd at denx.de> wrote on 03/11/2009 14:21:08:
>
> Dear Joakim Tjernlund,
>
> In message <OF0C7E2190.C549E7B4-ONC1257663.003B88C7-C1257663.
> 003BFEAC at transmode.se> you wrote:
> > >
> > > HeLei <leon.he at msn.com> wrote on 03/11/2009 09:21:04:
> > > >
> > > > Thank you, Jocke
> >
> > > > > - impl. a better crc32(use the one from linux)
> > >
> > > Attaching a very crude port of linux crc32. This boots a linux img
> > > for me and handles the environment crc as well. Feel free
> > > to clean it up and submit to u-boot.
> > >
> > >      Jocke
> >
> > So I could not help myself, here is a better port of crc32 to u-boot.
> > You will probably get at small conflict due to LINK_OFF, just remove
> > the LINK_OFF stuff for now.
> > Could you test and report?
> > Do you have a little or big endian target?
>
> I understand you will resend this patch with a proper Subject: for
> real review on the list?

Yes, I just wanted some external testing but this seems not to happen.

>
> You also might want to explain in which way this patch is "more
> efficient" - in terms of memory footprint, or execution time, or
> both? And by how much? Tested in which envrionment(s) ?

hmm, I did this optimization many years ago for JFFS2 in linux. I don't
have any numbers but I can give you some hints w.r.t number of insn
in the inner loop(later though). Footprint will be higher.

 Jocke



More information about the U-Boot mailing list