Multi DTB selection in SPL FIT image

Vanessa Ayumi Maegima van.ayumi at gmail.com
Tue Jun 23 23:36:40 CEST 2020


Hi,

I'm trying to implement multi DTB selection via SPL FIT image in iMX8QXP MEK and
it is not working. I have the DTB selection code in board_fit_config_name_match
but it doesn't even get to this call, if fails on fit_find_config_node:
fit_find_config_node: Cannot find /configurations node: -1

Everything seems fine with the generated u-boot-spl.multidtb.fit file but the
code cannot find the configurations node. I've also tried LZO and GZIP
compression and the results were the same. Final SPL image size is small enough
so it won't overwrite BSS.

Changes in imx8qxp_mek_defconfig:
CONFIG_FIT=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_MULTI_DTB_FIT=y
CONFIG_SPL_OF_LIST="fsl-imx8qxp-mek fsl-imx8qxp-mek-1"
CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y

Are there any suggestions on what can be happening here?

Thanks!
Vanessa


More information about the U-Boot mailing list