SPL boot cannot find dtb if CONFIG_SPL_SEPARATE_BSS is disabled :
CONFIG_SPL_SEPARATE_BSS=n
RomBOOT
<debug_uart> Missing DTB
### ERROR ### Please RESET the board ###
RomBOOT
CONFIG_SPL_SEPARATE_BSS=y
RomBOOT
<debug_uart>
U-Boot SPL 2019.04-linux4sam_6.2-icp-dirty (Feb 24 2020 - 15:34:35 +0100)
Trying to boot from NAND
<debug_uart>
Signed-off-by: Fabien Lehoussel <fabien.lehoussel@medianesysteme.com>
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256K(env_redundant),256k(env),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs"
# CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SPL_NAND_SUPPORT=y
CONFIG_HUSH_PARSER=y
CONFIG_CMD_BOOTZ=y