All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Kunze <thommycheck@gmx.de>
To: openembedded-devel@lists.openembedded.org
Subject: arm kexec commandline support
Date: Fri, 08 Jun 2007 02:02:29 +0200	[thread overview]
Message-ID: <46689C95.6010209@gmx.de> (raw)

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



             reply	other threads:[~2007-06-08  0:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08  0:02 Thomas Kunze [this message]
2007-06-11 14:58 ` arm kexec commandline support Hans Henry von Tresckow
  -- strict thread matches above, loose matches on Subject: below --
2007-09-27 16:20 Bob Dunlop
2007-09-27 17:08 ` Mike (mwester)
2007-09-27 17:53   ` Hans Henry von Tresckow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46689C95.6010209@gmx.de \
    --to=thommycheck@gmx.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.