From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/5] package/freescale-imx: Add option for DDR FW need
Date: Fri, 29 May 2020 23:46:38 +0200 [thread overview]
Message-ID: <20200529214638.GT8737@scaer> (raw)
In-Reply-To: <1590556068-7043-2-git-send-email-stephane.viau@oss.nxp.com>
Stephane, All
On 2020-05-27 07:07 +0200, Stephane Viau spake thusly:
> Only some i.MX8 needs a DDR training firmware (8M, 8MM, 8MN). Some other
> i.MX8 (QuadMax, QuadXPlus) rely on system controller for that task.
>
> Suggested-by: Julien Olivain <julien.olivain@oss.nxp.com>
> Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com>
> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
> ---
> v4:
> - add Gary's reviewed-by
> v3:
> - let the others 'select' this newly introduced option instead of
> 'default y' it. I believe this option is still required since we
> only want to choose a DDR binary for the i.MX 8M platforms. (Yann/Gary)
> v2:
> - introduce BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW to extend the DDR
> firmware selection to the whole i.MX 8M family (suggested by Gary)
>
> Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com>
> ---
> package/freescale-imx/Config.in | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
> index b0c7de8..0be37ce 100644
> --- a/package/freescale-imx/Config.in
> +++ b/package/freescale-imx/Config.in
> @@ -45,12 +45,15 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
>
> config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
> bool "imx8m"
> + select BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
>
> config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
> bool "imx8mm"
> + select BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
>
> config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
> bool "imx8mn"
> + select BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
>
> config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
> bool "imx8x"
> @@ -96,6 +99,9 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
> BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \
> BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
>
> +config BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
> + bool
Now that this variable exists, I've made use of it to drive the actual
insrallation of the DDR trainging files, instead of the concatenation
of the corresponding platforms.
Pelase review the commit to check I haven't totally borked the thing:
https://git.buildroot.org/buildroot/commit/?id=6bb7f3b81092e7005470c7d689a566dbc1d059c6
Thanks.
> source "package/freescale-imx/imx-alsa-plugins/Config.in"
> source "package/freescale-imx/imx-codec/Config.in"
> source "package/freescale-imx/imx-kobs/Config.in"
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2020-05-29 21:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 5:07 [Buildroot] [PATCH v4 0/5] imx: add i.MX8M Nano EVK board support Stephane Viau
2020-05-27 5:07 ` [Buildroot] [PATCH v4 1/5] package/freescale-imx: Add option for DDR FW need Stephane Viau
2020-05-29 21:46 ` Yann E. MORIN [this message]
2020-06-02 7:32 ` Stephane Viau
2020-06-02 20:03 ` Yann E. MORIN
2020-06-03 19:23 ` Stephane Viau
2020-05-27 5:07 ` [Buildroot] [PATCH v4 2/5] package/freescale-imx/firmware-imx: add choice for DDR training binaries Stephane Viau
2020-05-27 8:36 ` Gary Bisson
2020-05-27 5:07 ` [Buildroot] [PATCH v4 3/5] board/freescale/common/imx: use generic ddr_fw.bin name Stephane Viau
2020-05-27 5:07 ` [Buildroot] [PATCH v4 4/5] board/freescale/common/imx: add support for i.MX8M Nano Stephane Viau
2020-05-27 5:07 ` [Buildroot] [PATCH v4 5/5] configs/freescale_imx8mnevk: new defconfig Stephane Viau
2020-05-29 21:41 ` [Buildroot] [PATCH v4 0/5] imx: add i.MX8M Nano EVK board support Yann E. MORIN
2020-06-02 7:31 ` Stephane Viau
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=20200529214638.GT8737@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.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