AnsweredAssumed Answered

How to change yocto configuration to u-boot from QSPI flash instead of SD card?

Question asked by F B on Apr 5, 2019
Latest reply on Jun 28, 2019 by Bernhard Fink


In yocto Linux, the machine config file <yocto-project-root>/sources/meta-fsl-bsp-release/imx/meta-bsp/conf/machine/imx8mmevk.conf  contains this lines:


UBOOT_CONFIG[sd] = "imx8mm_evk_config,sdcard"
UBOOT_CONFIG[fspi] = "imx8mm_evk_fspi_defconfig"
SPL_BINARY = "spl/u-boot-spl.bin"


# Set imx-mkimage boot target
IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_evk', d)}"




What do I have to change here for booting the u-boot from QSPI?

My silly attempt to change one line to UBOOT_CONFIG ??= "qspi1" leads to compile errors.