public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
To: Andrew Abbott <andrew@mirx.dev>
Cc: "Jagan Teki" <jagan@amarulasolutions.com>,
	"Johan Jonker" <jbx6244@gmail.com>,
	"Simon Glass" <sjg@chromium.org>,
	"Samuel Dionne-Riel" <samuel@dionne-riel.com>,
	"Peter Robinson" <pbrobinson@gmail.com>,
	"Kever Yang" <kever.yang@rock-chips.com>,
	"Philipp Tomsich" <philipp.tomsich@vrull.eu>,
	"Andre Przywara" <andre.przywara@arm.com>,
	"Bharat Gooty" <bharat.gooty@broadcom.com>,
	"Bin Meng" <bmeng.cn@gmail.com>,
	"Fabio Estevam" <festevam@denx.de>,
	"Marek Behún" <marek.behun@nic.cz>,
	"Michal Simek" <michal.simek@amd.com>,
	"Rayagonda Kokatanur" <rayagonda.kokatanur@broadcom.com>,
	"Rick Chen" <rick@andestech.com>,
	"Sean Anderson" <sean.anderson@seco.com>,
	"U-Boot Mailing List" <u-boot@lists.denx.de>
Subject: Re: [RFC PATCH v2 6/8] rockchip: Enable binman for ARM64
Date: Thu, 19 May 2022 14:37:16 +0300	[thread overview]
Message-ID: <ab30da39-e8ae-a868-5399-3b3aeeb8bf59@gmail.com> (raw)
In-Reply-To: <20220516110712.178958-7-andrew@mirx.dev>

On 16/05/2022 14:07, Andrew Abbott wrote:
> Binman is now being used to build the final flashable images for
> Rockchip devices, thus enabling it for all Rockchip targets here. But
> it is not yet being used to generate the FIT image (u-boot.itb),
> thus we need to force it to be built.
> 
> Signed-off-by: Andrew Abbott <andrew@mirx.dev>
> ---
> Question: Will this causes issues with eg. Chromebook gru/bob, which build
> u-boot.itb with binman already?

They don't build u-boot.itb with binman. I don't think there would be a
issue with them, but didn't actually test (will test later as I said).

> (no changes since v1)
> 
>  Kconfig          | 4 ++--
>  arch/arm/Kconfig | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Kconfig b/Kconfig
> index 797038b037..7226986830 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -414,8 +414,8 @@ config BUILD_TARGET
>  	default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5
>  	default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
>  	default "u-boot-elf.srec" if RCAR_GEN3
> -	default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
> -				ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
> +	default "u-boot.itb" if ARCH_ROCKCHIP || (!BINMAN && SPL_LOAD_FIT && \
> +				(ARCH_SUNXI || RISCV || ARCH_ZYNQMP))

I can't see how this part is necessary, can you give a concrete example?

It also makes evb-rk3288, chromebook_jerry, chromebook_speedy,
evb-rk3036 fail to build (maybe more?).

>  	default "u-boot.kwb" if ARCH_KIRKWOOD
>  	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
>  	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 0afec5155b..545bf9a8cc 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1967,7 +1967,7 @@ config ARCH_STM32MP
>  config ARCH_ROCKCHIP
>  	bool "Support Rockchip SoCs"
>  	select BLK
> -	select BINMAN if SPL_OPTEE || (SPL && !ARM64)
> +	select BINMAN if SPL
>  	select DM
>  	select DM_GPIO
>  	select DM_I2C

  reply	other threads:[~2022-05-19 11:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-16 11:07 [RFC PATCH v2 0/8] Build Rockchip final images using binman Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 1/8] binman: mkimage: Support ':'-separated inputs Andrew Abbott
2022-05-19 11:36   ` Alper Nebi Yasak
2022-05-22  0:03     ` Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 2/8] rockchip: Add binman definitions for final images Andrew Abbott
2022-05-19 11:36   ` Alper Nebi Yasak
2022-05-22  0:55     ` Andrew Abbott
2022-05-29 16:31       ` Alper Nebi Yasak
2022-05-16 11:07 ` [RFC PATCH v2 3/8] soc: rockchip: Include common U-Boot dtsi file Andrew Abbott
2022-05-19 11:36   ` Alper Nebi Yasak
2022-05-16 11:07 ` [RFC PATCH v2 4/8] board: rockchip: Move SPI U-Boot offset to config Andrew Abbott
2022-05-19 11:36   ` Alper Nebi Yasak
2022-05-16 11:07 ` [RFC PATCH v2 5/8] rockchip: Remove obsolete Makefile targets Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 6/8] rockchip: Enable binman for ARM64 Andrew Abbott
2022-05-19 11:37   ` Alper Nebi Yasak [this message]
2022-05-22  1:27     ` Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 7/8] doc: rockchip: Update for new binman image generation Andrew Abbott
2022-05-16 11:07 ` [RFC PATCH v2 8/8] board: rockpro64: Enable building SPI image Andrew Abbott
2022-05-16 15:13 ` [RFC PATCH v2 0/8] Build Rockchip final images using binman Jerome Forissier
2022-05-19  9:59   ` Andrew Abbott
2022-05-19 11:35 ` Alper Nebi Yasak
2022-05-21 23:47   ` Andrew Abbott

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=ab30da39-e8ae-a868-5399-3b3aeeb8bf59@gmail.com \
    --to=alpernebiyasak@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=andrew@mirx.dev \
    --cc=bharat.gooty@broadcom.com \
    --cc=bmeng.cn@gmail.com \
    --cc=festevam@denx.de \
    --cc=jagan@amarulasolutions.com \
    --cc=jbx6244@gmail.com \
    --cc=kever.yang@rock-chips.com \
    --cc=marek.behun@nic.cz \
    --cc=michal.simek@amd.com \
    --cc=pbrobinson@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=rick@andestech.com \
    --cc=samuel@dionne-riel.com \
    --cc=sean.anderson@seco.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.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