[oe] [meta-initramfs][PATCH] kexecboot-cfg: add new options for DTB and CMDLINE

Andrea Adami andrea.adami at gmail.com
Fri Sep 7 10:46:20 UTC 2018


Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb
index 804ec32..f90e234 100644
--- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb
+++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb
@@ -19,9 +19,15 @@ LABEL=${KEXECBOOT_LABEL}
 # Specify full kernel path on target.
 KERNEL=/boot/${KERNEL_IMAGETYPE}
 #
+# Specify which device tree blob to use
+# DTB=/boot/my-own-dtb
+#
 # Append this tags to the kernel cmdline.
 APPEND=${CMDLINE} ${CMDLINE_DEBUG}
 #
+# Overwrite kernel command line instead of appending to it
+# CMDLINE=console=/dev/tty0 root=/dev/sdb1
+#
 # Specify optional initrd/initramfs.
 # INITRD=/boot/initramfs.cpio.gz
 #
-- 
2.7.4




More information about the Openembedded-devel mailing list