All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <Joakim.Tjernlund@lumentis.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Boot the kernel from a JFFS2 filesystem
Date: Tue, 4 Mar 2003 22:31:48 +0100	[thread overview]
Message-ID: <003501c2e295$7f8cbed0$020120b0@jockeXP> (raw)
In-Reply-To: 20030304211356.AC922C6E0C@atlas.denx.de

> No. We're not talking about optimizing a few percent. When  you  have
> to  have  the  application  up and running within 5 or even 3 seconds
> after power-on you have to pay some price. You cannot afford  to  use
> compression,  and  even  a  highly optimized CRC over an uncompressed
> kernel image takes nearly as long as the uncompress would.
> 
> I think you cannot beat the speed of loading an  uncompressed  kernel
> image  from  flash (raw memory, no filesystem), with CRC verification
> turned off. If security plays a role, you  can  (and  will  have  to)
> verify the in-flash image later, when you are up and running :-) ]

Of course, but it's always nice to save a little time even if you can afford
a long boot time. You can probly also save some decompression time if you
choose a lower compression level(gzip -3) especially if port current zlib impl.
in linux which uses precompted lookup tables.

 > ...ummmm - please do'nt get me wrong: of course I do  appreciate  any
> optimizations  you  may  have  for  the CRC32 code. Just send a patch
> against the current source.

That was/is my plan, but since I am still in ppcboot and will be for some time I
offer to send it as is if someone is in a hurry and willing to do the integration with
u-boot. Just let me know.

      Jocke

  reply	other threads:[~2003-03-04 21:31 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 14:47 [U-Boot-Users] Boot the kernel from a JFFS2 filesystem Petter Larsen
2003-03-04 15:42 ` Kenneth Johansson
2003-03-04 16:50   ` Petter Larsen
2003-03-04 16:59     ` Kenneth Johansson
2003-03-04 18:05       ` Petter Larsen
2003-03-04 21:25         ` Wolfgang Denk
2003-03-04 17:01     ` Robert Schwebel
2003-03-04 17:39       ` Wolfgang Denk
2003-03-04 17:57         ` Joakim Tjernlund
2003-03-04 21:13           ` Wolfgang Denk
2003-03-04 21:31             ` Joakim Tjernlund [this message]
2003-03-04 21:58               ` Wolfgang Denk
2003-03-04 22:08                 ` Joakim Tjernlund
2003-03-04 22:25                   ` Wolfgang Denk
2003-03-04 23:29                     ` Joakim Tjernlund
2003-03-05 22:37                       ` Wolfgang Denk
2003-03-05 22:52                         ` Vladimir Gurevich
2003-03-05 23:46                           ` Wolfgang Denk
2003-03-06  0:51                             ` Vladimir Gurevich
2003-03-06  0:56                               ` Wolfgang Denk
2003-03-06  8:53                                 ` Joakim Tjernlund
2003-03-06  9:19                                   ` Joakim Tjernlund
2003-03-06  9:30                                     ` Wolfgang Denk
2003-03-06 10:19                                       ` Joakim Tjernlund
2003-03-06 14:37                                         ` Joakim Tjernlund
2003-03-04 21:15           ` Wolfgang Denk
2003-03-04 15:43 ` Wolfgang Denk
2003-03-04 15:51 ` Robert Schwebel

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='003501c2e295$7f8cbed0$020120b0@jockeXP' \
    --to=joakim.tjernlund@lumentis.se \
    --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.