[PATCH 1/2] board: sama5d3_xplained: Fix SPL DTB read from NAND
Eugen Hristev
eugen.hristev at microchip.com
Tue Feb 25 09:16:06 CET 2020
From: Fabien Lehoussel <fabien.lehoussel at medianesysteme.com>
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 at medianesysteme.com>
---
configs/sama5d3_xplained_nandflash_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sama5d3_xplained_nandflash_defconfig b/configs/sama5d3_xplained_nandflash_defconfig
index 9ad05f5ffd..bfc639975d 100644
--- a/configs/sama5d3_xplained_nandflash_defconfig
+++ b/configs/sama5d3_xplained_nandflash_defconfig
@@ -24,6 +24,7 @@ CONFIG_BOOTDELAY=3
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
--
2.20.1
More information about the U-Boot
mailing list