xen/arm: Support compressed uImages
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 5 repliesIn review
- v12 patches 11 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen/arm: Move kernel_uimage_probe definition after kernel_decompressxen/ | +73 | 0 replies | |
| 2/2 | xen/arm: Add support for booting gzip compressed uImagesdocs/ xen/ | +72 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ayan Kumar Halder | Julien Grall |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] xen/arm: Support compressed uImages
This series adds support for booting gzip compressed images with u-boot header. Currently Xen does not support such images because we are trying to decompress the kernel before probing uImage header.
The problem can be solved using 2 different approaches:
1) Split uImage probing into 2 stages. The first stage is called before decompression, does the usual probing and sets up correctly module start address and size by taking the uImage header size into account. The second stage is called after decompression to update the zimage.{kernel_addr,len}.
2) Call the decompression function (modified to take gzip offset) from within the uImage probing to avoid the split and to make the function self-containing. This way the only case for falling through to try to probe other image types is when there is no u-boot header detected.
In this series the second approach is taken that results in a better looking code.
Michal Orzel (2):
xen/arm: Move kernel_uimage_probe definition after kernel_decompress xen/arm: Add support for booting gzip compressed uImages
docs/misc/arm/booting.txt | 3 - xen/arch/arm/kernel.c | 225 ++++++++++++++++++++++++-------------- 2 files changed, 144 insertions(+), 84 deletions(-)
Signature · 1 line
2.25.1