
Hello,
Miquel Raynal miquel.raynal@bootlin.com wrote on Sun, 9 Dec 2018 19:07:34 +0100:
MTD and NOR flash support must be enabled when the environment is in NOR.
Signed-off-by: Miquel Raynal miquel.raynal@bootlin.com
configs/armadillo-800eva_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig index b1d923c069..72758884b4 100644 --- a/configs/armadillo-800eva_defconfig +++ b/configs/armadillo-800eva_defconfig @@ -32,6 +32,8 @@ CONFIG_CMD_PING=y # CONFIG_CMD_MISC is not set CONFIG_ENV_IS_IN_FLASH=y # CONFIG_MMC is not set +CONFIG_MTD=y +CONFIG_MTD_NOR_FLASH=y CONFIG_SH_ETHER=y CONFIG_SCIF_CONSOLE=y CONFIG_OF_LIBFDT=y
This change triggered a build failure. This is because, despite declaring an in-flash environment, there was absolutely no MTD driver compiled-in. No driver named after 'flash' or 'nor' or 'mtd' was compiled.
The fix for this issue (the only one reported by Travis for this version of the series) is to just drop this patch. As it has absolutely no dependency and only impacts a single defconfig, I would rather prefer not re-send 24 identical patches in a v5 unless there are comments that I must address.
Travis build for the same series without this patch is there: https://travis-ci.org/miquelraynal/u-boot/builds/466033792
Thanks, Miquèl