From: Stefan Roese <sr@denx.de>
To: "Marek Behún" <kabel@kernel.org>,
"Chris Packham" <judge.packham@gmail.com>
Cc: pali@kernel.org, "u-boot@lists.denx.de" <u-boot@lists.denx.de>,
"Marek Behún" <marek.behun@nic.cz>
Subject: Re: [PATCH u-boot-marvell v2 2/2] arm: mvebu: turris_omnia: Reset the board immediately on DDR training failure
Date: Thu, 17 Feb 2022 14:12:06 +0100 [thread overview]
Message-ID: <e8714bb5-cefb-ec5e-7673-00a1e204589c@denx.de> (raw)
In-Reply-To: <20220217125443.4544-2-kabel@kernel.org>
On 2/17/22 13:54, Marek Behún wrote:
> From: Marek Behún <marek.behun@nic.cz>
>
> The state of the current DDR training code for Armada 38x is such that
> we cannot be sure it will always train successfully - although after the
> last change we were yet unable to find a board that failed DDR training,
> from experience in the last 2 years we know that it is possible.
>
> The experience also tells us that in many cases the board fails training
> only sometimes, and after a reset the training is successful.
>
> Enable the new option that makes the board reset itself on DDR training
> failure immediately. Until now we called hang() in such a case, which
> meant that the board was reset by the MCU after 120 seconds.
>
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
> ---
> configs/turris_omnia_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
> index d6f70caeaf..010d69adcc 100644
> --- a/configs/turris_omnia_defconfig
> +++ b/configs/turris_omnia_defconfig
> @@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=2
> CONFIG_SYS_MEMTEST_START=0x00800000
> CONFIG_SYS_MEMTEST_END=0x00ffffff
> CONFIG_TARGET_TURRIS_OMNIA=y
> +CONFIG_DDR_RESET_ON_TRAINING_FAILURE=y
> CONFIG_ENV_SIZE=0x10000
> CONFIG_ENV_OFFSET=0xF0000
> CONFIG_ENV_SECT_SIZE=0x10000
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de
next prev parent reply other threads:[~2022-02-17 13:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 12:54 [PATCH u-boot-marvell v2 1/2] arm: mvebu: spl: Add option to reset the board on DDR training failure Marek Behún
2022-02-17 12:54 ` [PATCH u-boot-marvell v2 2/2] arm: mvebu: turris_omnia: Reset the board immediately " Marek Behún
2022-02-17 13:12 ` Stefan Roese [this message]
2022-02-17 13:13 ` Pali Rohár
2022-02-17 15:39 ` Stefan Roese
2022-02-17 13:10 ` [PATCH u-boot-marvell v2 1/2] arm: mvebu: spl: Add option to reset the board " Pali Rohár
2022-02-17 13:11 ` Stefan Roese
2022-02-17 15:39 ` Stefan Roese
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=e8714bb5-cefb-ec5e-7673-00a1e204589c@denx.de \
--to=sr@denx.de \
--cc=judge.packham@gmail.com \
--cc=kabel@kernel.org \
--cc=marek.behun@nic.cz \
--cc=pali@kernel.org \
--cc=u-boot@lists.denx.de \
/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.