]> code.ossystems Code Review - meta-freescale.git/commitdiff
kernel-imximage.bbclass: Add documentation about the class
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 30 Sep 2017 12:34:33 +0000 (09:34 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 30 Sep 2017 13:14:54 +0000 (10:14 -0300)
This adds a small documentation about the class as comment.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/kernel-imximage.bbclass

index efc819f05ce7352da2fc2e293fe7cbabc799e0fc..234cc00d3059a2809a0494c4c1b6fc8e1469dea8 100644 (file)
@@ -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-<devicetree>.cfg);
+#
+# Copyright 2017 (C) O.S. Systems Software LTDA.
+
 DEPENDS_append = ' u-boot-mkimage-native'
 
 IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}"