Hi 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 <[email protected]>: > >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 >FORCE >$(call if_changed,binman) >else >u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.itb FORCE >$(call if_changed,cat) >endif >endif > >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. > >Regards, >Simon

