diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2017-09-30 09:34:33 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-09-30 10:14:54 -0300 |
| commit | 357c7c27e73710da7bfa3f587bbd4c11499e5ce7 (patch) | |
| tree | edde6ecb93e973b029104499a00c7aac20c7ff19 /classes/kernel-imximage.bbclass | |
| parent | f0123278102fc040049bc185333337711c4920c9 (diff) | |
| download | meta-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>
Diffstat (limited to 'classes/kernel-imximage.bbclass')
| -rw-r--r-- | classes/kernel-imximage.bbclass | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/classes/kernel-imximage.bbclass b/classes/kernel-imximage.bbclass index efc819f05..234cc00d3 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 | |||
| 1 | DEPENDS_append = ' u-boot-mkimage-native' | 20 | DEPENDS_append = ' u-boot-mkimage-native' |
| 2 | 21 | ||
| 3 | IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" | 22 | IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" |
