Message ID | 20200225081607.13315-1-eugen.hristev@microchip.com |
---|---|
State | Accepted |
Commit | 21cb8749b420c3da8f89d53510cf536d052343ae |
Headers | show |
Series | [1/2] board: sama5d3_xplained: Fix SPL DTB read from NAND | expand |
On 25.02.2020 10:16, Eugen Hristev wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > 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> > --- Applied this and patch 2/2 to u-boot-atmel/master Thanks !
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