Re: [RFC PATCH v2 0/8] Build Rockchip final images using binman

Andrew Abbott
2022-05-19T10:00:25Z

Hi Jerome,

On Tue May 17, 2022 at 1:13 AM AEST, Jerome Forissier wrote:

> I use this kind of configuration on ROCKPi 4B (U-Boot with TF-A BL31 and OP-TEE),
> so I could at least run some tests. Please note that I recently sent a patch to
> fix the OP-TEE support in make_fit_atf.py [1]. That would be needed in binman
> too for me to able to test.
>
> [1] https://lists.denx.de/pipermail/u-boot/2022-May/483917.html

Thanks for your offer to test! I'm not actually very familiar with TF-A
and OP-TEE and the role they play, but I haven't changed how they are
generated/included into U-Boot in this patch set - I'm only using binman
to assemble SPL, TPL, and u-boot.itb into a single image, the latter
still being generated using make_fit_atf.py.

So unless I'm misunderstanding, you should be able to set
CONFIG_ROCKCHIP_SPI_IMAGE=y in the ROCKPi 4B defconfig and get a
u-boot-rockchip-spi.bin to be generated that would take your patch into
account as-is.

Thanks,
Andrew