[oe] [meta-handheld][PATCH] linux-yocto-tiny-kexecboot_3.17: add rdinit=/usr/bin/kexecboot to the cmdline

Andrea Adami andrea.adami at gmail.com
Thu Oct 16 21:41:09 UTC 2014


The kernel behavior has changed and apparently the init symlink
in the initramfs is ignored (no init seems executed).

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig  | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig   | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig  | 2 +-
 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig
index c1f8315..e9b9313 100644
--- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/akita/defconfig
@@ -35,7 +35,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig
index 89928cd..f6fe618 100644
--- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/c7x0/defconfig
@@ -36,7 +36,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig
index dfabe70..3209bd3 100644
--- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/collie/defconfig
@@ -33,7 +33,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttySA0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 mem=64M loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig
index b9e052b..2f30d0c 100644
--- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/poodle/defconfig
@@ -34,7 +34,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig
index 25df112..908aeb2 100644
--- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/spitz/defconfig
@@ -35,7 +35,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot fbcon=rotate:1 loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig
index b98928e..dc298bf 100644
--- a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.17/tosa/defconfig
@@ -34,7 +34,7 @@ CONFIG_AEABI=y
 # CONFIG_COMPACTION is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 loglevel=3"
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 rdinit=/usr/bin/kexecboot loglevel=3"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_KEXEC=y
 # CONFIG_BINFMT_SCRIPT is not set
-- 
1.9.1




More information about the Openembedded-devel mailing list