From: nicolas.pitre@linaro.org (Nicolas Pitre)
To: linux-arm-kernel@lists.infradead.org
Subject: CONFIG_EARLY_PRINTK on versatile broken in mainline
Date: Thu, 5 Apr 2012 20:19:57 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.02.1204052015360.16314@xanadu.home> (raw)
In-Reply-To: <CACxGe6vF7AP99yJaTiqGMRUmgMOwgoM_B=AQFaPxrAfsQyHS9A@mail.gmail.com>
On Thu, 5 Apr 2012, Grant Likely wrote:
> On Thu, Apr 5, 2012 at 4:27 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> > On Thu, Apr 5, 2012 at 4:19 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> >> On Thu, Apr 5, 2012 at 4:08 PM, Fabio Estevam <festevam@gmail.com> wrote:
> >>> On Thu, Apr 5, 2012 at 7:52 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> >>>> Has anyone else had problems with CONFIG_EARLY_PRINTK on current
> >>>> mainline? ?ARM versatile fails to boot on qemu when it is selected.
> >>>> I've just started bisecting. ?v3.3 is okay, but current mainline is
> >>>> broken. ?Output stops after dumping out the memblock regions, and
> >>>> __log_buf stops at the same place.
> >>>
> >>> Please try this patch:
> >>> http://permalink.gmane.org/gmane.linux.ports.arm.kernel/158694
> >>
> >> I've already had that fix applied. ?This is a different issue. ?The
> >> kernel boots fine if CONFIG_EARLY_PRINTK isn't defined.
> >
> > Update: I'm still investigating, but it bisects out to this commit:
> >
> > commit 94e5a85b3be0ce109d26aa6812b2a02c518a0e4b
> > Author: Russell King <rmk+kernel@arm.linux.org.uk>
> > Date: ? Wed Jan 18 15:32:49 2012 +0000
> >
> > ? ?ARM: earlier initialization of vectors page
>
> The following patch makes it boot. Calling printch() to output a
> character right after early_trap_init() seems to unblock whatever was
> wedging the system. A delay or a printk with "" format string doesn't
> have any effect, it seems it must be a character output. This may be
> a problem in the simulator. I've not been able to run this on real
> hardware.
FWIW, I have no problem booting v3.4-rc1 for vexpress on the ARM A15
Fast Model, given the patch referenced above is applied.
Nicolas
prev parent reply other threads:[~2012-04-06 0:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 22:52 CONFIG_EARLY_PRINTK on versatile broken in mainline Grant Likely
2012-04-05 23:08 ` Fabio Estevam
2012-04-05 23:19 ` Grant Likely
2012-04-05 23:27 ` Grant Likely
2012-04-06 0:07 ` Grant Likely
2012-04-06 0:19 ` Nicolas Pitre [this message]
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=alpine.LFD.2.02.1204052015360.16314@xanadu.home \
--to=nicolas.pitre@linaro.org \
--cc=linux-arm-kernel@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