public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fit image: boot gzipped ramdisk does not work anymore
Date: Thu, 1 Aug 2019 20:34:44 +0200	[thread overview]
Message-ID: <a01e07e5-6596-6d88-2f58-1b61be5816ae@gmail.com> (raw)
In-Reply-To: <CAODwPW_36Q=M7WshCZGkk7VuwbKRngX2P128UdhNn-ApyoPMnQ@mail.gmail.com>

Am 01.08.2019 um 20:24 schrieb Julius Werner:
>> First, we have a problem as we need to support what's out in the world.
> 
> How about I write a patch to change the decompression call in
> fit_image_load() to fall back to a memcpy() if the decompression fails
> (and print a big warning that the FIT image is wrong and should be
> updated)? That should keep those old installations working.

Well, I'm sure you'd find enough FIT images where the uncompression 
might succeed but the target space for decompression is not big enough 
(see bootm_size), would such an error be fixed as well?

Regards,
Simon

> 
>> Second, what is intended with what's out in the world?  Indeed before we
>> didn't do anything with the compressed data.  But now what, we're saying
>> it's compressed, but not providing enough details to U-Boot to
>> uncompress it?
> 
> Hmm... I'm not sure why it wouldn't just decompress correctly,
> actually. Is there anything special with how gzipped data is formatted
> for the kernel decompressor? Or is there any limitation in the U-Boot
> gzip implementation?
> 

  reply	other threads:[~2019-08-01 18:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01  8:06 [U-Boot] fit image: boot gzipped ramdisk does not work anymore Heiko Schocher
2019-08-01 12:33 ` Simon Goldschmidt
2019-08-01 14:38   ` Heiko Schocher
2019-08-01 15:58     ` Tom Rini
2019-08-01 18:24       ` Julius Werner
2019-08-01 18:34         ` Simon Goldschmidt [this message]
2019-08-01 19:01           ` Julius Werner
2019-08-01 19:06             ` Simon Goldschmidt
2019-08-02  4:08         ` Heiko Schocher
2019-08-02  6:00           ` Simon Goldschmidt
2019-08-02 12:36             ` Tom Rini
2019-08-02 12:50               ` Simon Goldschmidt
2019-08-02 13:14                 ` Tom Rini
2019-08-02 21:57                   ` Julius Werner

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=a01e07e5-6596-6d88-2f58-1b61be5816ae@gmail.com \
    --to=simon.k.r.goldschmidt@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox