All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: Heiko Thiery <heiko.thiery@gmail.com>
Cc: "sbabic@denx.de" <sbabic@denx.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	dl-uboot-imx <uboot-imx@nxp.com>, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH V3 4/5] imx: imx8mq use common imximage.cfg
Date: Mon, 22 Nov 2021 16:56:45 +0800	[thread overview]
Message-ID: <f66bbd5f-283f-95e2-a27e-d0cb25a7e237@oss.nxp.com> (raw)
In-Reply-To: <CAEyMn7ac6MQ+HSObQY3f6Ns78HLYpOF4R_gKM=pQ95aCOioUWQ@mail.gmail.com>



On 2021/11/12 1:21, Heiko Thiery wrote:
> Hi Peng,
> 
> Am Fr., 22. Okt. 2021 um 04:08 Uhr schrieb Peng Fan (OSS)
> <peng.fan@oss.nxp.com>:
>>
>> From: Peng Fan <peng.fan@nxp.com>
>>
>> After all these board switch to binman, we could use common imximage.cfg
>>
>> Signed-off-by: Peng Fan <peng.fan@nxp.com>
>> ---
>>   arch/arm/mach-imx/imx8m/imximage.cfg      | 12 +++---------
>>   board/freescale/imx8mq_evk/Kconfig        |  2 +-
>>   board/freescale/imx8mq_evk/imximage.cfg   | 11 -----------
>>   board/google/imx8mq_phanbell/Kconfig      |  2 +-
>>   board/google/imx8mq_phanbell/imximage.cfg | 11 -----------
>>   board/technexion/pico-imx8mq/Kconfig      |  2 +-
>>   board/technexion/pico-imx8mq/imximage.cfg | 11 -----------
>>   7 files changed, 6 insertions(+), 45 deletions(-)
>>   delete mode 100644 board/freescale/imx8mq_evk/imximage.cfg
>>   delete mode 100644 board/google/imx8mq_phanbell/imximage.cfg
>>   delete mode 100644 board/technexion/pico-imx8mq/imximage.cfg
>>
>> diff --git a/arch/arm/mach-imx/imx8m/imximage.cfg b/arch/arm/mach-imx/imx8m/imximage.cfg
>> index 714b24273b..9c6eaf0a6d 100644
>> --- a/arch/arm/mach-imx/imx8m/imximage.cfg
>> +++ b/arch/arm/mach-imx/imx8m/imximage.cfg
>> @@ -1,17 +1,11 @@
>>   /* SPDX-License-Identifier: GPL-2.0+ */
>>   /*
>> - * Copyright 2018 NXP
>> + * Copyright 2018-2021 NXP
>>    */
>>
>>   #define __ASSEMBLY__
>>
>>   FIT
>>   BOOT_FROM      sd
>> -SIGNED_HDMI    signed_hdmi_imx8m.bin
>> -LOADER         spl/u-boot-spl-ddr.bin  0x7E1000
>> -SECOND_LOADER  u-boot.itb              0x40200000 0x60000
>> -
>> -DDR_FW lpddr4_pmu_train_1d_imem.bin
>> -DDR_FW lpddr4_pmu_train_1d_dmem.bin
>> -DDR_FW lpddr4_pmu_train_2d_imem.bin
>> -DDR_FW lpddr4_pmu_train_2d_dmem.bin
>> +SIGNED_HDMI    signed_hdmi.bin
>> +LOADER         mkimage.flash.mkimage   0x7e1000
> 
> This file is only a temporarily created file by binman. You should use
> the output file .. here it should be flash.bin.
> 
> But as Patrick already pointed out, we should create the final
> flash.bin like before. I also have a patch for adding a new im8mq
> board pending that has this already implemented.[1].

Thanks, I'll check and rework the patchset.

Thanks,
Peng.

