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), and to pass the correct device tree binary to the kernel. Changes in v2: - Fix checkpatch warning about a string spanning two lines - Rebase to master 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 | 24 ++++++ arch/x86/include/asm/config.h | 2 + arch/x86/lib/bootm.c | 153 ++++++++++++++++++++++++++-------- arch/x86/lib/zimage.c | 41 ++++----- common/cmd_bootm.c | 23 ++++- common/image-fit.c | 22 +++++ common/image.c | 11 +++ doc/uImage.FIT/kernel.its | 50 +++++++++++ doc/uImage.FIT/source_file_format.txt | 23 ++--- include/bootstage.h | 3 + include/image.h | 13 +++ 11 files changed, 291 insertions(+), 74 deletions(-) create mode 100644 arch/x86/include/asm/bootm.h -- 1.8.4.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot