From: Michael Ellerman <mpe@ellerman.id.au>
To: Simon Kagstrom <simon.kagstrom@netinsight.net>,
<linuxppc-dev@lists.ozlabs.org>, <grant.likely@linaro.org>,
<geert@linux-m68k.org>, <scottwood@freescale.com>
Subject: Re: [v3] PowerPC: boot: Parse chosen/cmdline-timeout parameter
Date: Wed, 29 Oct 2014 16:06:05 +1100 (AEDT) [thread overview]
Message-ID: <20141029050605.A9F7D14008E@ozlabs.org> (raw)
In-Reply-To: <20141028121900.0f3bccc7@marrow.netinsight.se>
On Tue, 2014-28-10 at 11:19:00 UTC, Simon Kagstrom wrote:
> A 5 second timeout during boot might be too long, so make it
> configurable. Run the loop at least once to let the user stop the boot
> by holding a key pressed. If the timeout is set to 0, don't wait for
> input, which can be used as a workaround if the boot hangs on random
> data coming in on the serial port.
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
> ---
>
> I googled for it, and can't find v2 applied anywhere. I've made an
> improvement to the patch: If the timeout is 0, don't wait for input. We
> have a board where the serial port gives garbage when it's not
> connected - this board would then hang in the bootloader.
>
> If someone (Michael Ellerman?) has already applied it somewhere, I can
> send a separate patch for that particular change.
No I haven't applied it yet. I will put it in next in the next week or so for
3.19, you don't need to do anything.
cheers
prev parent reply other threads:[~2014-10-29 5:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 11:19 [PATCH v3] PowerPC: boot: Parse chosen/cmdline-timeout parameter Simon Kågström
2014-10-29 5:06 ` Michael Ellerman [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=20141029050605.A9F7D14008E@ozlabs.org \
--to=mpe@ellerman.id.au \
--cc=geert@linux-m68k.org \
--cc=grant.likely@linaro.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.com \
--cc=simon.kagstrom@netinsight.net \
/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;
as well as URLs for NNTP newsgroup(s).