> 
> [1] https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fproject%2Fuboot%2Fpatch%2F20211014180824.10681-2-heiko.thiery%40gmail.com%2F&amp;data=04%7C01%7Cpeng.fan%40nxp.com%7C080150fe94714852252808d9a537b028%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637722480863078675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Yqxm1zT0476ZVGrAMgBzKAUevZRAO2fI4LC5b3C6%2BMg%3D&amp;reserved=0
> 
>> diff --git a/board/freescale/imx8mq_evk/Kconfig b/board/freescale/imx8mq_evk/Kconfig
>> index a7c49744b3..c4d20ad7c7 100644
>> --- a/board/freescale/imx8mq_evk/Kconfig
>> +++ b/board/freescale/imx8mq_evk/Kconfig
>> @@ -10,6 +10,6 @@ config SYS_CONFIG_NAME
>>          default "imx8mq_evk"
>>
>>   config IMX_CONFIG
>> -       default "board/freescale/imx8mq_evk/imximage.cfg"
>> +       default "arch/arm/mach-imx/imx8m/imximage.cfg"
>>
>>   endif
>> diff --git a/board/freescale/imx8mq_evk/imximage.cfg b/board/freescale/imx8mq_evk/imximage.cfg
>> deleted file mode 100644
>> index 74f12b30d2..0000000000
>> --- a/board/freescale/imx8mq_evk/imximage.cfg
>> +++ /dev/null
>> @@ -1,11 +0,0 @@
>> -/* SPDX-License-Identifier: GPL-2.0+ */
>> -/*
>> - * Copyright 2021 NXP
>> - */
>> -
>> -#define __ASSEMBLY__
>> -
>> -FIT
>> -BOOT_FROM      sd
>> -SIGNED_HDMI    signed_hdmi.bin
>> -LOADER         mkimage.flash.mkimage   0x7e1000
>> diff --git a/board/google/imx8mq_phanbell/Kconfig b/board/google/imx8mq_phanbell/Kconfig
>> index e59b03cb17..54cfb99952 100644
>> --- a/board/google/imx8mq_phanbell/Kconfig
>> +++ b/board/google/imx8mq_phanbell/Kconfig
>> @@ -10,6 +10,6 @@ config SYS_CONFIG_NAME
>>          default "imx8mq_phanbell"
>>
>>   config IMX_CONFIG
>> -       default "board/google/imx8mq_phanbell/imximage.cfg"
>> +       default "arch/arm/mach-imx/imx8m/imximage.cfg"
>>
>>   endif
>> diff --git a/board/google/imx8mq_phanbell/imximage.cfg b/board/google/imx8mq_phanbell/imximage.cfg
>> deleted file mode 100644
>> index 74f12b30d2..0000000000
>> --- a/board/google/imx8mq_phanbell/imximage.cfg
>> +++ /dev/null
>> @@ -1,11 +0,0 @@
>> -/* SPDX-License-Identifier: GPL-2.0+ */
>> -/*
>> - * Copyright 2021 NXP
>> - */
>> -
>> -#define __ASSEMBLY__
>> -
>> -FIT
>> -BOOT_FROM      sd
>> -SIGNED_HDMI    signed_hdmi.bin
>> -LOADER         mkimage.flash.mkimage   0x7e1000
>> diff --git a/board/technexion/pico-imx8mq/Kconfig b/board/technexion/pico-imx8mq/Kconfig
>> index 97655517d8..628b051149 100644
>> --- a/board/technexion/pico-imx8mq/Kconfig
>> +++ b/board/technexion/pico-imx8mq/Kconfig
>> @@ -10,6 +10,6 @@ config SYS_CONFIG_NAME
>>          default "pico-imx8mq"
>>
>>   config IMX_CONFIG
>> -       default "board/technexion/pico-imx8mq/imximage.cfg"
>> +       default "arch/arm/mach-imx/imx8m/imximage.cfg"
>>
>>   endif
>> diff --git a/board/technexion/pico-imx8mq/imximage.cfg b/board/technexion/pico-imx8mq/imximage.cfg
>> deleted file mode 100644
>> index 74f12b30d2..0000000000
>> --- a/board/technexion/pico-imx8mq/imximage.cfg
>> +++ /dev/null
>> @@ -1,11 +0,0 @@
>> -/* SPDX-License-Identifier: GPL-2.0+ */
>> -/*
>> - * Copyright 2021 NXP
>> - */
>> -
>> -#define __ASSEMBLY__
>> -
>> -FIT
>> -BOOT_FROM      sd
>> -SIGNED_HDMI    signed_hdmi.bin
>> -LOADER         mkimage.flash.mkimage   0x7e1000
>> --
>> 2.30.0
>>

  reply	other threads:[~2021-11-22  8:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22  2:42 [PATCH V3 0/5] imx8mq: switch to binman Peng Fan (OSS)
2021-10-22  2:42 ` [PATCH V3 1/5] imx: imx8mq_evk: " Peng Fan (OSS)
2021-11-11 14:41   ` Patrick Wildt
2021-11-22  8:58     ` Peng Fan (OSS)
2021-11-11 17:24   ` Heiko Thiery
2021-11-22  8:59     ` Peng Fan (OSS)
2022-01-08  2:08   ` Tom Rini
2021-10-22  2:42 ` [PATCH V3 2/5] imx: imx8mq_phanbell: " Peng Fan (OSS)
2021-11-11 14:45   ` Patrick Wildt
2022-01-08  2:08   ` Tom Rini
2021-10-22  2:42 ` [PATCH V3 3/5] imx: pico-imx8mq: switch to use binman Peng Fan (OSS)
2021-11-11 14:46   ` Patrick Wildt
2022-01-08  2:08   ` Tom Rini
2021-10-22  2:42 ` [PATCH V3 4/5] imx: imx8mq use common imximage.cfg Peng Fan (OSS)
2021-11-11 14:46   ` Patrick Wildt
2021-11-11 17:21   ` Heiko Thiery
2021-11-22  8:56     ` Peng Fan (OSS) [this message]
2022-01-08  2:08   ` Tom Rini
2021-10-22  2:42 ` [PATCH V3 5/5] doc: imx8mq_evk: update doc after using binman Peng Fan (OSS)
2021-11-11 14:47   ` Patrick Wildt
2022-01-08  2:08   ` Tom Rini

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=f66bbd5f-283f-95e2-a27e-d0cb25a7e237@oss.nxp.com \
    --to=peng.fan@oss.nxp.com \
    --cc=festevam@gmail.com \
    --cc=heiko.thiery@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.