mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Bastian Krause <bst@pengutronix.de>, barebox@lists.infradead.org
Cc: Marco Felsch <mfe@pengutronix.de>
Subject: Re: [PATCH] ARM: dts: i.MX8MP FRDM: remove memory node
Date: Fri, 12 Jun 2026 16:15:32 +0200	[thread overview]
Message-ID: <c3ffa653-e2e8-4b11-a5b4-4a9e1c60e2e9@pengutronix.de> (raw)
In-Reply-To: <20260612115800.3475528-1-bst@pengutronix.de>

Hello,

On 6/12/26 13:58, Bastian Krause wrote:
> Since f083fffe52 ("ARM: dts: i.MX8MP: add DDRC compatibles") the esdctl
> driver is used. This causes the errors below since barebox tries to add
> the memory twice:
> 
>   imx-esdctl 3d400000.memory-controller@3d400000.of: probe failed: Device or resource busy
>   initcall imx_esdctl_driver_init+0x0/0x2c failed: No such device

Can you share the full output? -EBUSY here is not expected for
the issues you describe. barebox has been tolerant of the same
memory bank being registered by different means for a number
of years now.

> Remove the memory node to fix this.
> 
> 604c974c968 ("ARM: dts: i.MX8MP: remove memory node") already fixed this
> for the i.MX8MP EVK and the TQMa8MPxL on the MBa8MPxL.

This commit doesn't exist upstream.

> 
> Fixes: f083fffe52 ("ARM: dts: i.MX8MP: add DDRC compatibles")

This commit is 3 years old and the FRDM was only added this year.
Was the error message there all the time..?

Thanks,
Ahmad


> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
>  arch/arm/dts/imx8mp-frdm.dts | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/dts/imx8mp-frdm.dts b/arch/arm/dts/imx8mp-frdm.dts
> index b1870213baf..7d770c3e456 100644
> --- a/arch/arm/dts/imx8mp-frdm.dts
> +++ b/arch/arm/dts/imx8mp-frdm.dts
> @@ -11,3 +11,5 @@
>  / {
>  	barebox,deep-probe;
>  };
> +
> +/delete-node/ &{/memory@40000000};


-- 
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:[~2026-06-12 14:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-12 11:58 Bastian Krause
2026-06-12 12:43 ` Marco Felsch
2026-06-12 14:15 ` Ahmad Fatoum [this message]
2026-06-15  6:44   ` Sascha Hauer

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=c3ffa653-e2e8-4b11-a5b4-4a9e1c60e2e9@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=bst@pengutronix.de \
    --cc=mfe@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