[RFT PATCH v5 0/3] Add compressed Image booting support

Atish Patra atish.patra at wdc.com
Fri Mar 6 01:24:20 CET 2020


This patch series extends booti to support compressed images
as well. Following compressed images are supported for now. 

lzma, lzo, bzip2, gz.

Other compression methods can easily be supported if required.
The above compression methods are common ones that Linux kernel
(ARM64/RISC-V) and U-Boot supports.

Changes from v4->v5
1. Moved back to explicit kernel_comp_size enviornemnt variable
from filesize.
2. Rebased on top latest master.

Changes from v3->v4
1. Removed CONFIG_SYS_BOOTM_LEN usage.

Atish Patra (3):
lib: kconfig: Add option to set BZIP2 compression method
image: Add a common compression type detection function.
image: Add compressed Image parsing support in booti.

cmd/booti.c                | 40 ++++++++++++++++++++++++++-
common/image.c             | 23 ++++++++++++++++
doc/README.distro          | 12 +++++++++
doc/board/sifive/fu540.rst | 55 ++++++++++++++++++++++++++++++++++++++
include/image.h            | 21 +++++++++++++++
lib/Kconfig                |  5 ++++
6 files changed, 155 insertions(+), 1 deletion(-)

--
2.24.0



More information about the U-Boot mailing list