]> git.openpandora.org Git - openembedded.git/commitdiff
kexecboot-initramfs: wait some seconds before startup
authorThomas Kunze <thommycheck@gmx.de>
Mon, 4 Aug 2008 13:12:22 +0000 (13:12 +0000)
committerThomas Kunze <thommycheck@gmx.de>
Mon, 4 Aug 2008 13:12:22 +0000 (13:12 +0000)
linux-kexecboot: remove debug output
kexecboot: pass rootdelay to all kernels

packages/kexecboot/initramfs-kexecboot-image.bb
packages/kexecboot/initramfs-kexecboot_1.0.bb
packages/kexecboot/kexecboot_0.3.bb
packages/kexecboot/linux-kexecboot-2.6.26/defconfig-collie
packages/kexecboot/linux-kexecboot_2.6.26.bb

index a55601955aeeb2af22fafe3362ca378e7de47d05..e0434b5fbd28e891b0a74224746483cb27d454ed 100644 (file)
@@ -5,5 +5,5 @@ inherit image
 
 export IMAGE_BASENAME = "initramfs-kexecboot-image"
 
-IMAGE_INSTALL = "klibc-utils-static-sh klibc-utils-static-mount kexec-static initramfs-kexecboot"
+IMAGE_INSTALL = "initramfs-kexecboot"
 IMAGE_LINGUAS = ""
index e1337419b842ae2a1f3fe31c1bc08a0ea93273b3..75fb8e8708d57d3e6b4f01a2fbd6cbf93161461c 100644 (file)
@@ -1,11 +1,18 @@
 DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it."
-PR = "r6"
-RDEPENDS = "kexecboot"
+PR = "r7"
+RDEPENDS = "kexecboot klibc-utils-static-mount klibc-utils-static-sh klibc-utils-static-sleep"
+
+FBANGLE = "270"
+INPUTDEV = "/dev/event0"
+
+
 do_compile() {
         cat > init.sh << EOF
 #!/bin/sh
+/bin/sleep 3
 /bin/mount -t proc proc /proc
-/usr/bin/kexecboot -a 270 -i /dev/event0
+echo "0 4 1 7" > /proc/sys/kernel/printk
+/usr/bin/kexecboot -a ${FBANGLE} -i ${INPUTDEV}
 EOF
 }
 
index 89b9e3b4157f0fc78d96639e3c56723bfd1e35b8..f3fb6e35cb38d78a7225dd8e3c5bbdb97f506091 100644 (file)
@@ -1,12 +1,14 @@
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 DEPENDS = "klibc"
+RDEPENDS = "kexec-static"
 inherit autotools
 
 # You can create your own *-img.h by doing
 # ./make-image-header.sh <file>.png HAND
 
-SRC_URI = "http://projects.linuxtogo.org/frs/download.php/221/kexecboot-${PV}.tar.gz"
+SRC_URI = "http://projects.linuxtogo.org/frs/download.php/221/kexecboot-${PV}.tar.gz \
+          file://rootdelay.patch;patch=1"
 S = "${WORKDIR}/kexecboot-${PV}"
 
 
index 096050a3aef114dd03d78eb09045ebe32fd3498d..7a22aa4ee19c7a5cfee3f6c10e7ea9d02663eca2 100644 (file)
@@ -251,7 +251,7 @@ CONFIG_ALIGNMENT_TRAP=y
 #
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="console=ttySA0,115200n8 console=tty1 noinitrd root=/dev/mtdblock2 rootfstype=jffs2 rootdelay=3 mem=64M fbcon=rotate:1 dyntick=enable"
+CONFIG_CMDLINE="console=ttySA0,115200n8 noinitrd root=/dev/mtdblock2 rootfstype=jffs2 rootdelay=3 mem=64M fbcon=rotate:1 dyntick=enable"
 # CONFIG_XIP_KERNEL is not set
 CONFIG_KEXEC=y
 CONFIG_ATAGS_PROC=y
@@ -398,7 +398,7 @@ CONFIG_BLK_DEV_IDE=y
 # Please see Documentation/ide/ide.txt for help/info on IDE drives
 #
 # CONFIG_BLK_DEV_IDE_SATA is not set
-# CONFIG_BLK_DEV_IDEDISK is not set
+CONFIG_BLK_DEV_IDEDISK=y
 # CONFIG_IDEDISK_MULTI_MODE is not set
 CONFIG_BLK_DEV_IDECS=y
 # CONFIG_BLK_DEV_IDECD is not set
index d7e97a81870a0bc1b54e75ba51e8d8ee002be6e0..5d31aae5cb269e2cce69d34c0aeae5883eeecedc 100644 (file)
@@ -1,7 +1,6 @@
 require linux-kexecboot.inc
 
-PR = "r1"
-FILESDIR = "linux-rp_${PV}"
+PR = "r2"
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_qemuarm = "-1"
 DEFAULT_PREFERENCE_qemux86 = "-1"