[PATCH v2 43/49] rockchip: Convert evb-rk3288 over to use binman

Simon Glass sjg at chromium.org
Fri Jul 10 02:35:28 CEST 2020


Hi Kever,

On Tue, 7 Jul 2020 at 05:57, Kever Yang <kever.yang at rock-chips.com> wrote:
>
> Hi Simon,
>
>      Thanks for this patch.
>
> On 2020/6/14 上午10:57, Simon Glass wrote:
> > At present this board uses a custom script to produce the .its file.
> > Update it to use binman instead. Binman can create all the images that
> > are needed.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > (no changes since v1)
> >
> >   Kconfig                         |  2 +-
> >   arch/arm/dts/rk322x-u-boot.dtsi | 72 +++++++++++++++++++++++++++++++++
> >   arch/arm/dts/rk322x.dtsi        |  1 +
> >   arch/arm/dts/rk3288-u-boot.dtsi |  1 +
> >   configs/evb-rk3288_defconfig    |  2 +-
> >   5 files changed, 76 insertions(+), 2 deletions(-)
> >   create mode 100644 arch/arm/dts/rk322x-u-boot.dtsi
> >
> > diff --git a/Kconfig b/Kconfig
> > index a548de43fb..6e874709a6 100644
> > --- a/Kconfig
> > +++ b/Kconfig
> > @@ -285,7 +285,7 @@ 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 SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
> > +     default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
> >                               ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
> >       default "u-boot.kwb" if ARCH_KIRKWOOD
> >       default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
> > diff --git a/arch/arm/dts/rk322x-u-boot.dtsi b/arch/arm/dts/rk322x-u-boot.dtsi
> > new file mode 100644
> > index 0000000000..5a18816d5e
> > --- /dev/null
> > +++ b/arch/arm/dts/rk322x-u-boot.dtsi
>
> This suppose to be available for all 32bit soc on rockchip who want to
> support optee, maybe we
>
> can use a more readable name for this and used for different SoCs?

OK. So maybe rockchip-optee.dtsi?

Regards,
Simon


More information about the U-Boot mailing list