From: Otavio Salvador Date: Sat, 30 Sep 2017 12:34:33 +0000 (-0300) Subject: kernel-imximage.bbclass: Add documentation about the class X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=357c7c27e73710da7bfa3f587bbd4c11499e5ce7;p=meta-freescale.git kernel-imximage.bbclass: Add documentation about the class This adds a small documentation about the class as comment. Signed-off-by: Otavio Salvador --- diff --git a/classes/kernel-imximage.bbclass b/classes/kernel-imximage.bbclass index efc819f0..234cc00d 100644 --- a/classes/kernel-imximage.bbclass +++ b/classes/kernel-imximage.bbclass @@ -1,3 +1,22 @@ +# -*- python -*- +# 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. 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-.cfg); +# +# Copyright 2017 (C) O.S. Systems Software LTDA. + DEPENDS_append = ' u-boot-mkimage-native' IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}"