mbox series

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

Message ID 20200306002423.3954-1-atish.patra@wdc.com
Headers show
Series Add compressed Image booting support | expand

Message

Atish Patra March 6, 2020, 12:24 a.m. UTC
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

Comments

Atish Patra March 27, 2020, 6:58 p.m. UTC | #1
On Thu, Mar 5, 2020 at 4:25 PM Atish Patra <atish.patra at wdc.com> wrote:
>
> 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
>

The series is not in master yet. I am not sure about the merge window
cycle for U-Boot.
I am assuming nothing else is required for this series to go in.
Please let  me know otherwise.

The patchwork shows it is delegated to Tom. I guess it will end up in
master in sometime before the next release.
https://patchwork.ozlabs.org/project/uboot/list/?submitter=74477


--
Regards,
Atish
Tom Rini March 27, 2020, 7:41 p.m. UTC | #2
On Fri, Mar 27, 2020 at 11:58:12AM -0700, Atish Patra wrote:
> On Thu, Mar 5, 2020 at 4:25 PM Atish Patra <atish.patra at wdc.com> wrote:
> >
> > 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
> >
> 
> The series is not in master yet. I am not sure about the merge window
> cycle for U-Boot.
> I am assuming nothing else is required for this series to go in.
> Please let  me know otherwise.
> 
> The patchwork shows it is delegated to Tom. I guess it will end up in
> master in sometime before the next release.
> https://patchwork.ozlabs.org/project/uboot/list/?submitter=74477

It won't be in v2020.04, but it should be in v2020.07, I'll likely pull
it to -next soon.  Thanks again!