From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com>,
sbabic@denx.de, festevam@gmail.com,
ariel.dalessandro@collabora.com, michael@amarulasolutions.com,
tharvey@gateworks.com, sjg@chromium.org, marek.behun@nic.cz,
pali@kernel.org, sr@denx.de, ricardo@foundries.io,
patrick.delaunay@foss.st.com, trini@konsulko.com,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Subject: Re: [PATCH V4 2/8] arm: dts: imx8m: update binman ddr firmware node name
Date: Sun, 22 May 2022 16:56:37 +0300 [thread overview]
Message-ID: <a894c215-91cd-233b-7d04-7c345d21f513@gmail.com> (raw)
In-Reply-To: <20220520141048.20034-3-peng.fan@oss.nxp.com>
On 20/05/2022 17:10, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> We are migrating to use BINMAN SYMBOLS, the current name is not
> a valid binman type, so update to use blob-ext@[1,2,3,4].
>
> Tested-by: Tim Harvey <tharvey@gateworks.com> #imx8m[m,n,p]-venice
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm/dts/imx8mm-u-boot.dtsi | 8 ++++----
> arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 4 ++--
> arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi | 8 ++++----
> arch/arm/dts/imx8mn-venice-u-boot.dtsi | 8 ++++----
> arch/arm/dts/imx8mq-u-boot.dtsi | 8 ++++----
> 5 files changed, 18 insertions(+), 18 deletions(-)
I think descriptive entry names are better in general, so I prefer the
old names to a bunch of 'blob-ext's. Symbol resolution is done using the
entry names anyway, I don't see why this change would be necessary.
In any case, the names and labels should be consistent across the
different dts files, assuming the blobs have the same purpose / meaning.
I see that labels starting with digits cause a dtc parse error, so the
entries could be `imem_1d: imem-1d { ... };` and so on.
Also, the blobs essentially look the same to me aside from their
filenames, just duplicated over different imx8m* variants and boards.
Maybe binman parts could be unified into a single dtsi file later on?
(Filename differences can be handled by new 'blob_named_by_arg's btw.)
> diff --git a/arch/arm/dts/imx8mm-u-boot.dtsi b/arch/arm/dts/imx8mm-u-boot.dtsi
> index 9f66cdb65a9..5de55a2d80b 100644
> --- a/arch/arm/dts/imx8mm-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mm-u-boot.dtsi
> @@ -39,25 +39,25 @@
> filename = "u-boot-spl.bin";
> };
>
> - 1d-imem {
> + imem_1d: blob-ext@1 {
> filename = "lpddr4_pmu_train_1d_imem.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 1d-dmem {
> + dmem_1d: blob-ext@2 {
> filename = "lpddr4_pmu_train_1d_dmem.bin";
> size = <0x4000>;
> type = "blob-ext";
> };
>
> - 2d-imem {
> + imem_2d: blob-ext@3 {
> filename = "lpddr4_pmu_train_2d_imem.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 2d-dmem {
> + dmem_2d: blob-ext@4 {
> filename = "lpddr4_pmu_train_2d_dmem.bin";
> size = <0x4000>;
> type = "blob-ext";
> diff --git a/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi b/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi
> index 46a9d7fd78b..5a52b73d7e9 100644
> --- a/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi
> +++ b/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi
> @@ -111,13 +111,13 @@
> filename = "u-boot-spl.bin";
> };
>
> - 1d-imem {
> + imem_1d: blob-ext@1 {
> filename = "ddr3_imem_1d.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 1d_dmem {
> + dmem_1d: blob-ext@2 {
> filename = "ddr3_dmem_1d.bin";
> size = <0x4000>;
> type = "blob-ext";
> diff --git a/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi b/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi
> index 6e37622cca7..001e725f568 100644
> --- a/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi
> @@ -130,25 +130,25 @@
> filename = "u-boot-spl.bin";
> };
>
> - 1d-imem {
> + blob_1: blob-ext@1 {
> filename = "ddr4_imem_1d.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 1d_dmem {
> + blob_2: blob-ext@2 {
> filename = "ddr4_dmem_1d.bin";
> size = <0x4000>;
> type = "blob-ext";
> };
>
> - 2d_imem {
> + blob_3: blob-ext@3 {
> filename = "ddr4_imem_2d.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 2d_dmem {
> + blob_4: blob-ext@4 {
> filename = "ddr4_dmem_2d.bin";
> size = <0x4000>;
> type = "blob-ext";
> diff --git a/arch/arm/dts/imx8mn-venice-u-boot.dtsi b/arch/arm/dts/imx8mn-venice-u-boot.dtsi
> index 35819553879..67922146963 100644
> --- a/arch/arm/dts/imx8mn-venice-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mn-venice-u-boot.dtsi
> @@ -126,25 +126,25 @@
> filename = "u-boot-spl.bin";
> };
>
> - 1d-imem {
> + imem_1d: blob-ext@1 {
> filename = "lpddr4_pmu_train_1d_imem.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 1d_dmem {
> + dmem_1d: blob-ext@2 {
> filename = "lpddr4_pmu_train_1d_dmem.bin";
> size = <0x4000>;
> type = "blob-ext";
> };
>
> - 2d_imem {
> + imem_2d: blob-ext@3 {
> filename = "lpddr4_pmu_train_2d_imem.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 2d_dmem {
> + dmem_2d: blob-ext@4 {
> filename = "lpddr4_pmu_train_2d_dmem.bin";
> size = <0x4000>;
> type = "blob-ext";
> diff --git a/arch/arm/dts/imx8mq-u-boot.dtsi b/arch/arm/dts/imx8mq-u-boot.dtsi
> index 912a3d4a356..389414ad26f 100644
> --- a/arch/arm/dts/imx8mq-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mq-u-boot.dtsi
> @@ -46,25 +46,25 @@
> filename = "u-boot-spl.bin";
> };
>
> - 1d-imem {
> + imem_1d: blob-ext@1 {
> filename = "lpddr4_pmu_train_1d_imem.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 1d-dmem {
> + dmem_1d: blob-ext@2 {
> filename = "lpddr4_pmu_train_1d_dmem.bin";
> size = <0x4000>;
> type = "blob-ext";
> };
>
> - 2d-imem {
> + imem_2d: blob-ext@3 {
> filename = "lpddr4_pmu_train_2d_imem.bin";
> size = <0x8000>;
> type = "blob-ext";
> };
>
> - 2d-dmem {
> + dmem_2d: blob-ext@4 {
> filename = "lpddr4_pmu_train_2d_dmem.bin";
> size = <0x4000>;
> type = "blob-ext";
next prev parent reply other threads:[~2022-05-22 13:59 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 14:10 [PATCH V4 0/8] arm64: binman: use binman symbols for imx Peng Fan (OSS)
2022-05-20 14:10 ` [PATCH V4 1/8] spl: guard u_boot_any with X86 Peng Fan (OSS)
2022-05-20 15:21 ` Tom Rini
2022-05-21 8:33 ` Peng Fan
2022-05-21 12:05 ` Tom Rini
2022-05-22 13:56 ` Alper Nebi Yasak
2022-05-22 14:50 ` Tom Rini
2022-05-23 21:10 ` Alper Nebi Yasak
2022-05-23 6:19 ` Peng Fan (OSS)
2022-05-23 6:28 ` Peng Fan (OSS)
2022-05-23 14:10 ` Tom Rini
2022-05-23 21:10 ` Alper Nebi Yasak
2022-05-22 13:55 ` Alper Nebi Yasak
2022-05-20 14:10 ` [PATCH V4 2/8] arm: dts: imx8m: update binman ddr firmware node name Peng Fan (OSS)
2022-05-22 13:56 ` Alper Nebi Yasak [this message]
2022-05-23 7:01 ` Peng Fan (OSS)
2022-05-23 21:11 ` Alper Nebi Yasak
2022-05-20 14:10 ` [PATCH V4 3/8] imx: imx8mm-icore: migrate to use BINMAN Peng Fan (OSS)
2022-05-22 13:56 ` Alper Nebi Yasak
2022-05-23 7:02 ` Peng Fan (OSS)
2022-05-20 14:10 ` [PATCH V4 4/8] armv8: u-boot-spl.lds: mark __image_copy_start as symbol Peng Fan (OSS)
2022-05-20 15:21 ` Tom Rini
2022-05-20 14:10 ` [PATCH V4 5/8] tools: binman: section: replace @ with - Peng Fan (OSS)
2022-05-22 13:57 ` Alper Nebi Yasak
2022-05-23 7:05 ` Peng Fan (OSS)
2022-05-20 14:10 ` [PATCH V4 6/8] ddr: imx8m: helper: load ddr firmware according to binman symbols Peng Fan (OSS)
2022-05-22 13:57 ` Alper Nebi Yasak
2022-05-23 7:08 ` Peng Fan (OSS)
2022-05-20 14:10 ` [PATCH V4 7/8] arm: dts: imx8m: shrink ddr firmware size to actual file size Peng Fan (OSS)
2022-05-23 21:12 ` Alper Nebi Yasak
2022-05-24 5:50 ` Michael Nazzareno Trimarchi
2022-05-20 14:10 ` [PATCH V4 8/8] binman_sym: guard with CONFIG_SPL_BINMAN_SYMBOLS Peng Fan (OSS)
2022-05-22 13:57 ` Alper Nebi Yasak
2022-05-23 7:10 ` Peng Fan (OSS)
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=a894c215-91cd-233b-7d04-7c345d21f513@gmail.com \
--to=alpernebiyasak@gmail.com \
--cc=ariel.dalessandro@collabora.com \
--cc=festevam@gmail.com \
--cc=marek.behun@nic.cz \
--cc=michael@amarulasolutions.com \
--cc=pali@kernel.org \
--cc=patrick.delaunay@foss.st.com \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=ricardo@foundries.io \
--cc=sbabic@denx.de \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=tharvey@gateworks.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@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