summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-09-30 09:34:33 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2017-09-30 10:14:54 -0300
commit357c7c27e73710da7bfa3f587bbd4c11499e5ce7 (patch)
treeedde6ecb93e973b029104499a00c7aac20c7ff19
parentf0123278102fc040049bc185333337711c4920c9 (diff)
downloadmeta-freescale-357c7c27e73710da7bfa3f587bbd4c11499e5ce7.tar.gz
kernel-imximage.bbclass: Add documentation about the class
This adds a small documentation about the class as comment. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--classes/kernel-imximage.bbclass19
1 files changed, 19 insertions, 0 deletions
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 @@
1# -*- python -*-
2# Linux kernel with DCD headers
3#
4# This new image type adds support to generate a Linux kernel with DCD
5# headers. Essentially it adds support to directly boot a Linux kernel
6# without a bootloader.
7#
8# As the Linux kernel will be boot directly, it required that the Device
9# Tree is appended to the kernel image. To have the Linux kernel
10# generated with the DCD headers, following steps must be followed:
11#
12# - Linux kernel recipe must inherit kernel-imximage class;
13# - Device Tree appended Linux kernel must be used
14# (KERNEL_DEVICETREE_BUNDLE = "1");
15# - DCD header configuration must be provided (dcd.cfg or
16# dcd-<devicetree>.cfg);
17#
18# Copyright 2017 (C) O.S. Systems Software LTDA.
19
1DEPENDS_append = ' u-boot-mkimage-native' 20DEPENDS_append = ' u-boot-mkimage-native'
2 21
3IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" 22IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}"