[U-Boot] [PATCH v2 0/4] x86: Enable FIT images on x86
Simon Glass
sjg at chromium.org
Wed Oct 8 04:27:10 CEST 2014
This little series adds support for booting FITs on x86. A FIT is a single
file that can contain a kernel, device tree and ramdisk.
x86 kernels require a setup.bin file to boot. Rather than try to pack this
into the image in a clever way, this series just adds it as another image
in the FIT. At present compression is not supported for the setup binary.
The kernel image can be compressed using FIT's normal compression options,
such as bzip2 and lzo. U-Boot will decompress it as part of the 'bootm'
command.
More work is needed to make this implementation also support a zImage
(which contains a setup.bin and a compressed kernel in a single image) in
the FIT.
The full series is available at:
http://git.denx.de/u-boot-x86.git
in branch 'working'.
Changes in v2:
- Correct setup of setup.bin file
- Move license header to SPDX
- Add a README to explain how to use this feature
- Correct addresses in kernel.its example file
Simon Glass (4):
x86: Enable LMB and RAMDISK_HIGH by default
x86: Rewrite bootm.c to make it similar to ARM
x86: Allow cmdline setup in setup_zimage() to be optional
x86: Support loading kernel setup from a FIT
arch/x86/include/asm/bootm.h | 12 ++
arch/x86/include/asm/config.h | 3 +
arch/x86/lib/bootm.c | 151 +++++++++++++++++------
arch/x86/lib/zimage.c | 41 +++----
common/bootm.c | 23 +++-
common/cmd_bootm.c | 1 +
common/image-fit.c | 24 +++-
common/image.c | 11 ++
doc/uImage.FIT/kernel.its | 50 ++++++++
doc/uImage.FIT/source_file_format.txt | 19 +--
doc/uImage.FIT/x86-fit-boot.txt | 220 ++++++++++++++++++++++++++++++++++
include/bootstage.h | 3 +
include/image.h | 13 ++
13 files changed, 498 insertions(+), 73 deletions(-)
create mode 100644 arch/x86/include/asm/bootm.h
create mode 100644 doc/uImage.FIT/x86-fit-boot.txt
--
2.1.0.rc2.206.gedb03e5
More information about the U-Boot
mailing list