diff options
Diffstat (limited to 'classes')
-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 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 | |||
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}" |