[oe] arm kexec commandline support
Thomas Kunze
thommycheck at gmx.de
Fri Jun 8 00:02:29 UTC 2007
Hi all,
I have written a quick hack to support custom commandlines for arm with
kexec. You need:
http://www2.informatik.hu-berlin.de/~tkunze/zaurus/patches/kexec_commandline-3.patch
and:
http://www2.informatik.hu-berlin.de/~tkunze/zaurus/patches/atag_support.patch
(from lak)
How to use:
Use kexec as usual. To change the commandline do:
echo "your commandline" > /sys/kernel/kexec_cmdline
This sets up a ataglist in memory which is copied to 0xc0000100 when
machine is rebooted.
This address is given the new kernel as ataglist in r2.
This works on collie, but should work on any arm machine. I didn't find
out why I can't give an arbitrary address to the new kernel in r2 but it
doesn't work (machine hangs.)
Comments are welcome.
Thomas
More information about the Openembedded-devel
mailing list