From 357c7c27e73710da7bfa3f587bbd4c11499e5ce7 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 30 Sep 2017 09:34:33 -0300 Subject: kernel-imximage.bbclass: Add documentation about the class This adds a small documentation about the class as comment. Signed-off-by: Otavio Salvador --- classes/kernel-imximage.bbclass | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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}" -- cgit v1.2.3-54-g00ecf