[Bug 4520] [RFC] kexecboot: passing extra cmdline arguments

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Tue Aug 26 09:09:16 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4520





--- Comment #3 from Thomas Kunze <thommycheck at gmx.de>  2008-08-26 11:09:16 ---
(From update of attachment 9936)
># add_file "packages/kexecboot/files/rootwait-cmdline.patch"
>#  content [bc13dfed168abb2a02a35ad7d139fe3f1fdf8d3a]
># 
use a new patch for the cmdline stuff.

># patch "packages/kexecboot/initramfs-kexecboot_1.0.bb"
>#  from [d3cfea5e56d92934495f6342d176e974b5c9baf3]
>#    to [b255501c2e6a78b9d5f74e1c2fbc9df724da5503]
># 
># patch "packages/kexecboot/kexecboot_0.3.bb"
>#  from [549463678e80781a4efa57e3c566d8668953cb08]
>#    to [f069f61fd6d1b69a83a4446e84574904259d3e47]
I would be much better if kexecboot would do the parsing of /proc/cmdline all
by itself.
In the future I want to use kexecboot as /init and get rid of dash. So please
move this
stuff to the kexecboot binary.


># 
># patch "packages/kexecboot/linux-kexecboot-2.6.26/defconfig-akita"
>#  from [064c36530b213dae882be1b6bb2cbab8615906f8]
>#    to [00830ed0414849cf715b07e153eb67fac87aef14]
># 
># patch "packages/kexecboot/linux-kexecboot-2.6.26/defconfig-c7x0"
>#  from [9840eec605b360f4cdcf976973331ce274a89b6f]
>#    to [d15a5f05587c98203f9ee732dd0be56761cf05ee]
># 
># patch "packages/kexecboot/linux-kexecboot-2.6.26/defconfig-spitz"
>#  from [121ce2ca2da79de4072c338f63ad9e345f2674bb]
>#    to [a02d87cbebf6c43d557d077d9c6f64313fe0fc1b]
># 
These are ok.

>============================================================
>--- packages/kexecboot/initramfs-kexecboot_1.0.bb	d3cfea5e56d92934495f6342d176e974b5c9baf3
>+++ packages/kexecboot/initramfs-kexecboot_1.0.bb	b255501c2e6a78b9d5f74e1c2fbc9df724da5503
>@@ -1,16 +1,36 @@ DESCRIPTON = "A init script that mounts 
> DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it."
>-PR = "r7"
>+PR = "r8"
> RDEPENDS = "kexecboot klibc-utils-static-mount klibc-utils-static-sh klibc-utils-static-sleep"
> 
>-FBANGLE = "270"
>+#FBANGLE = "270"  for collie?
>+FBANGLE = "0"
should be FBANGLE_spitz = "0" etc. 



>============================================================
>--- packages/kexecboot/linux-kexecboot.inc	01dd6603a2a2fb2e9c3c56c171153b59ac8ec096
>+++ packages/kexecboot/linux-kexecboot.inc	a533cf1bfa9b8d7eaa54dd1bcfaea08c5f9d5657
>@@ -1,9 +1,14 @@ INITRAMFS_IMAGE = "initramfs-kexecboot-i
> DESCRIPTION = "2.6 Linux kexec bootloader for Zaurus devices and iPAQ hx2750."
> SECTION = "kernel"
> LICENSE = "GPL"
> 
> DONT_CHECK_KERNELSIZE = ""
> INITRAMFS_IMAGE = "initramfs-kexecboot-image"
>+#
>+###KERNEL_IMAGETYPE_c7x0="uImage"
>+###KERNEL_IMAGETYPE_akita="uImage"
>+###KERNEL_IMAGETYPE_spitz="uImage"
>+#
Better:
# uncomment the following lines if you use u-boot as bootloader
#KERNEL...

> inherit kernel
> PACKAGES = ""
> PROVIDES = ""

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Openembedded-issues mailing list