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

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Fri Aug 22 17:01:09 UTC 2008


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

           Summary: [RFC] kexecboot: passing extra cmdline arguments
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: andrea.adami at gmail.com


Created an attachment (id=9934)
 --> (http://bugs.openembedded.net/attachment.cgi?id=9934)
mtn diff

The new linux-kexecboot package provides a brand new 'second stage bootloader'
thus allowing to boot from different media (SD, nand,...).

The problem I see whit it, is that the kexec'ed kernel looks for cmdline in
/boot/kernel-cmdline, but that cmdline is statically compiled at build time and
ignores the 'mtdparts=' bootarg.

The attached patch provides a way to selectively filter the cmdline of the
first  kernel (coming from bootloader) and pass it to the new kernel.

Comments and corrections are welcome!

Andrea

-- 
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