All of lore.kernel.org
 help / color / mirror / Atom feed
From: HeLei <leon.he@msn.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2	scaning time?
Date: Tue, 3 Nov 2009 17:26:44 +0800	[thread overview]
Message-ID: <COL117-W58FAA05805F981A1985CADEEB20@phx.gbl> (raw)
In-Reply-To: <OF4A9A2CF3.472AEF9C-ONC1257663.0032DDE2-C1257663.00334CA3@transmode.se>


Jocke, you are so kind.Thank you very much:)

> 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:20:19 +0100
> 
> HeLei <leon.he@msn.com> wrote on 03/11/2009 09:21:04:
> >
> > Thank you, Jocke
> >
> > > 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 08:41:08 +0100
> > >
> > >
> > > >
> > > > Hi, All
> > > >
> > > >
> > > >
> > > > Each time JFFS2 initialized, uboot need to scan the whole flash. This is
> > > > fairly time consuming.
> > > >
> > > >
> > > >
> > > > So EBS(erase block summary) is used to JFFS2 to reduce mounting time. And I
> > > > believe this can also be used to UBOOT to reduce booting time.
> > > >
> > > >
> > > >
> > > > Does UBOOT support this feature? or does any other solution in uboot to
> > > > reduce JFFS2 scaning time?
> > >
> > > Don't think EBS is going to buy you much. The main problem is that the
> >
> >    You mean even EBS is used in UBOOT, it will not give me much help. But it
> > seems there is great efficiency in jffs2 mounting, from some artical in
> > internet, such as:http://www.embedded-linux.co.uk/tutorial/jffs2-summary
> >
> > > scanning of JFFS2 in u-boot is inefficient. u-boot could take a
> > > hint from the kernel impl. of JFFS2 to reduce scanning. The biggest
> > > ones are:
> > > - do no scan the whole EB when it is empty.
> >    If we don't scan the block, how can we tell the EB is empty?
> >
> > > - 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
> 
>      (See attached file: crc32-new.c)(See attached file: crc32defs.h)(See attached file: crc32table.h)
 		 	   		  
_________________________________________________________________
?????????????????msn?????
http://ditu.live.com/?form=TL&swm=1

  reply	other threads:[~2009-11-03  9:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03  6:37 [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time? HeLei
2009-11-03  7:41 ` Joakim Tjernlund
2009-11-03  8:21   ` HeLei
2009-11-03  9:08     ` Joakim Tjernlund
2009-11-03  9:21       ` HeLei
2009-11-03  9:29         ` Joakim Tjernlund
2009-11-03  9:39           ` HeLei
2009-11-03  9:52             ` Joakim Tjernlund
2009-11-03 10:02               ` HeLei
2009-11-03  9:20     ` Joakim Tjernlund
2009-11-03  9:26       ` HeLei [this message]
2009-11-03  9:35         ` Joakim Tjernlund
2009-11-03 10:55       ` Joakim Tjernlund
2009-11-03 11:08         ` HeLei
2009-11-03 11:13           ` Joakim Tjernlund
2009-11-03 11:21             ` HeLei
2009-11-03 13:21         ` Wolfgang Denk
2009-11-03 13:30           ` Joakim Tjernlund
2009-11-03 15:57           ` Joakim Tjernlund
2009-11-03  9:43     ` Joakim Tjernlund
2009-11-03 10:01       ` HeLei
2009-11-05  8:33   ` HeLei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=COL117-W58FAA05805F981A1985CADEEB20@phx.gbl \
    --to=leon.he@msn.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.