[BUG] binman: Add a library to access binman entries

Frank Wunderlich frank-w at public-files.de
Wed Feb 12 19:02:01 CET 2020


Why not just disable binman_fdt (or not default y)? Your way sounds more complex. As i do not understand it and see no benefit for this board, i would leave it disabled. This leave time for a thoughtful solution
Maybe mtk knows a better way...

Sunxi sounds wrong because board is not with allwinner soc. Maybe a more generic name as target for boards not yet supported by binman_fdt?

Regards Frank

Am 12. Februar 2020 18:14:29 MEZ schrieb Simon Glass <sjg at chromium.org>:
>This code in the Makefile should do the same thing for ARM64 and 32:
>ifneq ($(CONFIG_ARCH_SUNXI),)
>ifeq ($(CONFIG_ARM64),)
>u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img u-boot.dtb
>$(call if_changed,binman)
>u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.itb FORCE
>$(call if_changed,cat)
>To make this work I think you'll need to add a new 'sunxi-itb' entry
>type into binman as a first step. That is ugly but it will work.
>Then mksunxi_fit_atf.sh should move into binman, with 'sunxi-itb'
>becoming a new method that generates the .its from source. I can help
>with that bit.

More information about the U-Boot mailing list