[PATCH 1/1] board: sifive: unmatched: enlarge CONFIG_SYS_SPL_MALLOC_SIZE

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Fri Oct 1 13:37:45 CEST 2021


Avoid an error like

    Could not get FIT buffer of 1725952 bytes
            check CONFIG_SYS_SPL_MALLOC_SIZE
    No device tree specified in SPL image
    ### ERROR ### Please RESET the board ###

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 include/configs/sifive-unmatched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h
index f8ad2cce1f..8d3deabdd3 100644
--- a/include/configs/sifive-unmatched.h
+++ b/include/configs/sifive-unmatched.h
@@ -18,7 +18,7 @@
 #define CONFIG_SPL_BSS_MAX_SIZE		0x00100000
 #define CONFIG_SYS_SPL_MALLOC_START	(CONFIG_SPL_BSS_START_ADDR + \
 					 CONFIG_SPL_BSS_MAX_SIZE)
-#define CONFIG_SYS_SPL_MALLOC_SIZE	0x00100000
+#define CONFIG_SYS_SPL_MALLOC_SIZE	0x00200000
 
 #define CONFIG_SPL_STACK	(0x08000000 + 0x001D0000 - \
 				 GENERATED_GBL_DATA_SIZE)
-- 
2.32.0



More information about the U-Boot mailing list