Re: [PATCH 1/1] bootm: update image OS image size when decompressing

2020-09-14 Thread Tom Rini
On Sun, Aug 30, 2020 at 11:34:12AM +0200, Heinrich Schuchardt wrote: > In bootm_load_os() the OS image is decompressed. In later stages of the > boot process we need the decompressed size of the image. > > Update images->os.image_len after decompression. > > Passing the correct size is necessary

Re: [PATCH 1/1] bootm: update image OS image size when decompressing

2020-08-31 Thread Simon Glass
On Sun, 30 Aug 2020 at 03:34, Heinrich Schuchardt wrote: > > In bootm_load_os() the OS image is decompressed. In later stages of the > boot process we need the decompressed size of the image. > > Update images->os.image_len after decompression. > > Passing the correct size is necessary if we want

[PATCH 1/1] bootm: update image OS image size when decompressing

2020-08-30 Thread Heinrich Schuchardt
In bootm_load_os() the OS image is decompressed. In later stages of the boot process we need the decompressed size of the image. Update images->os.image_len after decompression. Passing the correct size is necessary if we want to check loaded EFI binararies for file truncation by comparing the lo