From patchwork Fri Mar 6 00:24:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atish Patra X-Patchwork-Id: 243271 List-Id: U-Boot discussion From: atish.patra at wdc.com (Atish Patra) Date: Thu, 5 Mar 2020 16:24:20 -0800 Subject: [RFT PATCH v5 0/3] Add compressed Image booting support Message-ID: <20200306002423.3954-1-atish.patra@wdc.com> 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