[oe] [PATCH] Userspace ATAG support for kexec
Uli Luckas
u.luckas at road.de
Mon Nov 12 10:32:59 UTC 2007
This patch for the kexec userspace tool adds support for propperly setting up
ATAGs for the kexeced kernel.
It uses information exported via /proc/atags to preserve all ATAGs except
ATAG_INITRD, ATAG_INITRD2 and ATAG_CMDLINE. The ATAG_INITRD2 and ATAG_CMDLINE
tags are set up according to command line options.
To start a kernel with nfs root via the usb gadget device for example a
command line like this could be used:
kexec -l zImage --append="root=nfs nfsroot=192.168.1.1\:/oe-linux-rootfs
ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0:gadget:usb0:off rw"
This patch should be applied ontop of openembedded's "kexec-tools-arm.patch".
The patch posted in "[PATHC] ATAG export for the linux kernel" needs to be
applied to the running kernel.
regards,
Uli Luckas
--
------- ROAD ...the handyPC Company - - - ) ) )
Uli Luckas
Software Development
ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: www.road.de
Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kexec-arm-atags.patch
Type: text/x-diff
Size: 7686 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20071112/880004fb/attachment-0002.bin>
More information about the Openembedded-devel
mailing list