]> code.ossystems Code Review - openembedded-core.git/commit
kernel: Add basic fitImage support
authorMarek Vasut <marex@denx.de>
Thu, 14 May 2015 12:31:12 +0000 (14:31 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 May 2015 09:57:41 +0000 (10:57 +0100)
commitd92664278cfd0fdb455f78f73f2c44a9ee1716e4
tree897ac261175fa12ecbc3bd05a4db3cbd6ecd2604
parent86b3f29f93e3f87903668ea317c6bd97be4cdf62
kernel: Add basic fitImage support

This patch adds support for generating a kernel fitImage, which is
a a successor to the uImage format. Unlike uImage, which could only
contain the kernel image itself, the fitImage can contain all kinds
of artifacts, like the kernel image, device tree blobs, initramfs
images, binary firmwares etc. Furthermore, the fitImage supports
different kinds of checksums, not only CRC32 like the uImage did.
Last, but not least, fitImage supports signatures such that either
the whole image or it's parts can be signed and then in turn can
be verified by the bootloader.

So far we only add support for wrapping the kernel image and DTB
into the fitImage. The fitImage uses the sha1 checksum, which is
the default.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass [new file with mode: 0644]