From: Daniel Mack <zonque@gmail.com>
To: Naresh Bhat <nareshgbhat@gmail.com>
Cc: magnus.damm@gmail.com, kexec@lists.infradead.org
Subject: Re:
Date: Fri, 30 Nov 2012 15:27:37 +0100 [thread overview]
Message-ID: <50B8C259.9080902@gmail.com> (raw)
In-Reply-To: <CAJXQGfJRQ9SO5MLpG5RC1DffaRRaWvRzpX1Rq=wEM5V=Pm31EA@mail.gmail.com>
On 30.11.2012 14:58, Naresh Bhat wrote:
> Hi,
>
> I am using Versatile express target at Daughterboard Site 1:
> V2P-CA15_A7 Cortex A15
>
> root@arm-cortex-a15:~# kexec -f zImage --dtb=vexpress.dtb
> --append="root=/dev/nfs rw ip=dhcp
> nfsroot=<Host-IP>:/mnt/sda3/nfs/cortexa15/core-image
> console=ttyAMA0,38400n8 nosmp"
> Starting new kernel
> Bye!
> Uncompressing Linux...
That could be just that the new kernel is missing its bootargs cmdline
with the appropriate console= tag. How are you booting the first kernel?
Does you bootloader add a /chosen tag?
Some suggestions:
1. Add a static CMDLINE to the second kernel, so it doesn't rely on that
information being passed from the first on.
2. Try running kexec without the --dtb option. kexec will then walk
/proc/device-tree and build up one dynamically (CONFIG_PROC_DEVICETREE
is needed for that).
3. Try passing --command-line to kexec. Note that this won't work
together with --dtb, as there's currently no code that adds the cmdline
to a dtb binary blob. But with two patches I recently submitted, it
works with the dynamic /proc/device-tree parsing mode.
4. In case you have LEDs connected to GPIOs on your board, configure
them to the heartbeat trigger mode. If that works, you know that the
kernel is actually booting, but just not showing anything on the console.
5. If 4) fails, try to toggle the GPIOs very early in the boot process,
as some sort of interface to trace the control flow, even without a JTAG.
6. In case you have CONFIG_THUMB2_KERNEL set, switch it off. I had no
luck yet booting into a kernel that was compiled in Thumb-2 mode.
Daniel
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2012-11-30 14:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 13:58 Naresh Bhat
2012-11-30 14:27 ` Daniel Mack [this message]
2012-12-14 14:09 ` Naresh Bhat
2012-12-14 14:35 ` Re: Sven Neumann
-- strict thread matches above, loose matches on Subject: below --
2024-10-10 22:44 Re: PRIVATE
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=50B8C259.9080902@gmail.com \
--to=zonque@gmail.com \
--cc=kexec@lists.infradead.org \
--cc=magnus.damm@gmail.com \
--cc=nareshgbhat@gmail.com \
/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