From: Geoff Levand <geoff@infradead.org>
To: Arun Chandran <achandran@mvista.com>
Cc: kexec@lists.infradead.org
Subject: Re: Kexec on arm64
Date: Wed, 09 Jul 2014 11:49:19 -0700 [thread overview]
Message-ID: <1404931759.26155.70.camel@smoke> (raw)
In-Reply-To: <CAFdej03ziTTA5QGFjzKd6Kc4skWNTr5RECy69qtnQGVtE6ks3w@mail.gmail.com>
Hi Arun,
On Wed, 2014-07-09 at 19:28 +0530, Arun Chandran wrote:
> After copying the resulting binaries to my target; I tried loading the
> kernel Image
>
> # kexec -l /Image
> Modified cmdline: root=/dev/nfs
> Unable to find /proc/device-tree//chosen/linux,stdout-path, printing
> from purgatory is diabled
> Cannot determine the file type of /Image
>
> It failed to load the kernel Image. Any pointers?
My kexec-tools [1] only supports loading of arm64 elf files, so
vmlinux, or a stripped version of it. Image is a raw binary, and
is not yet supported.
Maybe something like this is what you need:
./kexec -d --load /boot/vmlinux.strip --append="console=ttyAMA0 earlyprintk=pl011,0x1c090000 root=/dev/vda rw --verbose" --dtb=/boot/fdt.dtb
./kexec -d -e
Also, my current master branch will only work reliably with PSCI
boot. Spin-table boot has a bug and will be unstable for the next
few days. Spin-table will re-boot, but only the primary cpu will
come up.
[1] https://git.linaro.org/people/geoff.levand/kexec-tools.git
https://git.linaro.org/people/geoff.levand/linux-kexec.git
-Geoff
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2014-07-09 18:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 10:13 Kexec on arm64 Arun Chandran
2014-07-09 13:58 ` Arun Chandran
2014-07-09 18:49 ` Geoff Levand [this message]
2014-07-11 9:23 ` Arun Chandran
2014-07-11 16:58 ` Geoff Levand
2014-07-11 11:26 ` Arun Chandran
2014-07-12 0:19 ` Geoff Levand
2014-07-14 12:21 ` Arun Chandran
2014-07-11 15:43 ` Arun Chandran
2014-07-14 22:05 ` Geoff Levand
2014-07-15 15:28 ` Arun Chandran
2014-07-09 18:33 ` Geoff Levand
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=1404931759.26155.70.camel@smoke \
--to=geoff@infradead.org \
--cc=achandran@mvista.com \
--cc=kexec@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox