]> code.ossystems Code Review - meta-freescale.git/commit
kernel-imximage.bbclass: Linux kernel with DCD headers
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 12 Sep 2017 14:20:40 +0000 (11:20 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 27 Sep 2017 13:26:46 +0000 (10:26 -0300)
commitd578533e80934496f56e1521bbf64bda9aa76797
tree1fee013dd129a26395c78e27d4f05dadac05ef05
parent18aa784c0163e6f235f007cda239016f71ec02a4
kernel-imximage.bbclass: Linux kernel with DCD headers

This new image type adds support to generate a Linux kernel with DCD
headers. Essentially it adds support to directly boot a Linux kernel
without a bootloader.

As the Linux kernel will be boot directly, it required that the Device
Tree is appended to the kernel image, which had support included in
OE-Core.

To have the Linux kernel generated with the DCD headers, following
steps must be followed:

 - Linux kernel recipe must inherit kernel-imximage class;
 - Device Tree appended Linux kernel must be used
   (KERNEL_DEVICETREE_BUNDLE = "1");
 - DCD header configuration must be provided (dcd.cfg or
   dcd-<devicetree>.cfg);

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/kernel-imximage.bbclass [new file with mode: 0644]