[oe] [PATCH] kexec / ATAGs
Uli Luckas
u.luckas at road.de
Wed Aug 22 12:19:04 UTC 2007
Hi,
I had a problem with kexec on ARM not setting up my memory in the new
kernel [1].
In the above thread two solutions have been proposed, which both were not
sufficient for my special case.
The first patch by Thomas Kunze did not set up memory as required by my board,
the second patch by Mike Westerhof did set up memory (and other ATAGs) but did
not allow passing of a new command line.
Attached you will find a PATCH to the kexec utility which sets up ATAGs to the
new kernel.
It sets up ATAGs for the current memory configuration as found in /proc/iomem
and ATAGs.
Aditionally it sets up ATAGs for a kernel command line and passes an initrd
image if requested.
This patch applies on top of [2].
I'd like to push my patch upstream but this requires [2] to be upstream.
Could the original author push his patch (or the combined patches) upstream
please? I'll add a signed-off line below to make it clear, that passing on my
patch is ok.
Best regards
Uli Luckas
1) "kexec & 2 RAM banks"
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2007-July/041225.html
2) kexec-tools-arm.patch
http://www.openembedded.org/repo/org.openembedded.dev/packages/kexec/kexec-tools-1.101/kexec-tools-arm.patch
--
------- 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: 6257 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20070822/2bad8f46/attachment-0002.bin>
More information about the Openembedded-devel
mailing list