kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Arnaud Ferraris <arnaud.ferraris.external@sigfox.com>
To: horms@verge.net.au, kexec@lists.infradead.org
Subject: [PATCH 0/3] arm64: add support for loading kernel from FITimage
Date: Thu,  5 Jul 2018 14:55:32 +0200	[thread overview]
Message-ID: <1530795335-20867-1-git-send-email-arnaud.ferraris.external@sigfox.com> (raw)

Hi all,

FITimages are an image format used by U-boot, allowing to embed a kernel with
the associated device tree and initramfs into a single file, using the device
tree file format.
Unfortunately, for now kexec doesn't recognize the FITimage format.

This patchset adds a generic FITimage loader & parser, and implements loading
a kernel/dtb/initrd for the ARM64 architecture.

Arnaud Ferraris (3):
  kexec: Move zlib buffer decompression function
  kexec: fitImage: Add fitImage parser and loader
  kexec: arm64: Add fitImage support

 include/Makefile                        |   1 +
 include/kexec-fitImage.h                |  18 +++
 kexec/Makefile                          |   4 +
 kexec/arch/arm64/Makefile               |   2 +
 kexec/arch/arm64/kexec-arm64.c          |  15 ++-
 kexec/arch/arm64/kexec-arm64.h          |   4 +
 kexec/arch/arm64/kexec-fitImage-arm64.c |  40 ++++++
 kexec/kexec-fitImage.c                  | 223 ++++++++++++++++++++++++++++++++
 kexec/kexec-uImage.c                    | 100 +-------------
 kexec/kexec-zlib.h                      |   1 +
 kexec/kexec.h                           |   4 +
 kexec/zlib.c                            | 100 ++++++++++++++
 12 files changed, 413 insertions(+), 99 deletions(-)
 create mode 100644 include/kexec-fitImage.h
 create mode 100644 kexec/arch/arm64/kexec-fitImage-arm64.c
 create mode 100644 kexec/kexec-fitImage.c

-- 
2.7.4


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

             reply	other threads:[~2018-07-05 12:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-05 12:55 Arnaud Ferraris [this message]
2018-07-05 12:55 ` [PATCH 1/3] kexec: Move zlib buffer decompression function Arnaud Ferraris
2018-07-05 12:55 ` [PATCH 2/3] kexec: fitImage: Add fitImage parser and loader Arnaud Ferraris
2018-07-05 12:55 ` [PATCH 3/3] kexec: arm64: Add fitImage support Arnaud Ferraris
2018-07-06  6:37 ` [PATCH 0/3] arm64: add support for loading kernel from FITimage Bhupesh Sharma
2018-07-06 14:39   ` Arnaud Ferraris
2018-07-27  8:17     ` Arnaud Ferraris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1530795335-20867-1-git-send-email-arnaud.ferraris.external@sigfox.com \
    --to=arnaud.ferraris.external@sigfox.com \
    --cc=horms@verge.net.au \
    --cc=kexec@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).