[PATCH v1 30/49] configs: ns3: enable FIT config

Rayagonda Kokatanur rayagonda.kokatanur at broadcom.com
Mon Apr 27 12:51:48 CEST 2020


Enable FIT config for NS3.

Also increase FIT_SIGNATURE_MAX_SIZE to 512MB

When FIT image has initramfs, total fit image size is greater
than 256MB. Increasing the Fit signature max size to 512MB.

Images are loaded at 0x9000_0000 for Image hash validation.
So increasing the FIT signature size to 512MB, the end address
is 0xB000_0000, whihc will not overlap with any binaries.

Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur at broadcom.com>
---
 configs/bcm_ns3_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig
index a72a147179..d6d52d1880 100644
--- a/configs/bcm_ns3_defconfig
+++ b/configs/bcm_ns3_defconfig
@@ -5,6 +5,11 @@ CONFIG_SYS_TEXT_BASE=0xFF000000
 CONFIG_ENV_SIZE=0x80000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_OF_BOARD_SETUP=y
+CONFIG_FIT=y
+CONFIG_FIT_SIGNATURE=y
+CONFIG_FIT_SIGNATURE_MAX_SIZE=0x20000000
+CONFIG_FIT_VERBOSE=y
+CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_LOGLEVEL=7
 CONFIG_SILENT_CONSOLE=y
 CONFIG_SILENT_U_BOOT_ONLY=y
-- 
2.17.1



More information about the U-Boot mailing list