mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Gwenhael Goavec-Merou <gwenj@trabucayre.com>,
	barebox@lists.infradead.org, Lucas Stach <lst@pengutronix.de>
Cc: Johannes Roith <johannes@gnu-linux.rocks>,
	Sascha Hauer <sha@pengutronix.de>,
	Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Subject: Re: [PATCH 1/3] arch/arm/boards/avnet-zedboard/zedboard.zynqcfg: removed everything but stop instruction to fix barebox boot
Date: Mon, 14 Jul 2025 08:08:30 +0200	[thread overview]
Message-ID: <6f0aaf87-6363-40b4-99df-43e875ec6afa@pengutronix.de> (raw)
In-Reply-To: <20250707055331.2355809-1-gwenj@trabucayre.com>

Hi,

On 07.07.25 07:53, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> 
> As mentionned in [1,2] sequence present in arch/arm/boards/avnet-zedboard/zedboard.zynqcfg
> causes boot failure without any messages.
> 
> This patch removes all instructions but the last one allowing to have
> access to the barebox prompt
> 
> [1] https://lore.barebox.org/barebox/VI1PR02MB4429606E3B06D0F53D2B4175AB4DA@VI1PR02MB4429.eurprd02.prod.outlook.com/T/#m5fa4fe7832215a7e8160ef6fbd3d122dd58b0a92
> [2] https://lore.barebox.org/barebox/VI1PR02MB4429606E3B06D0F53D2B4175AB4DA@VI1PR02MB4429.eurprd02.prod.outlook.com/T/#m5fa4fe7832215a7e8160ef6fbd3d122dd58b0a92

The title is a bit long, but I think Sascha can fix it up on apply.
I'd rather suggest:

  ARM: zynq: zed: remove early clock config causing hang

Lucas, do you have any input why this configuration may cause issues?

Anyhow:

Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

Thanks,
Ahmad

> 
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> ---
>  .../boards/avnet-zedboard/zedboard.zynqcfg    | 20 -------------------
>  1 file changed, 20 deletions(-)
> 
> diff --git a/arch/arm/boards/avnet-zedboard/zedboard.zynqcfg b/arch/arm/boards/avnet-zedboard/zedboard.zynqcfg
> index c6a96aec7b..8e68bbf618 100644
> --- a/arch/arm/boards/avnet-zedboard/zedboard.zynqcfg
> +++ b/arch/arm/boards/avnet-zedboard/zedboard.zynqcfg
> @@ -1,24 +1,4 @@
>  #include <zynq/zynq7000-header-regs.h>
>  
> -wm 32 ZYNQ_SLCR_UNLOCK		0x0000DF0D
> -wm 32 ZYNQ_CLK_621_TRUE		0x00000001
> -wm 32 ZYNQ_APER_CLK_CTRL	0x01FC044D
> -
> -wm 32 ZYNQ_ARM_PLL_CTRL		0x00028008
> -wm 32 ZYNQ_ARM_PLL_CFG		0x000FA220
> -wm 32 ZYNQ_ARM_PLL_CTRL		0x00028010
> -wm 32 ZYNQ_ARM_PLL_CTRL		0x00028011
> -wm 32 ZYNQ_ARM_PLL_CTRL		0x00028010
> -wm 32 ZYNQ_ARM_PLL_CTRL		0x00028000
> -
> -wm 32 ZYNQ_IO_PLL_CTRL		0x0001E008
> -wm 32 ZYNQ_IO_PLL_CFG		0x001452C0
> -wm 32 ZYNQ_IO_PLL_CTRL		0x0001E010
> -wm 32 ZYNQ_IO_PLL_CTRL		0x0001E011
> -wm 32 ZYNQ_IO_PLL_CTRL		0x0001E010
> -wm 32 ZYNQ_IO_PLL_CTRL		0x0001E000
> -
> -wm 32 ZYNQ_SDIO_CLK_CTRL	0x00000a03
> -
>  /* stop */
>  wm 32 0xFFFFFFFF			0x00000000


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      parent reply	other threads:[~2025-07-14  6:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-07  5:53 Gwenhael Goavec-Merou
2025-07-07  5:53 ` [PATCH 2/3] arch/arm/boards/avnet-zedboard/lowlevel.c: added SDIO clk frequency configuration Gwenhael Goavec-Merou
2025-07-14  7:20   ` Ahmad Fatoum
2025-07-07  5:53 ` [PATCH 3/3] arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console: fixed console name Gwenhael Goavec-Merou
2025-07-14  7:14   ` Ahmad Fatoum
2025-07-14  6:08 ` Ahmad Fatoum [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=6f0aaf87-6363-40b4-99df-43e875ec6afa@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=gwenhael.goavec-merou@trabucayre.com \
    --cc=gwenj@trabucayre.com \
    --cc=johannes@gnu-linux.rocks \
    --cc=lst@pengutronix.de \
    --cc=sha@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox