public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Ye Li <ye.li@nxp.com>,
	peng.fan@nxp.com, uboot-imx@nxp.com, u-boot@lists.denx.de,
	Simon Glass <sjg@chromium.org>,
	alpernebiyasak@gmail.com
Subject: Re: [PATCH v2 0/8] imx8: switch missing boards to binman
Date: Fri, 18 Nov 2022 14:41:51 +0100	[thread overview]
Message-ID: <20221118134151.GC2534@optiplex> (raw)
In-Reply-To: <CAOMZO5Dpmz97ZjxgEq3viqV2M_CA76JqwTCN3mr4KT7zKyaKQw@mail.gmail.com>

On 11/11/22, Fabio Estevam wrote:
> On Fri, Nov 11, 2022 at 2:40 PM Fabio Estevam <festevam@gmail.com> wrote:
> 
> > I removed SPL support, which does not seems to be needed as the scufw
> > handles DDR init.
> >
> > I don't have access to an imx8qm/qxp board here.
> >
> > Could you try removing SPL support from your board and see if it boots
> > with binman support?
> 
> Ok, let's SPL for now as this is a different topic for discussion.
> 
> 
> With the change below against u-boot-imx master-next branch, the
> imx8qm/qxp boards build fine without blobs:
> 
> diff --git a/arch/arm/dts/imx8qm-u-boot.dtsi b/arch/arm/dts/imx8qm-u-boot.dtsi
> index 3507489a813c..a3e0af48109b 100644
> --- a/arch/arm/dts/imx8qm-u-boot.dtsi
> +++ b/arch/arm/dts/imx8qm-u-boot.dtsi
> @@ -10,7 +10,7 @@
>  };
> 
>  &binman {
> -#ifdef CONFIG_SPL
> +#ifdef CONFIG_SPL_BUILD
>         u-boot-spl-ddr {
>                 align = <4>;
>                 align-size = <4>;
> @@ -50,7 +50,7 @@
>                                         arch = "arm64";
>                                         compression = "none";
>                                         description = "U-Boot (64-bit)";
> -                                       load = <CONFIG_SYS_TEXT_BASE>;
> +                                       load = <CONFIG_TEXT_BASE>;
>                                         type = "standalone";
> 
>                                         uboot-blob {
> diff --git a/arch/arm/dts/imx8qxp-u-boot.dtsi b/arch/arm/dts/imx8qxp-u-boot.dtsi
> index 01183f8ade63..7622c40906f1 100644
> --- a/arch/arm/dts/imx8qxp-u-boot.dtsi
> +++ b/arch/arm/dts/imx8qxp-u-boot.dtsi
> @@ -10,7 +10,7 @@
>  };
> 
>  &binman {
> -#ifdef CONFIG_SPL
> +#ifdef CONFIG_SPL_BUILD
>         u-boot-spl-ddr {
>                 align = <4>;
>                 align-size = <4>;
> @@ -50,7 +50,7 @@
>                                         arch = "arm64";
>                                         compression = "none";
>                                         description = "U-Boot (64-bit)";
> -                                       load = <CONFIG_SYS_TEXT_BASE>;
> +                                       load = <CONFIG_TEXT_BASE>;
>                                         type = "standalone";
> 
>                                         uboot-blob {


> 
> Could you please test it on your boards?

Ok, I can confirm it builds without the binary blobs with this changes.
I'll change it in patches accordingly

Best regards,

Oliver

  parent reply	other threads:[~2022-11-18 13:49 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 15:03 [PATCH v2 0/8] imx8: switch missing boards to binman Oliver Graute
2022-11-04 15:03 ` [PATCH v5 1/8] imx: imx8qm-rom7720: switch " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v6 2/8] imx: imx8qm: cgtqmx8: " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v2 3/8] imx: imx8qxp: imx8qxp_mek " Oliver Graute
2022-11-12 16:25   ` sbabic
2022-11-04 15:03 ` [PATCH v2 4/8] imx: imx8qm: imx8qm_mek " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v2 5/8] imx: imx8qxp: giedi " Oliver Graute
2022-11-12 16:25   ` sbabic
2022-11-04 15:03 ` [PATCH v1 6/8] imx: imx8qxp: deneb " Oliver Graute
2022-11-12 16:26   ` sbabic
2022-11-04 15:03 ` [PATCH v2 7/8] imx: imx8x: colibri: " Oliver Graute
2022-11-12 16:25   ` sbabic
2022-11-04 15:03 ` [PATCH v2 8/8] imx: imx8: apalis: " Oliver Graute
2022-11-09 17:47   ` Marcel Ziswiler
2022-11-10 16:35     ` oliver.graute@kococonnector.com
2022-11-12 16:26   ` sbabic
2022-11-15 10:05     ` Marcel Ziswiler
2022-11-15 10:23       ` Stefano Babic
2022-11-04 16:31 ` [PATCH v2 0/8] imx8: switch missing boards " Fabio Estevam
2022-11-08 16:43   ` Stefano Babic
2022-11-08 22:16     ` Fabio Estevam
2022-11-09 15:44       ` Stefano Babic
2022-11-09 16:14       ` Oliver Graute
2022-11-09 16:19     ` Oliver Graute
2022-11-09 17:45       ` Fabio Estevam
2022-11-10 16:11         ` Tom Rini
2022-11-11 12:53         ` Oliver Graute
2022-11-11 17:40           ` Fabio Estevam
2022-11-11 17:55             ` Fabio Estevam
2022-11-16  9:47               ` Marcel Ziswiler
2022-11-18 13:41               ` Oliver Graute [this message]
2022-11-18 13:50                 ` Fabio Estevam
2022-11-22 14:23               ` Oliver Graute
2022-12-02  1:00                 ` Fabio Estevam
2022-11-18 12:35             ` Oliver Graute
2022-11-09 16:50   ` Marcel Ziswiler

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=20221118134151.GC2534@optiplex \
    --to=oliver.graute@gmail.com \
    --cc=alpernebiyasak@gmail.com \
    --cc=festevam@gmail.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=ye.li@nxp.com \
    /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