From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin
Date: Thu, 18 Jul 2013 14:50:41 +0200 [thread overview]
Message-ID: <20130718125041.27709380DF1@gemini.denx.de> (raw)
In-Reply-To: <FE7ADED5C2218B4786C09CD97DC4C49F99D600@exchbj02.viatech.com.bj>
Dear TigerLiu at viatech.com.cn,
In message <FE7ADED5C2218B4786C09CD97DC4C49F99D600@exchbj02.viatech.com.bj> you wrote:
>
> >Yes, that would be the U-Boot way to implement it. It allows you to
> >reusse existing code instead of adding new methods.
>
> So, is there any example SPL code which contains uncompressed algorithm
> code?
No, none thaty I am aware of.
Note that usually this makes little sense. Using a compressed U-Boot
image can have two effects:
- saving some memory on the boot device; usually reacent hardware has
ample resources, so saving 100...200 kB is typically not important
enough to add such complexity.
- saving time when loading the U-Boot image from the boot device *at
the cost of adding time needed to uncompress it). If you ant to
reduce boot time, it is more efficient to use Falcon mode and skip
loading U-Boot completely when running in production mode.
So there is actually little motivation to implement such a feature -
but your milage may vary, or you may have specific requrements where
it actually makes sense.
Patches welcome.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The computer can't tell you the emotional story. It can give you the
exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
next prev parent reply other threads:[~2013-07-18 12:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 11:53 [U-Boot] [U-boot] failed to boot an compressed u-boot.bin TigerLiu at viatech.com.cn
2013-07-17 13:07 ` Albert ARIBAUD
2013-07-18 1:32 ` TigerLiu at viatech.com.cn
2013-07-18 4:27 ` Wolfgang Denk
2013-07-18 4:41 ` TigerLiu at viatech.com.cn
2013-07-18 8:08 ` Wolfgang Denk
2013-07-18 8:31 ` TigerLiu at viatech.com.cn
2013-07-18 12:50 ` Wolfgang Denk [this message]
2013-07-19 5:37 ` Minkyu Kang
-- strict thread matches above, loose matches on Subject: below --
2013-07-19 6:59 TigerLiu at viatech.com.cn
2013-07-19 9:16 ` Albert ARIBAUD
2013-07-19 9:25 ` [U-Boot] 答复: " TigerLiu at viatech.com.cn
2013-07-19 12:03 ` [U-Boot] " Albert ARIBAUD
2013-07-22 1:53 ` TigerLiu at viatech.com.cn
2013-07-17 11:51 TigerLiu at viatech.com.cn
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=20130718125041.27709380DF1@gemini.denx.de \
--to=wd@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox