[U-Boot] fit image: boot gzipped ramdisk does not work anymore
Simon Goldschmidt
simon.k.r.goldschmidt at gmail.com
Thu Aug 1 18:34:44 UTC 2019
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?
>
More information about the U-Boot
mailing list